1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 zope-interface, 8}: 9 10buildPythonPackage rec { 11 pname = "zope-exceptions"; 12 version = "5.0.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 pname = "zope.exceptions"; 19 inherit version; 20 hash = "sha256-MPxT5TOfX72dEzXg97afd/FePwbisXt/t++SXMJP3ZY="; 21 }; 22 23 nativeBuildInputs = [ setuptools ]; 24 25 propagatedBuildInputs = [ zope-interface ]; 26 27 # circular deps 28 doCheck = false; 29 30 pythonImportsCheck = [ "zope.exceptions" ]; 31 32 meta = with lib; { 33 description = "Exception interfaces and implementations"; 34 homepage = "https://pypi.python.org/pypi/zope.exceptions"; 35 changelog = "https://github.com/zopefoundation/zope.exceptions/blob/${version}/CHANGES.rst"; 36 license = licenses.zpl21; 37 maintainers = with maintainers; [ goibhniu ]; 38 }; 39}