about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/jug/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/jug/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/jug/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/jug/default.nix b/nixpkgs/pkgs/development/python-modules/jug/default.nix
new file mode 100644
index 000000000000..eff6accaa024
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/jug/default.nix
@@ -0,0 +1,34 @@
+{ lib, stdenv, buildPythonPackage, fetchPypi, fetchpatch
+, nose, numpy
+, bottle, pyyaml, redis, six
+, zlib
+, pytestCheckHook }:
+
+buildPythonPackage rec {
+  pname = "Jug";
+  version = "2.0.3";
+  buildInputs = [ nose numpy ];
+  propagatedBuildInputs = [
+    bottle
+    pyyaml
+    redis
+    six
+
+    zlib
+  ];
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "3656355c1f9cd1731065c9d589f66d33653cbe5e0879cbe5d8447b51e4ddb4ec";
+  };
+
+  checkInputs = [ pytestCheckHook ];
+  pythonImportsCheck = [ "jug" ];
+
+  meta = with lib; {
+    description = "A Task-Based Parallelization Framework";
+    license = licenses.mit;
+    homepage = "https://jug.readthedocs.io/";
+    maintainers = with maintainers; [ luispedro ];
+  };
+}