depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco_collections/default.nix
Default email 51e09efdfc Project import generated by Copybara.
GitOrigin-RevId: 296793637b22bdb4d23b479879eba0a71c132a66
2020-12-03 09:41:04 +01:00

23 lines
546 B
Nix

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