depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco_collections/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

23 lines
546 B
Nix

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