From 93ecd7d9a0dda086cc3799e53ae1053a2dbfee13 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 5 Jul 2026 16:38:25 +0200 Subject: [PATCH] python3Packaegs.aioimaplib: fix pyopenssl 26 compat --- pkgs/development/python-modules/aioimaplib/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/aioimaplib/default.nix b/pkgs/development/python-modules/aioimaplib/default.nix index f26dc63ec141..dc7cf465bd5b 100644 --- a/pkgs/development/python-modules/aioimaplib/default.nix +++ b/pkgs/development/python-modules/aioimaplib/default.nix @@ -29,6 +29,10 @@ buildPythonPackage rec { ./event-loop.patch ]; + postPatch = '' + sed -i "/crypto.X509Extension/,+1d" tests/ssl_cert.py + ''; + build-system = [ poetry-core ]; nativeCheckInputs = [ @@ -43,6 +47,7 @@ buildPythonPackage rec { disabledTests = [ # TimeoutError "test_idle_start__exits_queue_get_without_timeout_error" + "test_client_can_connect_to_server_over_ssl" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Comparison to magic strings