1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy27,
6 zope-interface,
7 zope-location,
8 zope-schema,
9 unittestCheckHook,
10}:
11
12buildPythonPackage rec {
13 pname = "zope.copy";
14 version = "4.3";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-epg2yjqX9m1WGzYPeGUBKGif4JNAddzg75ECe9xPOlc=";
19 };
20
21 propagatedBuildInputs = [ zope-interface ];
22
23 doCheck = !isPy27; # namespace conflicts
24 nativeCheckInputs = [
25 unittestCheckHook
26 zope-location
27 zope-schema
28 ];
29
30 unittestFlagsArray = [
31 "-s"
32 "src/zope/copy"
33 ];
34
35 meta = {
36 maintainers = with lib.maintainers; [ domenkozar ];
37 };
38}