depot/third_party/nixpkgs/pkgs/development/python-modules/zope_copy/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

31 lines
595 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;
sha256 = "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 ];
};
}