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.4"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "sha256-9ahU6J/5fe6ke/vqN4u77yeJ0uDMkKHB2lfZChzmfLU="; 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}