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";
|
2021-03-24 09:28:15 +00:00
|
|
|
version = "6.0.1";
|
2019-01-18 15:50:57 +00:00
|
|
|
|
2018-09-03 01:18:24 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:15 +00:00
|
|
|
sha256 = "6939e47806a39330a9f9772bf9ea910da39abc159ff2579d454a763358553439";
|
2018-09-03 01:18:24 +01:00
|
|
|
};
|
2019-01-18 15:50:57 +00:00
|
|
|
|
2020-11-20 18:54:52 +00:00
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
|
2020-06-23 02:08:34 +01:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
2020-06-25 10:25:05 +01:00
|
|
|
|
2018-09-03 01:18:24 +01: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 02:08:34 +01:00
|
|
|
# tests no longer available through pypi
|
|
|
|
doCheck = false;
|
2019-01-18 15:50:57 +00:00
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
2020-06-23 02:08:34 +01:00
|
|
|
pythonImportsCheck = [ "jaraco.itertools" ];
|
|
|
|
|
2019-01-18 15:50:57 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools for working with iterables";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jaraco/jaraco.itertools";
|
2019-01-18 15:50:57 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2018-09-03 01:18:24 +01:00
|
|
|
}
|