83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
31 lines
593 B
Nix
31 lines
593 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 ];
|
|
};
|
|
}
|