2019-01-18 15:50:57 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm
|
2019-03-10 12:12:22 +00:00
|
|
|
, inflect, more-itertools, six, pytest
|
|
|
|
}:
|
2018-09-03 01:18:24 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.itertools";
|
2019-04-02 14:49:43 +01:00
|
|
|
version = "4.4.2";
|
2019-01-18 15:50:57 +00:00
|
|
|
|
2018-09-03 01:18:24 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-02 14:49:43 +01:00
|
|
|
sha256 = "0zxx8ffk5ycapy2d41dfgzskl5jfwjc10hsd91jsrax5alkhrh7x";
|
2018-09-03 01:18:24 +01:00
|
|
|
};
|
2019-01-18 15:50:57 +00:00
|
|
|
|
2019-03-10 12:12:22 +00:00
|
|
|
patches = [ ./0001-Don-t-run-flake8-checks-during-the-build.patch ];
|
|
|
|
|
2018-09-03 01:18:24 +01:00
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ inflect more-itertools six ];
|
2019-03-10 12:12:22 +00:00
|
|
|
checkInputs = [ pytest ];
|
2019-01-18 15:50:57 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools for working with iterables";
|
|
|
|
homepage = https://github.com/jaraco/jaraco.itertools;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2018-09-03 01:18:24 +01:00
|
|
|
}
|