2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm
|
|
|
|
, inflect, more-itertools, six, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.itertools";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "6.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "6939e47806a39330a9f9772bf9ea910da39abc159ff2579d454a763358553439";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ inflect more-itertools six ];
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
# tests no longer available through pypi
|
|
|
|
doCheck = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
pythonImportsCheck = [ "jaraco.itertools" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools for working with iterables";
|
|
|
|
homepage = "https://github.com/jaraco/jaraco.itertools";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|