mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #60130 from lo1tuma/nodejs-12_staging
nodejs-12_x: init at 12.0.0
This commit is contained in:
commit
5340c05e04
3 changed files with 19 additions and 2 deletions
|
@ -1,14 +1,14 @@
|
|||
{ stdenv, lib, fetchpatch, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, ApplicationServices, CoreServices }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.27.0";
|
||||
version = "1.28.0";
|
||||
pname = "libuv";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1nhd3772qymlv0b251wg9rrqz279vki4hnd4s23yyll0kpmzkpac";
|
||||
sha256 = "0l0gx69sdy3sv3pirjbca2ws54n9d83mj0j96h77k0ncywimvi64";
|
||||
};
|
||||
|
||||
postPatch = let
|
||||
|
|
10
pkgs/development/web/nodejs/v12.nix
Normal file
10
pkgs/development/web/nodejs/v12.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ stdenv, callPackage, lib, openssl, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix { inherit openssl; };
|
||||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
version = "12.0.0";
|
||||
sha256 = "0y7wrf7id3zawfgqcscbbxmll4h1ij7mwxms14wcywfswm88bi4k";
|
||||
}
|
|
@ -4079,6 +4079,13 @@ in
|
|||
enableNpm = false;
|
||||
openssl = openssl_1_1;
|
||||
};
|
||||
nodejs-12_x = callPackage ../development/web/nodejs/v12.nix {
|
||||
openssl = openssl_1_1;
|
||||
};
|
||||
nodejs-slim-12_x = callPackage ../development/web/nodejs/v12.nix {
|
||||
enableNpm = false;
|
||||
openssl = openssl_1_1;
|
||||
};
|
||||
|
||||
nodePackages_10_x = dontRecurseIntoAttrs (callPackage ../development/node-packages/default-v10.nix {
|
||||
nodejs = pkgs.nodejs-10_x;
|
||||
|
|
Loading…
Reference in a new issue