3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jaraco_collections/default.nix
Maximilian Bosch 4c57b5e896
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
2019-03-10 16:36:49 +01:00

22 lines
508 B
Nix

{ buildPythonPackage, fetchPypi, setuptools_scm
, six, jaraco_classes, jaraco_text
}:
buildPythonPackage rec {
pname = "jaraco.collections";
version = "2.0";
src = fetchPypi {
inherit pname version;
sha256 = "eb43fb9a7b29cff20767caf838c14bdf80a89395aba67a97d61c8f16e0e22c97";
};
doCheck = false;
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ six jaraco_classes jaraco_text ];
# break dependency cycle
patchPhase = ''
sed -i "/'jaraco.text',/d" setup.py
'';
}