1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, zope_interface
6, zope_location
7, zope_schema
8}:
9
10
11buildPythonPackage rec {
12 pname = "zope.copy";
13 version = "4.2";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "47bb9d09ff06c600b446f220f47a742396598ac4828d738d3d85e6490629a71a";
18 };
19
20 propagatedBuildInputs = [ zope_interface ];
21
22 doCheck = !isPy27; # namespace conflicts
23 checkInputs = [ zope_location zope_schema ];
24
25 checkPhase = ''
26 python -m unittest discover -s src/zope/copy
27 '';
28
29 meta = {
30 maintainers = with lib.maintainers; [ domenkozar ];
31 };
32}