|
|
|
@ -1,20 +1,27 @@ |
|
|
|
|
{ lib, stdenv |
|
|
|
|
{ lib |
|
|
|
|
, stdenv |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, fetchPypi |
|
|
|
|
, python |
|
|
|
|
, pythonOlder |
|
|
|
|
, six |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "ppft"; |
|
|
|
|
version = "1.6.6.1"; |
|
|
|
|
version = "1.7.6.5"; |
|
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7"; |
|
|
|
|
|
|
|
|
|
src = fetchPypi { |
|
|
|
|
inherit pname version; |
|
|
|
|
sha256 = "9e2173042edd5cc9c7bee0d7731873f17fcdce0e42e4b7ab68857d0de7b631fc"; |
|
|
|
|
sha256 = "sha256-R+DauHpRbAuZks1bDJCDSOTH2WQwTRBrIn+tKK4DIZ4="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ]; |
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
six |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
# darwin seems to hang |
|
|
|
|
doCheck = !stdenv.isDarwin; |
|
|
|
@ -23,10 +30,14 @@ buildPythonPackage rec { |
|
|
|
|
${python.interpreter} -m ppft.tests |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ |
|
|
|
|
"ppft" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Distributed and parallel python"; |
|
|
|
|
homepage = "https://github.com/uqfoundation"; |
|
|
|
|
description = "Distributed and parallel Python"; |
|
|
|
|
homepage = "https://ppft.readthedocs.io/"; |
|
|
|
|
license = licenses.bsd3; |
|
|
|
|
maintainers = with maintainers; [ ]; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|