diff --git a/pkgs/development/python-modules/jaraco_text/default.nix b/pkgs/development/python-modules/jaraco_text/default.nix new file mode 100644 index 000000000000..01309e0c4d92 --- /dev/null +++ b/pkgs/development/python-modules/jaraco_text/default.nix @@ -0,0 +1,14 @@ +{ buildPythonPackage, fetchPypi, setuptools_scm +, jaraco_functools, jaraco_collections }: + +buildPythonPackage rec { + pname = "jaraco.text"; + version = "1.10.1"; + src = fetchPypi { + inherit pname version; + sha256 = "07ccc0zc28sb1kyfyviw3n8f581qynrshqvqg1xsp4gkf1m2ibhh"; + }; + doCheck = false; + buildInputs =[ setuptools_scm ]; + propagatedBuildInputs = [ jaraco_functools jaraco_collections ]; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4bfcf8871629..93bf55127ac4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17014,21 +17014,7 @@ EOF propagatedBuildInputs = with self; [ tempora six ]; }; - jaraco_text = buildPythonPackage rec { - name = "jaraco.text-${version}"; - version = "1.7"; - - src = pkgs.fetchurl { - url = "mirror://pypi/j/jaraco.text/${name}.tar.gz"; - sha256 = "07ccc0zc28sb1kyfyviw3n8f581qynrshqvqg1xsp4gkf1m2ibhh"; - }; - - doCheck = false; - - buildInputs = with self; [ setuptools_scm ]; - - propagatedBuildInputs = with self; [ jaraco_functools jaraco_collections ]; - }; + jaraco_text = callPackage ../development/python-modules/jaraco_text { }; jaraco_collections = callPackage ../development/python-modules/jaraco_collections { };