summary refs log tree commit diff
path: root/pkgs/development/python-modules/pathos/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pathos/default.nix')
-rw-r--r--pkgs/development/python-modules/pathos/default.nix31
1 files changed, 23 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pathos/default.nix b/pkgs/development/python-modules/pathos/default.nix
index fd6bd238d1e..144d5aad60c 100644
--- a/pkgs/development/python-modules/pathos/default.nix
+++ b/pkgs/development/python-modules/pathos/default.nix
@@ -1,30 +1,45 @@
 { lib
 , buildPythonPackage
-, fetchPypi
+, fetchFromGitHub
 , dill
 , pox
 , ppft
 , multiprocess
+, pythonOlder
 }:
 
 buildPythonPackage rec {
   pname = "pathos";
-  version = "0.2.5";
+  version = "0.2.8";
+  format = "setuptools";
 
-  src = fetchPypi {
-    inherit pname version;
-    sha256 = "21ae2cb1d5a76dcf57d5fe93ae8719c7339f467e246163650c08ccf35b87c846";
+  disabled = pythonOlder "3.7";
+
+  src = fetchFromGitHub {
+    owner = "uqfoundation";
+    repo = pname;
+    rev = "${pname}-${version}";
+    sha256 = "sha256-71hMaG+3FbWMtGqwcDOZ8uit0DsHEoc9H2GXfX7TeoM=";
   };
 
-  propagatedBuildInputs = [ dill pox ppft multiprocess ];
+  propagatedBuildInputs = [
+    dill
+    pox
+    ppft
+    multiprocess
+  ];
 
   # Require network
   doCheck = false;
 
+  pythonImportsCheck = [
+    "pathos"
+  ];
+
   meta = with lib; {
     description = "Parallel graph management and execution in heterogeneous computing";
-    homepage = "https://github.com/uqfoundation/pathos/";
+    homepage = "https://pathos.readthedocs.io/";
     license = licenses.bsd3;
+    maintainers = with maintainers; [ ];
   };
-
 }