Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/63036 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{
|
|
pkgs ? import ./pkgs.nix { },
|
|
withLief ? true,
|
|
withQuic ? false,
|
|
withSQLite ? true,
|
|
withSSL ? true,
|
|
withFFI ? true,
|
|
withTemporal ? false,
|
|
}:
|
|
{
|
|
inherit (pkgs)
|
|
ada
|
|
brotli
|
|
gtest
|
|
libuv
|
|
merve
|
|
nbytes
|
|
simdjson
|
|
simdutf
|
|
uvwasi
|
|
zlib
|
|
zstd
|
|
;
|
|
cares = pkgs.c-ares;
|
|
hdr-histogram = pkgs.hdrhistogram_c;
|
|
http-parser = pkgs.llhttp;
|
|
nghttp2 = pkgs.nghttp2.overrideAttrs {
|
|
version = "1.69.0";
|
|
src = pkgs.fetchurl {
|
|
url = "https://github.com/nghttp2/nghttp2/releases/download/v1.69.0/nghttp2-1.69.0.tar.bz2";
|
|
hash = "sha256-PxhfWxw+d4heuc8/LE2ksan3OiS/WVe4KRg60Tf4Lcg=";
|
|
};
|
|
};
|
|
}
|
|
// (pkgs.lib.optionalAttrs withLief {
|
|
inherit (pkgs) lief;
|
|
})
|
|
// (pkgs.lib.optionalAttrs withQuic {
|
|
inherit (pkgs)
|
|
nghttp3
|
|
ngtcp2
|
|
;
|
|
})
|
|
// (pkgs.lib.optionalAttrs withSQLite {
|
|
inherit (pkgs) sqlite;
|
|
})
|
|
// (pkgs.lib.optionalAttrs withFFI {
|
|
ffi = pkgs.libffiReal;
|
|
})
|
|
// (pkgs.lib.optionalAttrs withSSL ({
|
|
openssl = (import ./openssl-matrix.nix { inherit pkgs; }).openssl_3_5;
|
|
}))
|
|
// (pkgs.lib.optionalAttrs withTemporal {
|
|
inherit (pkgs) temporal_capi;
|
|
})
|