about summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2017-05-01 13:29:18 +0200
committerGitHub <noreply@github.com>2017-05-01 13:29:18 +0200
commitd8b2641b58273bcf62d465a202ba538ad5e7b162 (patch)
treeae6c29cae7cc3a6dcaa5071370b536be9e3d62dc /pkgs/development/tools/build-managers
parent8295ecfa7989939cbedb8d19dae1c6f28c06dfaa (diff)
parent70a5b53a2713341e20bf33319f736ebfaf57a19d (diff)
downloadnixlib-d8b2641b58273bcf62d465a202ba538ad5e7b162.tar
nixlib-d8b2641b58273bcf62d465a202ba538ad5e7b162.tar.gz
nixlib-d8b2641b58273bcf62d465a202ba538ad5e7b162.tar.bz2
nixlib-d8b2641b58273bcf62d465a202ba538ad5e7b162.tar.lz
nixlib-d8b2641b58273bcf62d465a202ba538ad5e7b162.tar.xz
nixlib-d8b2641b58273bcf62d465a202ba538ad5e7b162.tar.zst
nixlib-d8b2641b58273bcf62d465a202ba538ad5e7b162.zip
Merge pull request #25029 from wizeman/u/new-doit
doit: init at 0.30.3
Diffstat (limited to 'pkgs/development/tools/build-managers')
-rw-r--r--pkgs/development/tools/build-managers/doit/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/doit/default.nix b/pkgs/development/tools/build-managers/doit/default.nix
new file mode 100644
index 000000000000..61f6a402cab7
--- /dev/null
+++ b/pkgs/development/tools/build-managers/doit/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchurl, python3Packages }:
+
+let
+
+  name = "doit";
+  version = "0.30.3";
+
+in python3Packages.buildPythonApplication {
+  name = "${name}-${version}";
+
+  src = fetchurl {
+    url = "mirror://pypi/d/${name}/${name}-${version}.tar.gz";
+    sha256 = "1fcsslc3mc4bszq5xdqbxv37720s1s31d6pbfwc2iyxk1x2wi219";
+  };
+
+  buildInputs = with python3Packages; [ mock pytest ];
+
+  propagatedBuildInputs = with python3Packages; [ cloudpickle pyinotify ];
+
+  # Tests fail due to mysterious gdbm.open() resource temporarily
+  # unavailable errors.
+  doCheck = false;
+  checkPhase = "py.test";
+
+  meta = {
+    homepage = "http://pydoit.org/";
+    description = "A task management & automation tool";
+    license = stdenv.lib.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.
+    '';
+    platforms = stdenv.lib.platforms.all;
+  };
+}