python312Packages.zope-exceptions: modernize, add nickcao to maintainers

This commit is contained in:
Nick Cao
2024-12-04 09:06:30 -05:00
parent a89cc3bf60
commit 4874736329
@@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pythonOlder,
setuptools,
zope-interface,
@@ -12,28 +12,34 @@ buildPythonPackage rec {
version = "5.2";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "zope.exceptions";
inherit version;
hash = "sha256-TLoySGeHc7usb6o641N98JqEOIG4n7noGsooLzuSsvM=";
src = fetchFromGitHub {
owner = "zopefoundation";
repo = "zope.exceptions";
rev = "refs/tags/${version}";
hash = "sha256-jbzUUB6ifTfxiGEiyAmsDoDLyRVuZPgIsN8mCNJkv4Q=";
};
nativeBuildInputs = [ setuptools ];
build-system = [
setuptools
];
propagatedBuildInputs = [ zope-interface ];
dependencies = [
setuptools
zope-interface
];
# circular deps
doCheck = false;
pythonImportsCheck = [ "zope.exceptions" ];
meta = with lib; {
meta = {
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 = [ ];
license = lib.licenses.zpl21;
maintainers = with lib.maintainers; [ nickcao ];
};
}