mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
curl: add psl support
This commit is contained in:
parent
da30a0cfb8
commit
1e4864e295
@ -22,6 +22,7 @@
|
||||
, c-aresSupport ? false, c-ares ? null
|
||||
, brotliSupport ? false, brotli ? null
|
||||
, rtmpSupport ? false, rtmpdump ? null
|
||||
, pslSupport ? false, libpsl ? null
|
||||
}:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
@ -46,6 +47,7 @@ assert brotliSupport -> brotli != null;
|
||||
assert gsaslSupport -> gsasl != null;
|
||||
assert gssSupport -> libkrb5 != null;
|
||||
assert rtmpSupport -> rtmpdump !=null;
|
||||
assert pslSupport -> libpsl !=null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "curl";
|
||||
@ -89,7 +91,8 @@ stdenv.mkDerivation rec {
|
||||
optional wolfsslSupport wolfssl ++
|
||||
optional scpSupport libssh2 ++
|
||||
optional brotliSupport brotli ++
|
||||
optional rtmpSupport rtmpdump;
|
||||
optional rtmpSupport rtmpdump ++
|
||||
optional pslSupport libpsl;
|
||||
|
||||
# for the second line see https://curl.haxx.se/mail/tracker-2014-03/0087.html
|
||||
preConfigure = ''
|
||||
|
@ -4402,6 +4402,7 @@ with pkgs;
|
||||
ldapSupport = true;
|
||||
gsaslSupport = true;
|
||||
rtmpSupport = true;
|
||||
pslSupport = true;
|
||||
};
|
||||
|
||||
curl = curlMinimal.override ({
|
||||
|
Loading…
Reference in New Issue
Block a user