Skip to content

Commit 9a69b73

Browse files
authored
python313Packages.remi: unbreak by adding legacy-cgi to deps (NixOS#371980)
2 parents 226991c + f36d622 commit 9a69b73

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

pkgs/development/python-modules/remi/default.nix

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5+
pythonOlder,
56
setuptools,
67
pytestCheckHook,
78
matplotlib,
9+
legacy-cgi,
810
python-snap7,
911
opencv4,
1012
}:
@@ -43,9 +45,13 @@ buildPythonPackage rec {
4345

4446
build-system = [ setuptools ];
4547

46-
dependencies = [
47-
setuptools # pkg_resources is referenced at runtime
48-
];
48+
dependencies =
49+
[
50+
setuptools # pkg_resources is referenced at runtime
51+
]
52+
++ lib.optionals (!pythonOlder "3.13") [
53+
legacy-cgi
54+
];
4955

5056
nativeCheckInputs = [
5157
pytestCheckHook

0 commit comments

Comments
 (0)