python3Packages.pycurl: support curl 8.17.0+

This fixes test failure against Curl 8.17.0 and later, as some Kerberos
globals were removed/changed.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2025-11-09 21:58:31 +01:00
parent d668192324
commit c3ee2059db
@@ -34,6 +34,13 @@ buildPythonPackage rec {
url = "https://github.com/pycurl/pycurl/commit/eb7f52eeef85feb6c117678d52803050bbdd7bc8.patch";
hash = "sha256-hdwazS7R9duuMd/7S3SNAxVcToo3GhtyWu/1Q6qTMYc=";
})
# curl 8.17+ compatibility
# https://github.com/pycurl/pycurl/pull/909
(fetchpatch {
name = "pycurl-8.17.0-compat.patch";
url = "https://github.com/pycurl/pycurl/commit/ea92e3ca230a3ff3d464cb6816102fa157177aca.patch";
hash = "sha256-kmlsG0SFfS9FdRNp8pPgudcWK6hSyD9x5oAedZLgBcY=";
})
];
preConfigure = ''