fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
38 lines
626 B
Nix
38 lines
626 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPy27,
|
|
zope-interface,
|
|
zope-location,
|
|
zope-schema,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zope.copy";
|
|
version = "4.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-epg2yjqX9m1WGzYPeGUBKGif4JNAddzg75ECe9xPOlc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ zope-interface ];
|
|
|
|
doCheck = !isPy27; # namespace conflicts
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
zope-location
|
|
zope-schema
|
|
];
|
|
|
|
unittestFlagsArray = [
|
|
"-s"
|
|
"src/zope/copy"
|
|
];
|
|
|
|
meta = {
|
|
maintainers = with lib.maintainers; [ domenkozar ];
|
|
};
|
|
}
|