forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsharedLibDeps.nix
More file actions
73 lines (73 loc) · 1.71 KB
/
sharedLibDeps.nix
File metadata and controls
73 lines (73 loc) · 1.71 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
pkgs ? import ./pkgs.nix { },
withLief ? true,
withQuic ? false,
withSQLite ? true,
withSSL ? true,
withTemporal ? false,
}:
{
inherit (pkgs)
ada
brotli
gtest
libuv
nbytes
simdjson
simdutf
uvwasi
zlib
zstd
;
cares = pkgs.c-ares;
hdr-histogram = pkgs.hdrhistogram_c;
http-parser = pkgs.llhttp;
merve = pkgs.callPackage (builtins.fetchurl {
url = "https://github.com/NixOS/nixpkgs/raw/469b8e35e54d2880d73337c5ef2f1416b9b1dd43/pkgs/by-name/me/merve/package.nix";
sha256 = "0r2fmip48hcy4za6xfaml627x9m4218g6vlk5fiajmypfvxybzfy";
}) { };
nghttp2 = pkgs.nghttp2.overrideAttrs {
patches = [
(pkgs.fetchpatch2 {
url = "https://github.com/nghttp2/nghttp2/commit/7784fa979d0bcf801a35f1afbb25fb048d815cd7.patch?full_index=1";
revert = true;
excludes = [ "lib/includes/nghttp2/nghttp2.h" ];
hash = "sha256-RG87Qifjpl7HTP9ac2JwHj2XAbDlFgOpAnpZX3ET6gU=";
})
];
};
}
// (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 withSSL {
openssl = pkgs.openssl.overrideAttrs (old: {
version = "3.5.4";
src = pkgs.fetchurl {
url = builtins.replaceStrings [ old.version ] [ "3.5.4" ] old.src.url;
hash = "sha256-lnMR+ElVMWlpvbHY1LmDcY70IzhjnGIexMNP3e81Xpk=";
};
doCheck = false;
configureFlags = (old.configureFlags or [ ]) ++ [
"no-docs"
"no-tests"
];
outputs = [
"bin"
"out"
"dev"
];
});
})
// (pkgs.lib.optionalAttrs withTemporal {
inherit (pkgs) temporal_capi;
})