Files
node/tools/nix/sharedLibDeps.nix
T
Antoine du Hamel 339062296e tools: store "default" OpenSSL version in openssl-matrix.nix
To help with automating keeping in sync with the bundled version.

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/64962
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Aviv Keller <me@aviv.sh>
2026-08-04 16:34:32 +00:00

56 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 ({
inherit (import ./openssl-matrix.nix { inherit pkgs; }) openssl;
}))
// (pkgs.lib.optionalAttrs withTemporal {
inherit (pkgs) temporal_capi;
})