python313Packages.remi: unbreak by adding legacy-cgi to deps (#371980)

This commit is contained in:
Peder Bergebakken Sundt 2025-01-15 00:47:00 +01:00 committed by GitHub
commit 9a69b73520
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,9 +2,11 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
pytestCheckHook,
matplotlib,
legacy-cgi,
python-snap7,
opencv4,
}:
@ -43,9 +45,13 @@ buildPythonPackage rec {
build-system = [ setuptools ];
dependencies = [
setuptools # pkg_resources is referenced at runtime
];
dependencies =
[
setuptools # pkg_resources is referenced at runtime
]
++ lib.optionals (!pythonOlder "3.13") [
legacy-cgi
];
nativeCheckInputs = [
pytestCheckHook