mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
Add minimal package set for Node.js 10.x
This commit is contained in:
parent
b70ccf8a7b
commit
05474564b2
17
pkgs/development/node-packages/composition-v10.nix
Normal file
17
pkgs/development/node-packages/composition-v10.nix
Normal file
@ -0,0 +1,17 @@
|
||||
# This file has been generated by node2nix 1.6.0. Do not edit!
|
||||
|
||||
{pkgs ? import <nixpkgs> {
|
||||
inherit system;
|
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
|
||||
|
||||
let
|
||||
nodeEnv = import ./node-env.nix {
|
||||
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
|
||||
inherit nodejs;
|
||||
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
|
||||
};
|
||||
in
|
||||
import ./node-packages-v10.nix {
|
||||
inherit (pkgs) fetchurl fetchgit;
|
||||
inherit nodeEnv;
|
||||
}
|
8
pkgs/development/node-packages/default-v10.nix
Normal file
8
pkgs/development/node-packages/default-v10.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{pkgs, system, nodejs, stdenv}:
|
||||
|
||||
let
|
||||
nodePackages = import ./composition-v10.nix {
|
||||
inherit pkgs system nodejs;
|
||||
};
|
||||
in
|
||||
nodePackages
|
@ -4,3 +4,4 @@
|
||||
rm -f node-env.nix
|
||||
node2nix -6 -i node-packages-v6.json -o node-packages-v6.nix -c composition-v6.nix
|
||||
node2nix -8 -i node-packages-v8.json -o node-packages-v8.nix -c composition-v8.nix
|
||||
node2nix --nodejs-10 -i node-packages-v10.json -o node-packages-v10.nix -c composition-v10.nix
|
||||
|
5
pkgs/development/node-packages/node-packages-v10.json
Normal file
5
pkgs/development/node-packages/node-packages-v10.json
Normal file
@ -0,0 +1,5 @@
|
||||
[
|
||||
"bower"
|
||||
, "coffee-script"
|
||||
, "grunt-cli"
|
||||
]
|
213
pkgs/development/node-packages/node-packages-v10.nix
Normal file
213
pkgs/development/node-packages/node-packages-v10.nix
Normal file
@ -0,0 +1,213 @@
|
||||
# This file has been generated by node2nix 1.6.0. Do not edit!
|
||||
|
||||
{nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}:
|
||||
|
||||
let
|
||||
sources = {
|
||||
"abbrev-1.1.1" = {
|
||||
name = "abbrev";
|
||||
packageName = "abbrev";
|
||||
version = "1.1.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz";
|
||||
sha512 = "nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==";
|
||||
};
|
||||
};
|
||||
"balanced-match-1.0.0" = {
|
||||
name = "balanced-match";
|
||||
packageName = "balanced-match";
|
||||
version = "1.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz";
|
||||
sha1 = "89b4d199ab2bee49de164ea02b89ce462d71b767";
|
||||
};
|
||||
};
|
||||
"brace-expansion-1.1.11" = {
|
||||
name = "brace-expansion";
|
||||
packageName = "brace-expansion";
|
||||
version = "1.1.11";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz";
|
||||
sha512 = "iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==";
|
||||
};
|
||||
};
|
||||
"concat-map-0.0.1" = {
|
||||
name = "concat-map";
|
||||
packageName = "concat-map";
|
||||
version = "0.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz";
|
||||
sha1 = "d8a96bd77fd68df7793a73036a3ba0d5405d477b";
|
||||
};
|
||||
};
|
||||
"findup-sync-0.3.0" = {
|
||||
name = "findup-sync";
|
||||
packageName = "findup-sync";
|
||||
version = "0.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz";
|
||||
sha1 = "37930aa5d816b777c03445e1966cc6790a4c0b16";
|
||||
};
|
||||
};
|
||||
"glob-5.0.15" = {
|
||||
name = "glob";
|
||||
packageName = "glob";
|
||||
version = "5.0.15";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz";
|
||||
sha1 = "1bc936b9e02f4a603fcc222ecf7633d30b8b93b1";
|
||||
};
|
||||
};
|
||||
"grunt-known-options-1.1.0" = {
|
||||
name = "grunt-known-options";
|
||||
packageName = "grunt-known-options";
|
||||
version = "1.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.0.tgz";
|
||||
sha1 = "a4274eeb32fa765da5a7a3b1712617ce3b144149";
|
||||
};
|
||||
};
|
||||
"inflight-1.0.6" = {
|
||||
name = "inflight";
|
||||
packageName = "inflight";
|
||||
version = "1.0.6";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz";
|
||||
sha1 = "49bd6331d7d02d0c09bc910a1075ba8165b56df9";
|
||||
};
|
||||
};
|
||||
"inherits-2.0.3" = {
|
||||
name = "inherits";
|
||||
packageName = "inherits";
|
||||
version = "2.0.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz";
|
||||
sha1 = "633c2c83e3da42a502f52466022480f4208261de";
|
||||
};
|
||||
};
|
||||
"minimatch-3.0.4" = {
|
||||
name = "minimatch";
|
||||
packageName = "minimatch";
|
||||
version = "3.0.4";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz";
|
||||
sha512 = "yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==";
|
||||
};
|
||||
};
|
||||
"nopt-3.0.6" = {
|
||||
name = "nopt";
|
||||
packageName = "nopt";
|
||||
version = "3.0.6";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz";
|
||||
sha1 = "c6465dbf08abcd4db359317f79ac68a646b28ff9";
|
||||
};
|
||||
};
|
||||
"once-1.4.0" = {
|
||||
name = "once";
|
||||
packageName = "once";
|
||||
version = "1.4.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/once/-/once-1.4.0.tgz";
|
||||
sha1 = "583b1aa775961d4b113ac17d9c50baef9dd76bd1";
|
||||
};
|
||||
};
|
||||
"path-is-absolute-1.0.1" = {
|
||||
name = "path-is-absolute";
|
||||
packageName = "path-is-absolute";
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz";
|
||||
sha1 = "174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f";
|
||||
};
|
||||
};
|
||||
"resolve-1.1.7" = {
|
||||
name = "resolve";
|
||||
packageName = "resolve";
|
||||
version = "1.1.7";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz";
|
||||
sha1 = "203114d82ad2c5ed9e8e0411b3932875e889e97b";
|
||||
};
|
||||
};
|
||||
"wrappy-1.0.2" = {
|
||||
name = "wrappy";
|
||||
packageName = "wrappy";
|
||||
version = "1.0.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz";
|
||||
sha1 = "b5243d8f3ec1aa35f1364605bc0d1036e30ab69f";
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
bower = nodeEnv.buildNodePackage {
|
||||
name = "bower";
|
||||
packageName = "bower";
|
||||
version = "1.8.4";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/bower/-/bower-1.8.4.tgz";
|
||||
sha1 = "e7876a076deb8137f7d06525dc5e8c66db82f28a";
|
||||
};
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "The browser package manager";
|
||||
homepage = http://bower.io/;
|
||||
license = "MIT";
|
||||
};
|
||||
production = true;
|
||||
bypassCache = true;
|
||||
};
|
||||
coffee-script = nodeEnv.buildNodePackage {
|
||||
name = "coffee-script";
|
||||
packageName = "coffee-script";
|
||||
version = "1.12.7";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.7.tgz";
|
||||
sha512 = "fLeEhqwymYat/MpTPUjSKHVYYl0ec2mOyALEMLmzr5i1isuG+6jfI2j2d5oBO3VIzgUXgBVIcOT9uH1TFxBckw==";
|
||||
};
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Unfancy JavaScript";
|
||||
homepage = http://coffeescript.org/;
|
||||
license = "MIT";
|
||||
};
|
||||
production = true;
|
||||
bypassCache = true;
|
||||
};
|
||||
grunt-cli = nodeEnv.buildNodePackage {
|
||||
name = "grunt-cli";
|
||||
packageName = "grunt-cli";
|
||||
version = "1.2.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.2.0.tgz";
|
||||
sha1 = "562b119ebb069ddb464ace2845501be97b35b6a8";
|
||||
};
|
||||
dependencies = [
|
||||
sources."abbrev-1.1.1"
|
||||
sources."balanced-match-1.0.0"
|
||||
sources."brace-expansion-1.1.11"
|
||||
sources."concat-map-0.0.1"
|
||||
sources."findup-sync-0.3.0"
|
||||
sources."glob-5.0.15"
|
||||
sources."grunt-known-options-1.1.0"
|
||||
sources."inflight-1.0.6"
|
||||
sources."inherits-2.0.3"
|
||||
sources."minimatch-3.0.4"
|
||||
sources."nopt-3.0.6"
|
||||
sources."once-1.4.0"
|
||||
sources."path-is-absolute-1.0.1"
|
||||
sources."resolve-1.1.7"
|
||||
sources."wrappy-1.0.2"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "The grunt command line interface";
|
||||
homepage = "https://github.com/gruntjs/grunt-cli#readme";
|
||||
license = "MIT";
|
||||
};
|
||||
production = true;
|
||||
bypassCache = true;
|
||||
};
|
||||
}
|
@ -3536,6 +3536,10 @@ with pkgs;
|
||||
openssl = openssl_1_1_0;
|
||||
};
|
||||
|
||||
nodePackages_10_x = callPackage ../development/node-packages/default-v10.nix {
|
||||
nodejs = pkgs.nodejs-10_x;
|
||||
};
|
||||
|
||||
nodePackages_8_x = callPackage ../development/node-packages/default-v8.nix {
|
||||
nodejs = pkgs.nodejs-8_x;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user