Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / ppft / default.nix
blobcd801f497a8ccf8931e15866bc0b993979a7f298
1 { lib
2 , stdenv
3 , buildPythonPackage
4 , fetchPypi
5 , python
6 , pythonOlder
7 , six
8 }:
10 buildPythonPackage rec {
11   pname = "ppft";
12   version = "1.7.6.7";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-qzRDaBTi8YI481aI/YabJkGy0tjcoiuNJG9nAd/JVMg=";
20   };
22   propagatedBuildInputs = [
23     six
24   ];
26   # darwin seems to hang
27   doCheck = !stdenv.isDarwin;
29   checkPhase = ''
30     runHook preCheck
31     ${python.interpreter} -m ppft.tests
32     runHook postCheck
33   '';
35   pythonImportsCheck = [
36     "ppft"
37   ];
39   meta = with lib; {
40     description = "Distributed and parallel Python";
41     homepage = "https://ppft.readthedocs.io/";
42     changelog = "https://github.com/uqfoundation/ppft/releases/tag/ppft-${version}";
43     license = licenses.bsd3;
44     maintainers = with maintainers; [ ];
45   };