Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 35 lines 711 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPyPy 5, nose 6, toolz 7, python 8, fetchpatch 9, isPy27 10}: 11 12buildPythonPackage rec { 13 pname = "cytoolz"; 14 version = "0.11.0"; 15 disabled = isPy27 || isPyPy; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "c64f3590c3eb40e1548f0d3c6b2ccde70493d0b8dc6cc7f9f3fec0bb3dcd4222"; 20 }; 21 22 checkInputs = [ nose ]; 23 propagatedBuildInputs = [ toolz ]; 24 25 checkPhase = '' 26 nosetests -v $out/${python.sitePackages} 27 ''; 28 29 meta = { 30 homepage = "https://github.com/pytoolz/cytoolz/"; 31 description = "Cython implementation of Toolz: High performance functional utilities"; 32 license = "licenses.bsd3"; 33 maintainers = with lib.maintainers; [ fridh ]; 34 }; 35}