forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsharedLibDeps.nix
More file actions
55 lines (55 loc) · 1.11 KB
/
Copy pathsharedLibDeps.nix
File metadata and controls
55 lines (55 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
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;
})