Skip to content

Commit

Permalink
fixup! python3Packages.hypercorn: 0.16.0 -> 0.17.3 (#374235)
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Jan 24, 2025
1 parent e42d7ee commit 46731d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/hypercorn/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
fetchFromGitHub,
pythonOlder,
aioquic,
cacert,
h11,
h2,
httpx,
Expand Down Expand Up @@ -57,6 +58,11 @@ buildPythonPackage rec {
pytestCheckHook
] ++ lib.flatten (lib.attrValues optional-dependencies);

preCheck = ''
# httpx since 0.28.0+ depends on SSL_CERT_FILE
SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
'';

__darwinAllowLocalNetworking = true;

pythonImportsCheck = [ "hypercorn" ];
Expand Down

0 comments on commit 46731d8

Please sign in to comment.