Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl: add hyper support #357552

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading