python3Packaegs.aioimaplib: fix pyopenssl 26 compat

This commit is contained in:
Martin Weinelt
2026-07-05 16:38:25 +02:00
parent f6ebd7fd78
commit 93ecd7d9a0
@@ -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