depot/third_party/nixpkgs/pkgs/development/python-modules/zope-copy/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

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