We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 226991c + f36d622 commit 9a69b73Copy full SHA for 9a69b73
pkgs/development/python-modules/remi/default.nix
@@ -2,9 +2,11 @@
2
lib,
3
buildPythonPackage,
4
fetchFromGitHub,
5
+ pythonOlder,
6
setuptools,
7
pytestCheckHook,
8
matplotlib,
9
+ legacy-cgi,
10
python-snap7,
11
opencv4,
12
}:
@@ -43,9 +45,13 @@ buildPythonPackage rec {
43
45
44
46
build-system = [ setuptools ];
47
- dependencies = [
- setuptools # pkg_resources is referenced at runtime
48
- ];
+ dependencies =
49
+ [
50
+ setuptools # pkg_resources is referenced at runtime
51
+ ]
52
+ ++ lib.optionals (!pythonOlder "3.13") [
53
+ legacy-cgi
54
+ ];
55
56
nativeCheckInputs = [
57
pytestCheckHook
0 commit comments