2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-11-19 00:13:47 +00:00
|
|
|
, isPy27
|
2024-01-13 08:15:51 +00:00
|
|
|
, zope-interface
|
|
|
|
, zope-location
|
|
|
|
, zope-schema
|
2022-09-09 14:08:57 +00:00
|
|
|
, unittestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zope.copy";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "4.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-epg2yjqX9m1WGzYPeGUBKGif4JNAddzg75ECe9xPOlc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
propagatedBuildInputs = [ zope-interface ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-19 00:13:47 +00:00
|
|
|
doCheck = !isPy27; # namespace conflicts
|
2024-01-13 08:15:51 +00:00
|
|
|
nativeCheckInputs = [ unittestCheckHook zope-location zope-schema ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
unittestFlagsArray = [ "-s" "src/zope/copy" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = with lib.maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|