2021-06-03 10:09:11 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools-scm
|
2019-03-10 12:12:22 +00:00
|
|
|
, inflect, more-itertools, six, pytest
|
|
|
|
}:
|
2018-09-03 00:18:24 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.itertools";
|
2021-10-08 22:23:08 +00:00
|
|
|
version = "6.0.3";
|
2019-01-18 15:50:57 +00:00
|
|
|
|
2018-09-03 00:18:24 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-08 22:23:08 +00:00
|
|
|
sha256 = "1775bfcad5de275a540a36720c5ab34594ea1dbe7ffefa32099b0129c5604608";
|
2018-09-03 00:18:24 +00:00
|
|
|
};
|
2019-01-18 15:50:57 +00:00
|
|
|
|
2020-11-20 18:54:52 +00:00
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
|
2021-06-03 10:09:11 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2020-06-25 09:25:05 +00:00
|
|
|
|
2018-09-03 00:18:24 +00:00
|
|
|
propagatedBuildInputs = [ inflect more-itertools six ];
|
2019-03-10 12:12:22 +00:00
|
|
|
checkInputs = [ pytest ];
|
2019-01-18 15:50:57 +00:00
|
|
|
|
2020-06-23 01:08:34 +00:00
|
|
|
# tests no longer available through pypi
|
|
|
|
doCheck = false;
|
2019-01-18 15:50:57 +00:00
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
2020-06-23 01:08:34 +00:00
|
|
|
pythonImportsCheck = [ "jaraco.itertools" ];
|
|
|
|
|
2019-01-18 15:50:57 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools for working with iterables";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jaraco/jaraco.itertools";
|
2019-01-18 15:50:57 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2018-09-03 00:18:24 +00:00
|
|
|
}
|