1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, zope_event
6, zope_component
7}:
8
9buildPythonPackage rec {
10 pname = "zope.lifecycleevent";
11 version = "4.3";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "7ec39087cc1524e55557e7d9dc6295eb1b95b09b125e293c0e2dd068574f0aee";
16 };
17
18 propagatedBuildInputs = [ zope_event zope_component ];
19
20 # namespace colides with local directory
21 doCheck = false;
22
23 # zope uses pep 420 namespaces for python3, doesn't work with nix + python2
24 pythonImportsCheck = lib.optionals isPy3k [
25 "zope.lifecycleevent"
26 "zope.interface"
27 ];
28
29 meta = with lib; {
30 homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
31 description = "Object life-cycle events";
32 license = licenses.zpl20;
33 maintainers = with maintainers; [ goibhniu ];
34 };
35
36}