python313Packages.servefile: fix build (#386552)
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
legacy-cgi,
|
||||
lib,
|
||||
pyopenssl,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
requests,
|
||||
}:
|
||||
|
||||
@@ -19,7 +21,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-hIqXwhmvstCslsCO973oK5FF2c8gZJ0wNUI/z8W+OjU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyopenssl ];
|
||||
dependencies = [
|
||||
pyopenssl
|
||||
] ++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
||||
Reference in New Issue
Block a user