f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
39 lines
840 B
Nix
39 lines
840 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
zope-interface,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zope-exceptions";
|
|
version = "5.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "zope.exceptions";
|
|
inherit version;
|
|
hash = "sha256-YRtMSUbDAWDbS3u9TzhhOzJoSvFn0xllCvm3O8ew6Xg=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|