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