at 23.11-beta 856 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.7"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-qzRDaBTi8YI481aI/YabJkGy0tjcoiuNJG9nAd/JVMg="; 20 }; 21 22 propagatedBuildInputs = [ 23 six 24 ]; 25 26 # darwin seems to hang 27 doCheck = !stdenv.isDarwin; 28 29 checkPhase = '' 30 runHook preCheck 31 ${python.interpreter} -m ppft.tests 32 runHook postCheck 33 ''; 34 35 pythonImportsCheck = [ 36 "ppft" 37 ]; 38 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 }; 46}