mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
4c57b5e896
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
22 lines
508 B
Nix
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
|
|
'';
|
|
}
|