0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

python313Packages.servefile: fix build (#386552)

This commit is contained in:
Samuel Ainsworth 2025-03-03 12:48:17 -05:00 committed by GitHub
commit 789d5d0633
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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