2019-01-18 15:50:57 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm
|
|
|
|
, inflect, more-itertools, six, pytest, pytest-flake8 }:
|
2018-09-03 01:18:24 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.itertools";
|
2019-01-16 21:10:32 +00:00
|
|
|
version = "4.0.0";
|
2019-01-18 15:50:57 +00:00
|
|
|
|
2018-09-03 01:18:24 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-16 21:10:32 +00:00
|
|
|
sha256 = "1d09zpi593bhr56rwm41kzffr18wif98plgy6xdy0zrbdwfarrxl";
|
2018-09-03 01:18:24 +01:00
|
|
|
};
|
2019-01-18 15:50:57 +00:00
|
|
|
|
2018-09-03 01:18:24 +01:00
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ inflect more-itertools six ];
|
2019-01-18 15:50:57 +00:00
|
|
|
checkInputs = [ pytest pytest-flake8 ];
|
|
|
|
|
|
|
|
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
|
|
|
}
|