Unverified Commit 789d5d06 authored by Samuel Ainsworth's avatar Samuel Ainsworth Committed by GitHub
Browse files

python313Packages.servefile: fix build (#386552)

parents 6fb2a651 303485ee
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{
  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