depot/third_party/nixpkgs/pkgs/development/python-modules/zope-copy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}