Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 770 B view raw
1{ lib 2, stdenv 3, buildPythonPackage 4, fetchPypi 5, python 6, pythonOlder 7, six 8}: 9 10buildPythonPackage rec { 11 pname = "ppft"; 12 version = "1.7.6.6"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-+TPwQE8+gIvIYHRayzt5zU/jHqGaIIiaZF+QBBW+YPE="; 20 }; 21 22 propagatedBuildInputs = [ 23 six 24 ]; 25 26 # darwin seems to hang 27 doCheck = !stdenv.isDarwin; 28 checkPhase = '' 29 runHook preCheck 30 ${python.interpreter} -m ppft.tests 31 runHook postCheck 32 ''; 33 34 pythonImportsCheck = [ 35 "ppft" 36 ]; 37 38 meta = with lib; { 39 description = "Distributed and parallel Python"; 40 homepage = "https://ppft.readthedocs.io/"; 41 license = licenses.bsd3; 42 maintainers = with maintainers; [ ]; 43 }; 44}