Unverified Commit 485cea8b authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

node-gyp: 12.1.0 -> 12.2.0 (#485426)

parents 5f43785f 1e961e19
Loading
Loading
Loading
Loading
+313 −671

File changed.

Preview size limit exceeded, changes collapsed.

+6 −4
Original line number Diff line number Diff line
@@ -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.