pythonPackages.jaraco_text: 2.0 -> 3.0

This fixes the dependency cycle between `jaraco_text` and
`jaraco_collections`. Reported upstream in https://github.com/jaraco/jaraco.text/issues/3

See also https://hydra.nixos.org/build/90307068
See also https://hydra.nixos.org/build/90310398
Addresses #56826
This commit is contained in:
Maximilian Bosch 2019-03-10 16:36:49 +01:00
parent eede376d73
commit 4c57b5e896
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
2 changed files with 8 additions and 6 deletions

View File

@ -1,5 +1,6 @@
{ buildPythonPackage, fetchPypi, setuptools_scm
, six, jaraco_classes }:
, six, jaraco_classes, jaraco_text
}:
buildPythonPackage rec {
pname = "jaraco.collections";
@ -11,7 +12,7 @@ buildPythonPackage rec {
doCheck = false;
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ six jaraco_classes ];
propagatedBuildInputs = [ six jaraco_classes jaraco_text ];
# break dependency cycle
patchPhase = ''

View File

@ -1,14 +1,15 @@
{ buildPythonPackage, fetchPypi, setuptools_scm
, jaraco_functools, jaraco_collections }:
, jaraco_functools
}:
buildPythonPackage rec {
pname = "jaraco.text";
version = "2.0";
version = "3.0";
src = fetchPypi {
inherit pname version;
sha256 = "3660678d395073626e72a455b24bacf07c064138a4cc6c1dae63e616f22478aa";
sha256 = "1l5hq2jvz9xj05aayc42f85v8wx8rpi16lxph8blw51wgnvymsyx";
};
doCheck = false;
buildInputs =[ setuptools_scm ];
propagatedBuildInputs = [ jaraco_functools jaraco_collections ];
propagatedBuildInputs = [ jaraco_functools ];
}