depot/third_party/nixpkgs/pkgs/development/python-modules/ppft/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
602 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, python
, six
}:
buildPythonPackage rec {
pname = "ppft";
version = "1.6.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "9e2173042edd5cc9c7bee0d7731873f17fcdce0e42e4b7ab68857d0de7b631fc";
};
propagatedBuildInputs = [ six ];
# darwin seems to hang
doCheck = !stdenv.isDarwin;
checkPhase = ''
cd examples
${python.interpreter} -m ppft.tests
'';
meta = with stdenv.lib; {
description = "Distributed and parallel python";
homepage = "https://github.com/uqfoundation";
license = licenses.bsd3;
};
}