1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "zope-interface"; 10 version = "7.2"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "zopefoundation"; 15 repo = "zope.interface"; 16 tag = version; 17 hash = "sha256-WrS/YHkEmV1G/Scg0xpyu2uFVWTWnEpajqNDvGioVgc="; 18 }; 19 20 postPatch = '' 21 substituteInPlace pyproject.toml \ 22 --replace-fail "setuptools < 74" "setuptools" 23 ''; 24 25 build-system = [ setuptools ]; 26 27 pythonImportsCheck = [ "zope.interface" ]; 28 29 doCheck = false; # Circular deps. 30 31 pythonNamespaces = [ "zope" ]; 32 33 meta = { 34 changelog = "https://github.com/zopefoundation/zope.interface/blob/${version}/CHANGES.rst"; 35 description = "Zope.Interface"; 36 homepage = "https://github.com/zopefoundation/zope.interface"; 37 license = lib.licenses.zpl21; 38 maintainers = [ ]; 39 }; 40}