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
@@ -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 ];