nixpkgs/pkgs/development/python-modules/ppft/default.nix

33 lines
600 B
Nix
Raw Normal View History

{ lib, stdenv
, buildPythonPackage
, fetchPypi
2020-01-21 20:15:03 +00:00
, python
, six
}:
buildPythonPackage rec {
pname = "ppft";
2019-10-16 09:43:12 +00:00
version = "1.6.6.1";
src = fetchPypi {
inherit pname version;
2019-10-16 09:43:12 +00:00
sha256 = "9e2173042edd5cc9c7bee0d7731873f17fcdce0e42e4b7ab68857d0de7b631fc";
};
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
'';
meta = with lib; {
description = "Distributed and parallel python";
homepage = "https://github.com/uqfoundation";
license = licenses.bsd3;
};
}