node-gyp: 12.1.0 -> 12.2.0 (#485426)
This commit is contained in:
+321
-679
File diff suppressed because it is too large
Load Diff
@@ -6,18 +6,18 @@
|
||||
nodejs,
|
||||
}:
|
||||
|
||||
(buildNpmPackage.override { inherit nodejs; }) rec {
|
||||
buildNpmPackage rec {
|
||||
pname = "node-gyp";
|
||||
version = "12.1.0";
|
||||
version = "12.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nodejs";
|
||||
repo = "node-gyp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-2BiRCFpGtuV/mL3U3jUkN1Tw91ON78y9iabDM0CMm2U=";
|
||||
hash = "sha256-0XTv7kDc5Mt7e4VuVQeuJusIxwQzePm4PaE9ms6oRoM=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-1ARSkUAIId0Y2xtyNjJ4FVx7y6kHZhYi83e4T4A2qS8=";
|
||||
npmDepsHash = "sha256-MflhEEUuzhXb6HTdnz2pvfZJN5w4/dAQ6Cw/C5jSbLs=";
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${./package-lock.json} package-lock.json
|
||||
@@ -25,6 +25,8 @@
|
||||
--replace-quiet sys.platform '"${stdenv.targetPlatform.parsed.kernel.name}"'
|
||||
'';
|
||||
|
||||
inherit nodejs;
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
# Teach node-gyp to use nodejs headers locally rather that download them form https://nodejs.org.
|
||||
|
||||
Reference in New Issue
Block a user