2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-26 02:50:06 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-01-21 20:15:03 +00:00
|
|
|
, python
|
2018-10-26 02:50:06 +01:00
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ppft";
|
2019-10-16 10:43:12 +01:00
|
|
|
version = "1.6.6.1";
|
2018-10-26 02:50:06 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:12 +01:00
|
|
|
sha256 = "9e2173042edd5cc9c7bee0d7731873f17fcdce0e42e4b7ab68857d0de7b631fc";
|
2018-10-26 02:50:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2020-01-21 20:15:03 +00:00
|
|
|
# darwin seems to hang
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
checkPhase = ''
|
|
|
|
cd examples
|
|
|
|
${python.interpreter} -m ppft.tests
|
|
|
|
'';
|
2019-12-24 09:28:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-26 02:50:06 +01:00
|
|
|
description = "Distributed and parallel python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/uqfoundation";
|
2018-10-26 02:50:06 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|