Robert Schütz
2025-11-25 12:39:02 -08:00
parent 0784af710c
commit 509ff20016
@@ -2,31 +2,32 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
zope-interface,
}:
buildPythonPackage rec {
pname = "zope-exceptions";
version = "5.2";
version = "6.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "zopefoundation";
repo = "zope.exceptions";
tag = version;
hash = "sha256-jbzUUB6ifTfxiGEiyAmsDoDLyRVuZPgIsN8mCNJkv4Q=";
hash = "sha256-LLKS/O1sfrHRfEgbb3GO+/hBtIC9CvfNjorqiKTgujo=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools ==" "setuptools >="
'';
build-system = [
setuptools
];
dependencies = [
setuptools
zope-interface
];