nodejs*: remove http-parser dependency
http-parser has been unmaintained for a long time, and is marked to only be enabled with nodejs versions older than 11.4, which was released back in 2018, and the 11.x series was made EOL around that same time. Therefore, there is absolutely no need to keep this around.
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
zlib,
|
||||
libuv,
|
||||
sqlite,
|
||||
http-parser,
|
||||
icu,
|
||||
bash,
|
||||
ninja,
|
||||
@@ -99,16 +98,11 @@ let
|
||||
null;
|
||||
# TODO: also handle MIPS flags (mips_arch, mips_fpu, mips_float_abi).
|
||||
|
||||
useSharedHttpParser =
|
||||
!stdenv.hostPlatform.isDarwin && lib.versionOlder "${majorVersion}.${minorVersion}" "11.4";
|
||||
useSharedSQLite = lib.versionAtLeast version "22.5";
|
||||
|
||||
sharedLibDeps = {
|
||||
inherit openssl zlib libuv;
|
||||
}
|
||||
// (lib.optionalAttrs useSharedHttpParser {
|
||||
inherit http-parser;
|
||||
})
|
||||
// (lib.optionalAttrs useSharedSQLite {
|
||||
inherit sqlite;
|
||||
});
|
||||
@@ -191,7 +185,6 @@ let
|
||||
zlib
|
||||
libuv
|
||||
openssl
|
||||
http-parser
|
||||
icu
|
||||
bash
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user