From 46731d8ed4d2c7e3ef4eee3aa5b65e41a509d1c2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 24 Jan 2025 02:51:33 +0100 Subject: [PATCH] fixup! python3Packages.hypercorn: 0.16.0 -> 0.17.3 (#374235) --- pkgs/development/python-modules/hypercorn/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/hypercorn/default.nix b/pkgs/development/python-modules/hypercorn/default.nix index 26c134aa5e303..30f4d0f0cbabe 100644 --- a/pkgs/development/python-modules/hypercorn/default.nix +++ b/pkgs/development/python-modules/hypercorn/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, pythonOlder, aioquic, + cacert, h11, h2, httpx, @@ -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" ];