summary refs log tree commit diff
path: root/pkgs/development/python-modules/zope_copy/default.nix
blob: ce9595ad537df64b70e5df715753e63d53188854 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ 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
  checkInputs = [ unittestCheckHook zope_location zope_schema ];

  unittestFlagsArray = [ "-s" "src/zope/copy" ];

  meta = {
    maintainers = with lib.maintainers; [ domenkozar ];
  };
}