2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-18 07:06:33 +00:00
|
|
|
, isPy3k
|
2020-04-24 23:36:52 +00:00
|
|
|
, zope_event
|
|
|
|
, zope_component
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zope.lifecycleevent";
|
|
|
|
version = "4.3";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "7ec39087cc1524e55557e7d9dc6295eb1b95b09b125e293c0e2dd068574f0aee";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_event zope_component ];
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
# namespace colides with local directory
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
# zope uses pep 420 namespaces for python3, doesn't work with nix + python2
|
2021-02-05 17:12:51 +00:00
|
|
|
pythonImportsCheck = lib.optionals isPy3k [
|
2020-06-18 07:06:33 +00:00
|
|
|
"zope.lifecycleevent"
|
|
|
|
"zope.interface"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
|
|
|
|
description = "Object life-cycle events";
|
|
|
|
license = licenses.zpl20;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|