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