From d7e8e2f9fc9cd13a4b87cf749fb59d62bfffbc3f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 20 May 2022 14:57:19 +0200 Subject: [PATCH] python310Packages.pathos: 0.2.5 -> 0.2.8 --- .../python-modules/pathos/default.nix | 31 ++++++++++++++----- 1 file 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; [ ]; }; - }