depot/third_party/nixpkgs/pkgs/development/python-modules/zope-lifecycleevent/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

46 lines
936 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
zope-event,
zope-interface,
}:
buildPythonPackage rec {
pname = "zope-lifecycleevent";
version = "5.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "zope.lifecycleevent";
inherit version;
hash = "sha256-6tP7SW52FPm1adFtrUt4BSsKwhh1utjWbKNQNS2bb50=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
zope-event
zope-interface
];
# namespace colides with local directory
doCheck = false;
pythonImportsCheck = [
"zope.lifecycleevent"
"zope.interface"
];
meta = with lib; {
homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
description = "Object life-cycle events";
changelog = "https://github.com/zopefoundation/zope.lifecycleevent/blob/${version}/CHANGES.rst";
license = licenses.zpl21;
maintainers = [ ];
};
}