nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 41 lines 817 B view raw
1{ 2 lib, 3 stdenv, 4 buildPythonPackage, 5 fetchPypi, 6 python, 7 six, 8}: 9 10buildPythonPackage rec { 11 pname = "ppft"; 12 version = "1.7.8"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-X2ltTzl66bCvObH6/7MZV8Ud+8WjgVhWRy1PTocpN+4="; 18 }; 19 20 propagatedBuildInputs = [ six ]; 21 22 # darwin seems to hang 23 doCheck = !stdenv.hostPlatform.isDarwin; 24 25 checkPhase = '' 26 runHook preCheck 27 ${python.interpreter} -m ppft.tests 28 runHook postCheck 29 ''; 30 31 pythonImportsCheck = [ "ppft" ]; 32 33 meta = { 34 description = "Distributed and parallel Python"; 35 mainProgram = "ppserver"; 36 homepage = "https://ppft.readthedocs.io/"; 37 changelog = "https://github.com/uqfoundation/ppft/releases/tag/${version}"; 38 license = lib.licenses.bsd3; 39 maintainers = [ ]; 40 }; 41}