python3Packages.irc: build fix for Python 3.11 (#353797)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-05 20:37:59 +01:00 committed by GitHub
commit 3e44af0b4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,7 @@
pythonOlder,
pytz,
setuptools-scm,
importlib-resources,
}:
buildPythonPackage rec {
@ -34,7 +35,7 @@ buildPythonPackage rec {
jaraco-stream
jaraco-text
pytz
];
] ++ lib.optionals (pythonOlder "3.12") [ importlib-resources ];
nativeCheckInputs = [ pytestCheckHook ];