Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 29 lines 707 B view raw
1{ lib, buildPythonPackage, fetchPypi, setuptools_scm 2, inflect, more-itertools, six, pytest 3}: 4 5buildPythonPackage rec { 6 pname = "jaraco.itertools"; 7 version = "4.4.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "d1380ed961c9a4724f0bcca85d2bffebaa2507adfde535d5ee717441c9105fae"; 12 }; 13 14 patches = [ ./0001-Don-t-run-flake8-checks-during-the-build.patch ]; 15 16 buildInputs = [ setuptools_scm ]; 17 propagatedBuildInputs = [ inflect more-itertools six ]; 18 checkInputs = [ pytest ]; 19 20 checkPhase = '' 21 pytest 22 ''; 23 24 meta = with lib; { 25 description = "Tools for working with iterables"; 26 homepage = https://github.com/jaraco/jaraco.itertools; 27 license = licenses.mit; 28 }; 29}