1{ lib, buildPythonPackage, fetchPypi, setuptools_scm
2, inflect, more-itertools, six, pytest
3}:
4
5buildPythonPackage rec {
6 pname = "jaraco.itertools";
7 version = "4.4.2";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "0zxx8ffk5ycapy2d41dfgzskl5jfwjc10hsd91jsrax5alkhrh7x";
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}