python314Packages.cert-chain-resolver: fix build

This commit is contained in:
Sigmanificient
2026-04-19 00:45:45 +02:00
parent 8025ba33a3
commit e7334b57c2
@@ -1,6 +1,7 @@
{
lib,
buildPythonPackage,
cacert,
cryptography,
fetchFromGitHub,
pytestCheckHook,
@@ -28,10 +29,13 @@ buildPythonPackage rec {
six
];
env.SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
disabledTests = [
# Tests require network access
"test_cert_returns_completed_chain"
"test_display_flag_is_properly_formatted"
"test_display_flag_includes_warning_when_root_was_requested_but_not_found"
];
pythonImportsCheck = [ "cert_chain_resolver" ];