@@ -1,14 +1,26 @@
1−{ buildPythonPackage, fetchPypi, setuptools_scm
2−, inflect, more-itertools, six }:
1+{ lib, buildPythonPackage, fetchPypi, setuptools_scm
2+, inflect, more-itertools, six, pytest, pytest-flake8 }:
33
44buildPythonPackage rec {
55 pname = "jaraco.itertools";
6− version = "3.0.0";
6+ version = "4.0.0";
7+
78 src = fetchPypi {
89 inherit pname version;
9− sha256 = "19d8557a25c08f7a7b8f1cfa456ebfd615bafa0f045f89bbda55f99661b0626d";
10+ sha256 = "1d09zpi593bhr56rwm41kzffr18wif98plgy6xdy0zrbdwfarrxl";
1011 };
11− doCheck = false;
12+
1213 buildInputs = [ setuptools_scm ];
1314 propagatedBuildInputs = [ inflect more-itertools six ];
15+ checkInputs = [ pytest pytest-flake8 ];
16+
17+ checkPhase = ''
18+ pytest
19+ '';
20+
21+ meta = with lib; {
22+ description = "Tools for working with iterables";
23+ homepage = https://github.com/jaraco/jaraco.itertools;
24+ license = licenses.mit;
25+ };
1426}