python313Packages.servefile: fix build (#386552)

This commit is contained in:
Samuel Ainsworth
2025-03-03 12:48:17 -05:00
committed by GitHub
@@ -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