We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 123dff6 commit 303485eCopy full SHA for 303485e
pkgs/development/python-modules/servefile/default.nix
@@ -1,9 +1,11 @@
1
{
2
buildPythonPackage,
3
fetchFromGitHub,
4
+ legacy-cgi,
5
lib,
6
pyopenssl,
7
pytestCheckHook,
8
+ pythonAtLeast,
9
requests,
10
}:
11
@@ -19,7 +21,9 @@ buildPythonPackage rec {
19
21
hash = "sha256-hIqXwhmvstCslsCO973oK5FF2c8gZJ0wNUI/z8W+OjU=";
20
22
};
23
- propagatedBuildInputs = [ pyopenssl ];
24
+ dependencies = [
25
+ pyopenssl
26
+ ] ++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
27
28
nativeCheckInputs = [
29
pytestCheckHook
0 commit comments