2024-05-02 00:46:19 +00:00
|
|
|
{ ... }:
|
|
|
|
res: pkgs: super:
|
|
|
|
|
2024-06-30 08:16:52 +00:00
|
|
|
with pkgs; {
|
2024-05-02 00:46:19 +00:00
|
|
|
curlFull = curl.override {
|
|
|
|
ldapSupport = true;
|
|
|
|
gsaslSupport = true;
|
|
|
|
rtmpSupport = true;
|
|
|
|
pslSupport = true;
|
|
|
|
websocketSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
curlHTTP3 = curl.override {
|
|
|
|
openssl = quictls;
|
|
|
|
http3Support = true;
|
|
|
|
};
|
|
|
|
|
2024-06-30 08:16:52 +00:00
|
|
|
curl = curlMinimal.override (
|
|
|
|
{
|
|
|
|
idnSupport = true;
|
|
|
|
pslSupport = true;
|
|
|
|
zstdSupport = true;
|
|
|
|
}
|
|
|
|
// lib.optionalAttrs (!stdenv.hostPlatform.isStatic) { brotliSupport = true; }
|
|
|
|
);
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
curlMinimal = callPackage ./. { };
|
|
|
|
|
2024-06-30 08:16:52 +00:00
|
|
|
curlWithGnuTls = curl.override {
|
|
|
|
gnutlsSupport = true;
|
|
|
|
opensslSupport = false;
|
|
|
|
};
|
2024-05-02 00:46:19 +00:00
|
|
|
}
|