mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
21 lines
483 B
Nix
21 lines
483 B
Nix
{ buildPythonPackage, fetchPypi, setuptools_scm
|
|
, six, jaraco_classes }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco.collections";
|
|
version = "2.0";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "eb43fb9a7b29cff20767caf838c14bdf80a89395aba67a97d61c8f16e0e22c97";
|
|
};
|
|
|
|
doCheck = false;
|
|
buildInputs = [ setuptools_scm ];
|
|
propagatedBuildInputs = [ six jaraco_classes ];
|
|
|
|
# break dependency cycle
|
|
patchPhase = ''
|
|
sed -i "/'jaraco.text',/d" setup.py
|
|
'';
|
|
}
|