Skip to content

Commit

Permalink
curl: add hyper support
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Nov 20, 2024
1 parent 09cf4ee commit 8bee890
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/by-name/cu/curlMinimal/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
, scpSupport ? zlibSupport && !stdenv.hostPlatform.isSunOS && !stdenv.hostPlatform.isCygwin, libssh2
, wolfsslSupport ? false, wolfssl
, rustlsSupport ? false, rustls-ffi
, hyperSupport ? false, libhyper
, zlibSupport ? true, zlib
, zstdSupport ? false, zstd

Expand Down Expand Up @@ -108,6 +109,7 @@ stdenv.mkDerivation (finalAttrs: {
lib.optional scpSupport libssh2 ++
lib.optional wolfsslSupport wolfssl ++
lib.optional rustlsSupport rustls-ffi ++
lib.optional hyperSupport libhyper ++
lib.optional zlibSupport zlib ++
lib.optional zstdSupport zstd ++
lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
Expand Down Expand Up @@ -140,6 +142,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.withFeature http3Support "nghttp3")
(lib.withFeature http3Support "ngtcp2")
(lib.withFeature rtmpSupport "librtmp")
(lib.withFeatureAs hyperSupport "hyper" (toString libhyper))
(lib.withFeature rustlsSupport "rustls")
(lib.withFeature zstdSupport "zstd")
(lib.withFeature pslSupport "libpsl")
Expand Down

0 comments on commit 8bee890

Please sign in to comment.