diff --git a/pkgs/development/python-modules/jaraco_itertools/default.nix b/pkgs/development/python-modules/jaraco_itertools/default.nix new file mode 100644 index 000000000000..c7a66c890407 --- /dev/null +++ b/pkgs/development/python-modules/jaraco_itertools/default.nix @@ -0,0 +1,14 @@ +{ buildPythonPackage, fetchPypi, setuptools_scm +, inflect, more-itertools, six }: + +buildPythonPackage rec { + pname = "jaraco.itertools"; + version = "2.4"; + src = fetchPypi { + inherit pname version; + sha256 = "18cwjbnnnbwld70s3r24sys3blcss84d9ha9hhxsg2d35f9vywd5"; + }; + doCheck = false; + buildInputs = [ setuptools_scm ]; + propagatedBuildInputs = [ inflect more-itertools six ]; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2b814d02bbbf..bc95c5952af5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17051,21 +17051,7 @@ EOF ''; }; - jaraco_itertools = buildPythonPackage rec { - name = "jaraco.itertools-${version}"; - version = "1.7.1"; - - src = pkgs.fetchurl { - url = "mirror://pypi/j/jaraco.itertools/${name}.tar.gz"; - sha256 = "0yvxp5nwhy4wc4naq5v152vbnxqcn5k031g089chq2lk5kr7np5z"; - }; - - doCheck = false; - - buildInputs = with self; [ setuptools_scm ]; - - propagatedBuildInputs = with self; [ inflect more-itertools six ]; - }; + jaraco_itertools = callPackage ../development/python-modules/jaraco_itertools { }; inflect = callPackage ../development/python-modules/inflect { };