1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/build-managers/doit/default.nix

42 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, python3Packages }:
let
name = "doit";
2019-12-23 10:33:40 +00:00
version = "0.32.0";
in python3Packages.buildPythonApplication {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://pypi/d/${name}/${name}-${version}.tar.gz";
2019-12-23 10:33:40 +00:00
sha256 = "033m6y9763l81kgqd07rm62bngv3dsm3k9p28nwsn2qawl8h8g9j";
};
buildInputs = with python3Packages; [ mock pytest ];
2019-04-23 10:21:00 +01:00
propagatedBuildInputs = with python3Packages; [ cloudpickle ]
++ stdenv.lib.optional stdenv.isLinux pyinotify
++ stdenv.lib.optional stdenv.isDarwin macfsevents;
# Tests fail due to mysterious gdbm.open() resource temporarily
# unavailable errors.
doCheck = false;
checkPhase = "py.test";
2018-07-16 21:17:38 +01:00
meta = with stdenv.lib; {
2019-07-10 20:52:51 +01:00
homepage = https://pydoit.org/;
description = "A task management & automation tool";
2018-07-16 21:17:38 +01:00
license = licenses.mit;
longDescription = ''
doit is a modern open-source build-tool written in python
designed to be simple to use and flexible to deal with complex
work-flows. It is specially suitable for building and managing
custom work-flows where there is no out-of-the-box solution
available.
'';
2018-07-16 21:17:38 +01:00
maintainers = with maintainers; [ pSub ];
platforms = platforms.all;
};
}