3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jaraco_collections/default.nix
2021-06-22 13:42:32 +02:00

24 lines
546 B
Nix

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