e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
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 ];
|
|
};
|
|
}
|