depot/third_party/nixpkgs/pkgs/development/python-modules/zope-exceptions/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
869 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
zope-interface,
}:
buildPythonPackage rec {
pname = "zope-exceptions";
version = "5.0.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "zope.exceptions";
inherit version;
hash = "sha256-MPxT5TOfX72dEzXg97afd/FePwbisXt/t++SXMJP3ZY=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ zope-interface ];
# circular deps
doCheck = false;
pythonImportsCheck = [ "zope.exceptions" ];
meta = with lib; {
description = "Exception interfaces and implementations";
homepage = "https://pypi.python.org/pypi/zope.exceptions";
changelog = "https://github.com/zopefoundation/zope.exceptions/blob/${version}/CHANGES.rst";
license = licenses.zpl21;
maintainers = with maintainers; [ goibhniu ];
};
}