mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #31655 from Ma27/repackage-everything-with-node2nix
Repackage everything with node2nix
This commit is contained in:
commit
f38e9cb127
16 changed files with 2127 additions and 62763 deletions
|
@ -1,43 +0,0 @@
|
|||
{ stdenv, lib, fetchFromGitHub, callPackage, python, utillinux}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
nodePackages = callPackage ../../../../top-level/node-packages.nix {
|
||||
neededNatives = [ python ];
|
||||
self = nodePackages;
|
||||
generated = ./quassel-webserver.nix;
|
||||
};
|
||||
|
||||
in nodePackages.buildNodePackage rec {
|
||||
name = "quassel-webserver-${version}";
|
||||
version = "2.1.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "magne4000";
|
||||
repo = "quassel-webserver";
|
||||
rev = "dda457f38795d15565557a8629085063fa6a7378";
|
||||
sha256 = "0syglfdmjnssxdiak1dw8cns5f736v58zmlsh81dvxww90gx3k7h";
|
||||
};
|
||||
buildInputs = nodePackages.nativeDeps."quassel-webserver" or [];
|
||||
deps = [ nodePackages.by-spec."body-parser"."^1.15.2"
|
||||
nodePackages.by-spec."commander"."^2.9.0"
|
||||
nodePackages.by-spec."cookie-parser"."~1.4.3"
|
||||
nodePackages.by-spec."express"."^4.14.0"
|
||||
nodePackages.by-spec."jade"."~1.11.0"
|
||||
nodePackages.by-spec."less"."^2.7.1"
|
||||
nodePackages.by-spec."less-middleware"."^2.2.0"
|
||||
nodePackages.by-spec."libquassel"."~2.0.5"
|
||||
nodePackages.by-spec."morgan"."^1.7.0"
|
||||
nodePackages.by-spec."net-browserify-alt"."^1.0.0"
|
||||
nodePackages.by-spec."serve-favicon"."~2.3.0"
|
||||
];
|
||||
peerDependencies = [];
|
||||
|
||||
meta = {
|
||||
description = "A web server/client for Quassel";
|
||||
license = licenses.mit;
|
||||
homepage = https://github.com/magne4000/quassel-webserver;
|
||||
maintainers = with maintainers; [ uwap ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -1,49 +0,0 @@
|
|||
{ stdenv, fetchFromGitHub, callPackage, python, utillinux }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
nodePackages = callPackage (import ../../../../top-level/node-packages.nix) {
|
||||
neededNatives = [ python ] ++ optional (stdenv.isLinux) utillinux;
|
||||
self = nodePackages;
|
||||
generated = ./package.nix;
|
||||
};
|
||||
|
||||
in nodePackages.buildNodePackage rec {
|
||||
name = "shout-${version}";
|
||||
version = "0.53.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "erming";
|
||||
repo = "shout";
|
||||
rev = "2cee0ea6ef5ee51de0190332f976934b55bbc8e4";
|
||||
sha256 = "1kci1qha1csb9sqb4ig487q612hgdn5lycbcpad7m9r6chn835qg";
|
||||
};
|
||||
|
||||
buildInputs = nodePackages.nativeDeps."shout" or [];
|
||||
|
||||
deps = [
|
||||
nodePackages.by-spec."bcrypt-nodejs"."0.0.3"
|
||||
nodePackages.by-spec."cheerio"."^0.17.0"
|
||||
nodePackages.by-spec."commander"."^2.3.0"
|
||||
nodePackages.by-spec."event-stream"."^3.1.7"
|
||||
nodePackages.by-spec."express"."^4.9.5"
|
||||
nodePackages.by-spec."lodash"."~2.4.1"
|
||||
nodePackages.by-spec."mkdirp"."^0.5.0"
|
||||
nodePackages.by-spec."moment"."~2.7.0"
|
||||
nodePackages.by-spec."read"."^1.0.5"
|
||||
nodePackages.by-spec."request"."^2.51.0"
|
||||
nodePackages.by-spec."slate-irc"."~0.7.3"
|
||||
nodePackages.by-spec."socket.io"."~1.0.6"
|
||||
];
|
||||
|
||||
peerDependencies = [];
|
||||
|
||||
meta = {
|
||||
description = "Web IRC client that you host on your own server";
|
||||
license = licenses.mit;
|
||||
homepage = http://shout-irc.com/;
|
||||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -67,10 +67,12 @@
|
|||
, "phantomjs"
|
||||
, "prettier"
|
||||
, "pulp"
|
||||
, "quassel-webserver"
|
||||
, "react-tools"
|
||||
, "s3http"
|
||||
, "semver"
|
||||
, "serve"
|
||||
, "shout"
|
||||
, "sinopia"
|
||||
, "sloc"
|
||||
, "smartdc"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,39 +1,70 @@
|
|||
{ stdenv, fetchgit, callPackage, python, utillinux }:
|
||||
{ stdenv, fetchFromGitHub, callPackage, python, utillinux
|
||||
, pkgs, makeWrapper, buildEnv
|
||||
, nodejs
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
nodePackages = callPackage (import ../../../top-level/node-packages.nix) {
|
||||
neededNatives = [python] ++ optional (stdenv.isLinux) utillinux;
|
||||
self = nodePackages;
|
||||
generated = ./package.nix;
|
||||
let
|
||||
nodePackages = import ./node.nix {
|
||||
inherit pkgs;
|
||||
system = stdenv.system;
|
||||
};
|
||||
|
||||
runtimeEnv = buildEnv {
|
||||
name = "airfield-runtime";
|
||||
paths = with nodePackages; [
|
||||
nodePackages."express-3.0.5" nodePackages."swig-0.14.0"
|
||||
nodePackages."consolidate-0.10.0" redis connect-redis
|
||||
async request
|
||||
];
|
||||
};
|
||||
|
||||
in nodePackages.buildNodePackage rec {
|
||||
name = "airfield-${version}";
|
||||
version = "5ae816562a";
|
||||
version = "2015-01-04";
|
||||
|
||||
src = [(fetchgit {
|
||||
url = https://github.com/emblica/airfield.git;
|
||||
rev = version;
|
||||
sha256 = "0rv05pq0xdm0d977dc3hg6dam78acymzrdvkxs8ga8xj4vfs5npk";
|
||||
})];
|
||||
src = stdenv.mkDerivation {
|
||||
name = "${name}-src";
|
||||
inherit version;
|
||||
|
||||
deps = (filter (v: nixType v == "derivation") (attrValues nodePackages));
|
||||
src = fetchFromGitHub {
|
||||
owner = "emblica";
|
||||
repo = "airfield";
|
||||
rev = "f021b19a35be3db9be7780318860f3b528c48641";
|
||||
sha256 = "1xk69x89kgg98hm7c2ysyfmg7pkvgkpg4wym6v5cmdkdid08fsgs";
|
||||
};
|
||||
|
||||
preInstall = ''
|
||||
substituteInPlace node_modules/Airfield/airfield.js \
|
||||
--replace "'./settings'" "process.env.NODE_CONFIG"
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -R . $out
|
||||
'';
|
||||
};
|
||||
in stdenv.mkDerivation {
|
||||
inherit name version src;
|
||||
|
||||
buildInputs = [ makeWrapper nodejs ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cat >$out/bin/airfield <<EOF
|
||||
#!${stdenv.shell}/bin/sh
|
||||
${nodejs}/bin/node ${src}/airfield.js
|
||||
EOF
|
||||
'';
|
||||
|
||||
passthru.names = ["Airfield"];
|
||||
postFixup = ''
|
||||
chmod +x $out/bin/airfield
|
||||
wrapProgram $out/bin/airfield \
|
||||
--set NODE_PATH "${runtimeEnv}/lib/node_modules"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A web-interface for hipache-proxy";
|
||||
license = licenses.mit;
|
||||
homepage = https://github.com/emblica/airfield;
|
||||
maintainers = with maintainers; [offline];
|
||||
maintainers = with maintainers; [ offline ma27 ];
|
||||
platforms = platforms.linux;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
|
8
pkgs/tools/networking/airfield/deps.json
Normal file
8
pkgs/tools/networking/airfield/deps.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
[ { "express": "3.0.5" }
|
||||
, { "swig": "0.14.0" }
|
||||
, { "consolidate": "0.10.0" }
|
||||
, "redis"
|
||||
, "connect-redis"
|
||||
, "async"
|
||||
, "request"
|
||||
]
|
6
pkgs/tools/networking/airfield/deps.sh
Executable file
6
pkgs/tools/networking/airfield/deps.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p nodePackages.node2nix
|
||||
|
||||
node2nix -6 -i deps.json \
|
||||
--no-copy-node-env \
|
||||
-e ../../../development/node-packages/node-env.nix -c node.nix
|
883
pkgs/tools/networking/airfield/node-packages.nix
Normal file
883
pkgs/tools/networking/airfield/node-packages.nix
Normal file
|
@ -0,0 +1,883 @@
|
|||
# This file has been generated by node2nix 1.4.0. Do not edit!
|
||||
|
||||
{nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}:
|
||||
|
||||
let
|
||||
sources = {
|
||||
"connect-2.7.1" = {
|
||||
name = "connect";
|
||||
packageName = "connect";
|
||||
version = "2.7.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/connect/-/connect-2.7.1.tgz";
|
||||
sha1 = "b869df9acf3dd8a0af7523c7c6f1aa8b4b761daa";
|
||||
};
|
||||
};
|
||||
"commander-0.6.1" = {
|
||||
name = "commander";
|
||||
packageName = "commander";
|
||||
version = "0.6.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz";
|
||||
sha1 = "fa68a14f6a945d54dbbe50d8cdb3320e9e3b1a06";
|
||||
};
|
||||
};
|
||||
"range-parser-0.0.4" = {
|
||||
name = "range-parser";
|
||||
packageName = "range-parser";
|
||||
version = "0.0.4";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz";
|
||||
sha1 = "c0427ffef51c10acba0782a46c9602e744ff620b";
|
||||
};
|
||||
};
|
||||
"mkdirp-0.3.3" = {
|
||||
name = "mkdirp";
|
||||
packageName = "mkdirp";
|
||||
version = "0.3.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.3.tgz";
|
||||
sha1 = "595e251c1370c3a68bab2136d0e348b8105adf13";
|
||||
};
|
||||
};
|
||||
"cookie-0.0.5" = {
|
||||
name = "cookie";
|
||||
packageName = "cookie";
|
||||
version = "0.0.5";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz";
|
||||
sha1 = "f9acf9db57eb7568c9fcc596256b7bb22e307c81";
|
||||
};
|
||||
};
|
||||
"buffer-crc32-0.1.1" = {
|
||||
name = "buffer-crc32";
|
||||
packageName = "buffer-crc32";
|
||||
version = "0.1.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.1.1.tgz";
|
||||
sha1 = "7e110dc9953908ab7c32acdc70c9f945b1cbc526";
|
||||
};
|
||||
};
|
||||
"fresh-0.1.0" = {
|
||||
name = "fresh";
|
||||
packageName = "fresh";
|
||||
version = "0.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz";
|
||||
sha1 = "03e4b0178424e4c2d5d19a54d8814cdc97934850";
|
||||
};
|
||||
};
|
||||
"methods-0.0.1" = {
|
||||
name = "methods";
|
||||
packageName = "methods";
|
||||
version = "0.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/methods/-/methods-0.0.1.tgz";
|
||||
sha1 = "277c90f8bef39709645a8371c51c3b6c648e068c";
|
||||
};
|
||||
};
|
||||
"send-0.1.0" = {
|
||||
name = "send";
|
||||
packageName = "send";
|
||||
version = "0.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/send/-/send-0.1.0.tgz";
|
||||
sha1 = "cfb08ebd3cec9b7fc1a37d9ff9e875a971cf4640";
|
||||
};
|
||||
};
|
||||
"cookie-signature-0.0.1" = {
|
||||
name = "cookie-signature";
|
||||
packageName = "cookie-signature";
|
||||
version = "0.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/cookie-signature/-/cookie-signature-0.0.1.tgz";
|
||||
sha1 = "13d3603b5cf63befbf85a8801e37aa900db46985";
|
||||
};
|
||||
};
|
||||
"debug-3.1.0" = {
|
||||
name = "debug";
|
||||
packageName = "debug";
|
||||
version = "3.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz";
|
||||
sha512 = "3g1hqsahr1ks2kpvdxrwzr57fj90nnr0hvwwrw8yyyzcv3i11sym8zwibxx67bl1mln0acddrzpkkdjjxnc6n2cm9fazmgzzsl1fzrr";
|
||||
};
|
||||
};
|
||||
"qs-0.5.1" = {
|
||||
name = "qs";
|
||||
packageName = "qs";
|
||||
version = "0.5.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/qs/-/qs-0.5.1.tgz";
|
||||
sha1 = "9f6bf5d9ac6c76384e95d36d15b48980e5e4add0";
|
||||
};
|
||||
};
|
||||
"formidable-1.0.11" = {
|
||||
name = "formidable";
|
||||
packageName = "formidable";
|
||||
version = "1.0.11";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/formidable/-/formidable-1.0.11.tgz";
|
||||
sha1 = "68f63325a035e644b6f7bb3d11243b9761de1b30";
|
||||
};
|
||||
};
|
||||
"crc-0.2.0" = {
|
||||
name = "crc";
|
||||
packageName = "crc";
|
||||
version = "0.2.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/crc/-/crc-0.2.0.tgz";
|
||||
sha1 = "f4486b9bf0a12df83c3fca14e31e030fdabd9454";
|
||||
};
|
||||
};
|
||||
"bytes-0.1.0" = {
|
||||
name = "bytes";
|
||||
packageName = "bytes";
|
||||
version = "0.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/bytes/-/bytes-0.1.0.tgz";
|
||||
sha1 = "c574812228126d6369d1576925a8579db3f8e5a2";
|
||||
};
|
||||
};
|
||||
"pause-0.0.1" = {
|
||||
name = "pause";
|
||||
packageName = "pause";
|
||||
version = "0.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz";
|
||||
sha1 = "1d408b3fdb76923b9543d96fb4c9dfd535d9cb5d";
|
||||
};
|
||||
};
|
||||
"mime-1.2.6" = {
|
||||
name = "mime";
|
||||
packageName = "mime";
|
||||
version = "1.2.6";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/mime/-/mime-1.2.6.tgz";
|
||||
sha1 = "b1f86c768c025fa87b48075f1709f28aeaf20365";
|
||||
};
|
||||
};
|
||||
"ms-2.0.0" = {
|
||||
name = "ms";
|
||||
packageName = "ms";
|
||||
version = "2.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz";
|
||||
sha1 = "5608aeadfc00be6c2901df5f9861788de0d597c8";
|
||||
};
|
||||
};
|
||||
"underscore-1.8.3" = {
|
||||
name = "underscore";
|
||||
packageName = "underscore";
|
||||
version = "1.8.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz";
|
||||
sha1 = "4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022";
|
||||
};
|
||||
};
|
||||
"double-ended-queue-2.1.0-0" = {
|
||||
name = "double-ended-queue";
|
||||
packageName = "double-ended-queue";
|
||||
version = "2.1.0-0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz";
|
||||
sha1 = "103d3527fd31528f40188130c841efdd78264e5c";
|
||||
};
|
||||
};
|
||||
"redis-commands-1.3.1" = {
|
||||
name = "redis-commands";
|
||||
packageName = "redis-commands";
|
||||
version = "1.3.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/redis-commands/-/redis-commands-1.3.1.tgz";
|
||||
sha1 = "81d826f45fa9c8b2011f4cd7a0fe597d241d442b";
|
||||
};
|
||||
};
|
||||
"redis-parser-2.6.0" = {
|
||||
name = "redis-parser";
|
||||
packageName = "redis-parser";
|
||||
version = "2.6.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/redis-parser/-/redis-parser-2.6.0.tgz";
|
||||
sha1 = "52ed09dacac108f1a631c07e9b69941e7a19504b";
|
||||
};
|
||||
};
|
||||
"redis-2.8.0" = {
|
||||
name = "redis";
|
||||
packageName = "redis";
|
||||
version = "2.8.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/redis/-/redis-2.8.0.tgz";
|
||||
sha512 = "3a3044ax6qdvss83xgjfx10h5q91ls0mwgs3wpsnxcdsiipq3cnmqzsh6glyq0r7vsmpw49jp84c2jnfrhi2bgycrkd9hhhf6ia8lrk";
|
||||
};
|
||||
};
|
||||
"lodash-4.17.4" = {
|
||||
name = "lodash";
|
||||
packageName = "lodash";
|
||||
version = "4.17.4";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz";
|
||||
sha1 = "78203a4d1c328ae1d86dca6460e369b57f4055ae";
|
||||
};
|
||||
};
|
||||
"aws-sign2-0.7.0" = {
|
||||
name = "aws-sign2";
|
||||
packageName = "aws-sign2";
|
||||
version = "0.7.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz";
|
||||
sha1 = "b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8";
|
||||
};
|
||||
};
|
||||
"aws4-1.6.0" = {
|
||||
name = "aws4";
|
||||
packageName = "aws4";
|
||||
version = "1.6.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz";
|
||||
sha1 = "83ef5ca860b2b32e4a0deedee8c771b9db57471e";
|
||||
};
|
||||
};
|
||||
"caseless-0.12.0" = {
|
||||
name = "caseless";
|
||||
packageName = "caseless";
|
||||
version = "0.12.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz";
|
||||
sha1 = "1b681c21ff84033c826543090689420d187151dc";
|
||||
};
|
||||
};
|
||||
"combined-stream-1.0.5" = {
|
||||
name = "combined-stream";
|
||||
packageName = "combined-stream";
|
||||
version = "1.0.5";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz";
|
||||
sha1 = "938370a57b4a51dea2c77c15d5c5fdf895164009";
|
||||
};
|
||||
};
|
||||
"extend-3.0.1" = {
|
||||
name = "extend";
|
||||
packageName = "extend";
|
||||
version = "3.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz";
|
||||
sha1 = "a755ea7bc1adfcc5a31ce7e762dbaadc5e636444";
|
||||
};
|
||||
};
|
||||
"forever-agent-0.6.1" = {
|
||||
name = "forever-agent";
|
||||
packageName = "forever-agent";
|
||||
version = "0.6.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz";
|
||||
sha1 = "fbc71f0c41adeb37f96c577ad1ed42d8fdacca91";
|
||||
};
|
||||
};
|
||||
"form-data-2.3.1" = {
|
||||
name = "form-data";
|
||||
packageName = "form-data";
|
||||
version = "2.3.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/form-data/-/form-data-2.3.1.tgz";
|
||||
sha1 = "6fb94fbd71885306d73d15cc497fe4cc4ecd44bf";
|
||||
};
|
||||
};
|
||||
"har-validator-5.0.3" = {
|
||||
name = "har-validator";
|
||||
packageName = "har-validator";
|
||||
version = "5.0.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz";
|
||||
sha1 = "ba402c266194f15956ef15e0fcf242993f6a7dfd";
|
||||
};
|
||||
};
|
||||
"hawk-6.0.2" = {
|
||||
name = "hawk";
|
||||
packageName = "hawk";
|
||||
version = "6.0.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/hawk/-/hawk-6.0.2.tgz";
|
||||
sha512 = "1nl2hjr2mnhj5jlaz8mh54z7acwz5j5idkch04qgjk78756gw5d0fjk4a2immil5ij9ijdssb9ndpryvnh2xpcbgcjv8lxybn330als";
|
||||
};
|
||||
};
|
||||
"http-signature-1.2.0" = {
|
||||
name = "http-signature";
|
||||
packageName = "http-signature";
|
||||
version = "1.2.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz";
|
||||
sha1 = "9aecd925114772f3d95b65a60abb8f7c18fbace1";
|
||||
};
|
||||
};
|
||||
"is-typedarray-1.0.0" = {
|
||||
name = "is-typedarray";
|
||||
packageName = "is-typedarray";
|
||||
version = "1.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz";
|
||||
sha1 = "e479c80858df0c1b11ddda6940f96011fcda4a9a";
|
||||
};
|
||||
};
|
||||
"isstream-0.1.2" = {
|
||||
name = "isstream";
|
||||
packageName = "isstream";
|
||||
version = "0.1.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz";
|
||||
sha1 = "47e63f7af55afa6f92e1500e690eb8b8529c099a";
|
||||
};
|
||||
};
|
||||
"json-stringify-safe-5.0.1" = {
|
||||
name = "json-stringify-safe";
|
||||
packageName = "json-stringify-safe";
|
||||
version = "5.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz";
|
||||
sha1 = "1296a2d58fd45f19a0f6ce01d65701e2c735b6eb";
|
||||
};
|
||||
};
|
||||
"mime-types-2.1.17" = {
|
||||
name = "mime-types";
|
||||
packageName = "mime-types";
|
||||
version = "2.1.17";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz";
|
||||
sha1 = "09d7a393f03e995a79f8af857b70a9e0ab16557a";
|
||||
};
|
||||
};
|
||||
"oauth-sign-0.8.2" = {
|
||||
name = "oauth-sign";
|
||||
packageName = "oauth-sign";
|
||||
version = "0.8.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz";
|
||||
sha1 = "46a6ab7f0aead8deae9ec0565780b7d4efeb9d43";
|
||||
};
|
||||
};
|
||||
"performance-now-2.1.0" = {
|
||||
name = "performance-now";
|
||||
packageName = "performance-now";
|
||||
version = "2.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz";
|
||||
sha1 = "6309f4e0e5fa913ec1c69307ae364b4b377c9e7b";
|
||||
};
|
||||
};
|
||||
"qs-6.5.1" = {
|
||||
name = "qs";
|
||||
packageName = "qs";
|
||||
version = "6.5.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz";
|
||||
sha512 = "3waqapyj1k4g135sgj636rmswiaixq19is1rw0rpv4qp6k7dl0a9nwy06m7yl5lbdk9p6xpwwngnggbzlzaz6rh11c86j2nvnnf273r";
|
||||
};
|
||||
};
|
||||
"safe-buffer-5.1.1" = {
|
||||
name = "safe-buffer";
|
||||
packageName = "safe-buffer";
|
||||
version = "5.1.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz";
|
||||
sha512 = "1p28rllll1w65yzq5azi4izx962399xdsdlfbaynn7vmp981hiss05jhiy9hm7sbbfk3b4dhlcv0zy07fc59mnc07hdv6wcgqkcvawh";
|
||||
};
|
||||
};
|
||||
"stringstream-0.0.5" = {
|
||||
name = "stringstream";
|
||||
packageName = "stringstream";
|
||||
version = "0.0.5";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz";
|
||||
sha1 = "4e484cd4de5a0bbbee18e46307710a8a81621878";
|
||||
};
|
||||
};
|
||||
"tough-cookie-2.3.3" = {
|
||||
name = "tough-cookie";
|
||||
packageName = "tough-cookie";
|
||||
version = "2.3.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz";
|
||||
sha1 = "0b618a5565b6dea90bf3425d04d55edc475a7561";
|
||||
};
|
||||
};
|
||||
"tunnel-agent-0.6.0" = {
|
||||
name = "tunnel-agent";
|
||||
packageName = "tunnel-agent";
|
||||
version = "0.6.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz";
|
||||
sha1 = "27a5dea06b36b04a0a9966774b290868f0fc40fd";
|
||||
};
|
||||
};
|
||||
"uuid-3.1.0" = {
|
||||
name = "uuid";
|
||||
packageName = "uuid";
|
||||
version = "3.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz";
|
||||
sha512 = "3x5mi85l1559nkb35pfksjjgiyfyqrcvmcf0nly1xjl1kb0d37jnxd6sk0b8d331waadnqbf60nfssb563x9pvnjcw87lrh976sv18c";
|
||||
};
|
||||
};
|
||||
"delayed-stream-1.0.0" = {
|
||||
name = "delayed-stream";
|
||||
packageName = "delayed-stream";
|
||||
version = "1.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz";
|
||||
sha1 = "df3ae199acadfb7d440aaae0b29e2272b24ec619";
|
||||
};
|
||||
};
|
||||
"asynckit-0.4.0" = {
|
||||
name = "asynckit";
|
||||
packageName = "asynckit";
|
||||
version = "0.4.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz";
|
||||
sha1 = "c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79";
|
||||
};
|
||||
};
|
||||
"ajv-5.3.0" = {
|
||||
name = "ajv";
|
||||
packageName = "ajv";
|
||||
version = "5.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/ajv/-/ajv-5.3.0.tgz";
|
||||
sha1 = "4414ff74a50879c208ee5fdc826e32c303549eda";
|
||||
};
|
||||
};
|
||||
"har-schema-2.0.0" = {
|
||||
name = "har-schema";
|
||||
packageName = "har-schema";
|
||||
version = "2.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz";
|
||||
sha1 = "a94c2224ebcac04782a0d9035521f24735b7ec92";
|
||||
};
|
||||
};
|
||||
"co-4.6.0" = {
|
||||
name = "co";
|
||||
packageName = "co";
|
||||
version = "4.6.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/co/-/co-4.6.0.tgz";
|
||||
sha1 = "6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184";
|
||||
};
|
||||
};
|
||||
"fast-deep-equal-1.0.0" = {
|
||||
name = "fast-deep-equal";
|
||||
packageName = "fast-deep-equal";
|
||||
version = "1.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz";
|
||||
sha1 = "96256a3bc975595eb36d82e9929d060d893439ff";
|
||||
};
|
||||
};
|
||||
"fast-json-stable-stringify-2.0.0" = {
|
||||
name = "fast-json-stable-stringify";
|
||||
packageName = "fast-json-stable-stringify";
|
||||
version = "2.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz";
|
||||
sha1 = "d5142c0caee6b1189f87d3a76111064f86c8bbf2";
|
||||
};
|
||||
};
|
||||
"json-schema-traverse-0.3.1" = {
|
||||
name = "json-schema-traverse";
|
||||
packageName = "json-schema-traverse";
|
||||
version = "0.3.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz";
|
||||
sha1 = "349a6d44c53a51de89b40805c5d5e59b417d3340";
|
||||
};
|
||||
};
|
||||
"hoek-4.2.0" = {
|
||||
name = "hoek";
|
||||
packageName = "hoek";
|
||||
version = "4.2.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/hoek/-/hoek-4.2.0.tgz";
|
||||
sha512 = "2cz0q3nnv67drgaw2rm7q57r9rgdax1qa0n4z46is7db1w8vwmh574xcr0d73xl5lg80vb85xg2gdhxzh9gbllagp7xk2q228pw4idz";
|
||||
};
|
||||
};
|
||||
"boom-4.3.1" = {
|
||||
name = "boom";
|
||||
packageName = "boom";
|
||||
version = "4.3.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/boom/-/boom-4.3.1.tgz";
|
||||
sha1 = "4f8a3005cb4a7e3889f749030fd25b96e01d2e31";
|
||||
};
|
||||
};
|
||||
"cryptiles-3.1.2" = {
|
||||
name = "cryptiles";
|
||||
packageName = "cryptiles";
|
||||
version = "3.1.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/cryptiles/-/cryptiles-3.1.2.tgz";
|
||||
sha1 = "a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe";
|
||||
};
|
||||
};
|
||||
"sntp-2.1.0" = {
|
||||
name = "sntp";
|
||||
packageName = "sntp";
|
||||
version = "2.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/sntp/-/sntp-2.1.0.tgz";
|
||||
sha512 = "0k2smmr24w5hb1cpql6vcgh58vzp4pmh9anf0bgz3arlsgq1mapnlq9fjqr6xs10aq1cmxaw987fwknqi62frax0fvs9bj3q3kmpg8l";
|
||||
};
|
||||
};
|
||||
"boom-5.2.0" = {
|
||||
name = "boom";
|
||||
packageName = "boom";
|
||||
version = "5.2.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/boom/-/boom-5.2.0.tgz";
|
||||
sha512 = "19h20yqpvca08dns1rs4f057f10w63v0snxfml4h5khsk266x3x1im0w72bza4k2xn0kfz6jlv001dhcvxsjr09bmbqnysils9m7437";
|
||||
};
|
||||
};
|
||||
"assert-plus-1.0.0" = {
|
||||
name = "assert-plus";
|
||||
packageName = "assert-plus";
|
||||
version = "1.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz";
|
||||
sha1 = "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525";
|
||||
};
|
||||
};
|
||||
"jsprim-1.4.1" = {
|
||||
name = "jsprim";
|
||||
packageName = "jsprim";
|
||||
version = "1.4.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz";
|
||||
sha1 = "313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2";
|
||||
};
|
||||
};
|
||||
"sshpk-1.13.1" = {
|
||||
name = "sshpk";
|
||||
packageName = "sshpk";
|
||||
version = "1.13.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz";
|
||||
sha1 = "512df6da6287144316dc4c18fe1cf1d940739be3";
|
||||
};
|
||||
};
|
||||
"extsprintf-1.3.0" = {
|
||||
name = "extsprintf";
|
||||
packageName = "extsprintf";
|
||||
version = "1.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz";
|
||||
sha1 = "96918440e3041a7a414f8c52e3c574eb3c3e1e05";
|
||||
};
|
||||
};
|
||||
"json-schema-0.2.3" = {
|
||||
name = "json-schema";
|
||||
packageName = "json-schema";
|
||||
version = "0.2.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz";
|
||||
sha1 = "b480c892e59a2f05954ce727bd3f2a4e882f9e13";
|
||||
};
|
||||
};
|
||||
"verror-1.10.0" = {
|
||||
name = "verror";
|
||||
packageName = "verror";
|
||||
version = "1.10.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz";
|
||||
sha1 = "3a105ca17053af55d6e270c1f8288682e18da400";
|
||||
};
|
||||
};
|
||||
"core-util-is-1.0.2" = {
|
||||
name = "core-util-is";
|
||||
packageName = "core-util-is";
|
||||
version = "1.0.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz";
|
||||
sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7";
|
||||
};
|
||||
};
|
||||
"asn1-0.2.3" = {
|
||||
name = "asn1";
|
||||
packageName = "asn1";
|
||||
version = "0.2.3";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz";
|
||||
sha1 = "dac8787713c9966849fc8180777ebe9c1ddf3b86";
|
||||
};
|
||||
};
|
||||
"dashdash-1.14.1" = {
|
||||
name = "dashdash";
|
||||
packageName = "dashdash";
|
||||
version = "1.14.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz";
|
||||
sha1 = "853cfa0f7cbe2fed5de20326b8dd581035f6e2f0";
|
||||
};
|
||||
};
|
||||
"getpass-0.1.7" = {
|
||||
name = "getpass";
|
||||
packageName = "getpass";
|
||||
version = "0.1.7";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz";
|
||||
sha1 = "5eff8e3e684d569ae4cb2b1282604e8ba62149fa";
|
||||
};
|
||||
};
|
||||
"jsbn-0.1.1" = {
|
||||
name = "jsbn";
|
||||
packageName = "jsbn";
|
||||
version = "0.1.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz";
|
||||
sha1 = "a5e654c2e5a2deb5f201d96cefbca80c0ef2f513";
|
||||
};
|
||||
};
|
||||
"tweetnacl-0.14.5" = {
|
||||
name = "tweetnacl";
|
||||
packageName = "tweetnacl";
|
||||
version = "0.14.5";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz";
|
||||
sha1 = "5ae68177f192d4456269d108afa93ff8743f4f64";
|
||||
};
|
||||
};
|
||||
"ecc-jsbn-0.1.1" = {
|
||||
name = "ecc-jsbn";
|
||||
packageName = "ecc-jsbn";
|
||||
version = "0.1.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz";
|
||||
sha1 = "0fc73a9ed5f0d53c38193398523ef7e543777505";
|
||||
};
|
||||
};
|
||||
"bcrypt-pbkdf-1.0.1" = {
|
||||
name = "bcrypt-pbkdf";
|
||||
packageName = "bcrypt-pbkdf";
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz";
|
||||
sha1 = "63bc5dcb61331b92bc05fd528953c33462a06f8d";
|
||||
};
|
||||
};
|
||||
"mime-db-1.30.0" = {
|
||||
name = "mime-db";
|
||||
packageName = "mime-db";
|
||||
version = "1.30.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz";
|
||||
sha1 = "74c643da2dd9d6a45399963465b26d5ca7d71f01";
|
||||
};
|
||||
};
|
||||
"punycode-1.4.1" = {
|
||||
name = "punycode";
|
||||
packageName = "punycode";
|
||||
version = "1.4.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz";
|
||||
sha1 = "c0d5a63b2718800ad8e1eb0fa5269c84dd41845e";
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
"express-3.0.5" = nodeEnv.buildNodePackage {
|
||||
name = "express";
|
||||
packageName = "express";
|
||||
version = "3.0.5";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/express/-/express-3.0.5.tgz";
|
||||
sha1 = "4c6e5850e6b5e8ca2af57f21ed7097de50948b73";
|
||||
};
|
||||
dependencies = [
|
||||
sources."connect-2.7.1"
|
||||
sources."commander-0.6.1"
|
||||
sources."range-parser-0.0.4"
|
||||
sources."mkdirp-0.3.3"
|
||||
sources."cookie-0.0.5"
|
||||
sources."buffer-crc32-0.1.1"
|
||||
sources."fresh-0.1.0"
|
||||
sources."methods-0.0.1"
|
||||
sources."send-0.1.0"
|
||||
sources."cookie-signature-0.0.1"
|
||||
sources."debug-3.1.0"
|
||||
sources."qs-0.5.1"
|
||||
sources."formidable-1.0.11"
|
||||
sources."crc-0.2.0"
|
||||
sources."bytes-0.1.0"
|
||||
sources."pause-0.0.1"
|
||||
sources."mime-1.2.6"
|
||||
sources."ms-2.0.0"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Sinatra inspired web development framework";
|
||||
};
|
||||
production = true;
|
||||
};
|
||||
"swig-0.14.0" = nodeEnv.buildNodePackage {
|
||||
name = "swig";
|
||||
packageName = "swig";
|
||||
version = "0.14.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/swig/-/swig-0.14.0.tgz";
|
||||
sha1 = "544bfb3bd837608873eed6a72c672a28cb1f1b3f";
|
||||
};
|
||||
dependencies = [
|
||||
sources."underscore-1.8.3"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "A fast django-like templating engine for node.js and browsers.";
|
||||
};
|
||||
production = true;
|
||||
};
|
||||
"consolidate-0.10.0" = nodeEnv.buildNodePackage {
|
||||
name = "consolidate";
|
||||
packageName = "consolidate";
|
||||
version = "0.10.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/consolidate/-/consolidate-0.10.0.tgz";
|
||||
sha1 = "81f1a6ceba1247df9cef7a261ce527c2ce538f7a";
|
||||
};
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Template engine consolidation library";
|
||||
homepage = https://github.com/visionmedia/consolidate.js;
|
||||
};
|
||||
production = true;
|
||||
};
|
||||
redis = nodeEnv.buildNodePackage {
|
||||
name = "redis";
|
||||
packageName = "redis";
|
||||
version = "2.8.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/redis/-/redis-2.8.0.tgz";
|
||||
sha512 = "3a3044ax6qdvss83xgjfx10h5q91ls0mwgs3wpsnxcdsiipq3cnmqzsh6glyq0r7vsmpw49jp84c2jnfrhi2bgycrkd9hhhf6ia8lrk";
|
||||
};
|
||||
dependencies = [
|
||||
sources."double-ended-queue-2.1.0-0"
|
||||
sources."redis-commands-1.3.1"
|
||||
sources."redis-parser-2.6.0"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Redis client library";
|
||||
homepage = https://github.com/NodeRedis/node_redis;
|
||||
license = "MIT";
|
||||
};
|
||||
production = true;
|
||||
};
|
||||
connect-redis = nodeEnv.buildNodePackage {
|
||||
name = "connect-redis";
|
||||
packageName = "connect-redis";
|
||||
version = "3.3.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/connect-redis/-/connect-redis-3.3.2.tgz";
|
||||
sha512 = "3w8bsdsqpz407jwgac2qa2lp08551xlqmsfyps1q7p0c80lx1dwip148rjc5fgm5w845al5c30i6rypggp4h6nhqzdk1jf0vyagbrkc";
|
||||
};
|
||||
dependencies = [
|
||||
sources."debug-3.1.0"
|
||||
sources."redis-2.8.0"
|
||||
sources."ms-2.0.0"
|
||||
sources."double-ended-queue-2.1.0-0"
|
||||
sources."redis-commands-1.3.1"
|
||||
sources."redis-parser-2.6.0"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Redis session store for Connect";
|
||||
homepage = "https://github.com/visionmedia/connect-redis#readme";
|
||||
license = "MIT";
|
||||
};
|
||||
production = true;
|
||||
};
|
||||
async = nodeEnv.buildNodePackage {
|
||||
name = "async";
|
||||
packageName = "async";
|
||||
version = "2.6.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/async/-/async-2.6.0.tgz";
|
||||
sha512 = "0zp4b5788400npi1ixjry5x3a4m21c8pnknk8v731rgnwnjbp5ijmfcf5ppmn1ap4a04md1s9dr8n9ygdvrmiai590v0k6dby1wc1y4";
|
||||
};
|
||||
dependencies = [
|
||||
sources."lodash-4.17.4"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Higher-order functions and common patterns for asynchronous code";
|
||||
homepage = https://caolan.github.io/async/;
|
||||
license = "MIT";
|
||||
};
|
||||
production = true;
|
||||
};
|
||||
request = nodeEnv.buildNodePackage {
|
||||
name = "request";
|
||||
packageName = "request";
|
||||
version = "2.83.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/request/-/request-2.83.0.tgz";
|
||||
sha512 = "0by1djkn836sqd9pk2c777wcjvp34qbk1plx7s4lmykljrblpjc64dvn6ni2vyxsbyk33wnl6avym8vgw0ggr4226xakck8mw7y07cm";
|
||||
};
|
||||
dependencies = [
|
||||
sources."aws-sign2-0.7.0"
|
||||
sources."aws4-1.6.0"
|
||||
sources."caseless-0.12.0"
|
||||
sources."combined-stream-1.0.5"
|
||||
sources."extend-3.0.1"
|
||||
sources."forever-agent-0.6.1"
|
||||
sources."form-data-2.3.1"
|
||||
sources."har-validator-5.0.3"
|
||||
sources."hawk-6.0.2"
|
||||
sources."http-signature-1.2.0"
|
||||
sources."is-typedarray-1.0.0"
|
||||
sources."isstream-0.1.2"
|
||||
sources."json-stringify-safe-5.0.1"
|
||||
sources."mime-types-2.1.17"
|
||||
sources."oauth-sign-0.8.2"
|
||||
sources."performance-now-2.1.0"
|
||||
sources."qs-6.5.1"
|
||||
sources."safe-buffer-5.1.1"
|
||||
sources."stringstream-0.0.5"
|
||||
sources."tough-cookie-2.3.3"
|
||||
sources."tunnel-agent-0.6.0"
|
||||
sources."uuid-3.1.0"
|
||||
sources."delayed-stream-1.0.0"
|
||||
sources."asynckit-0.4.0"
|
||||
sources."ajv-5.3.0"
|
||||
sources."har-schema-2.0.0"
|
||||
sources."co-4.6.0"
|
||||
sources."fast-deep-equal-1.0.0"
|
||||
sources."fast-json-stable-stringify-2.0.0"
|
||||
sources."json-schema-traverse-0.3.1"
|
||||
sources."hoek-4.2.0"
|
||||
sources."boom-5.2.0"
|
||||
sources."cryptiles-3.1.2"
|
||||
sources."sntp-2.1.0"
|
||||
sources."assert-plus-1.0.0"
|
||||
sources."jsprim-1.4.1"
|
||||
sources."sshpk-1.13.1"
|
||||
sources."extsprintf-1.3.0"
|
||||
sources."json-schema-0.2.3"
|
||||
sources."verror-1.10.0"
|
||||
sources."core-util-is-1.0.2"
|
||||
sources."asn1-0.2.3"
|
||||
sources."dashdash-1.14.1"
|
||||
sources."getpass-0.1.7"
|
||||
sources."jsbn-0.1.1"
|
||||
sources."tweetnacl-0.14.5"
|
||||
sources."ecc-jsbn-0.1.1"
|
||||
sources."bcrypt-pbkdf-1.0.1"
|
||||
sources."mime-db-1.30.0"
|
||||
sources."punycode-1.4.1"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Simplified HTTP request client.";
|
||||
homepage = "https://github.com/request/request#readme";
|
||||
license = "Apache-2.0";
|
||||
};
|
||||
production = true;
|
||||
};
|
||||
}
|
16
pkgs/tools/networking/airfield/node.nix
Normal file
16
pkgs/tools/networking/airfield/node.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
# This file has been generated by node2nix 1.4.0. Do not edit!
|
||||
|
||||
{pkgs ? import <nixpkgs> {
|
||||
inherit system;
|
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-6_x"}:
|
||||
|
||||
let
|
||||
nodeEnv = import ../../../development/node-packages/node-env.nix {
|
||||
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
|
||||
inherit nodejs;
|
||||
};
|
||||
in
|
||||
import ./node-packages.nix {
|
||||
inherit (pkgs) fetchurl fetchgit;
|
||||
inherit nodeEnv;
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -4380,7 +4380,7 @@ with pkgs;
|
|||
|
||||
shotwell = callPackage ../applications/graphics/shotwell { };
|
||||
|
||||
shout = callPackage ../applications/networking/irc/shout { };
|
||||
shout = nodePackages.shout;
|
||||
|
||||
shellinabox = callPackage ../servers/shellinabox { };
|
||||
|
||||
|
@ -16324,7 +16324,7 @@ with pkgs;
|
|||
withKDE = false;
|
||||
};
|
||||
|
||||
quassel-webserver = callPackage ../applications/networking/irc/quassel-webserver { };
|
||||
quassel-webserver = nodePackages.quassel-webserver;
|
||||
|
||||
quirc = callPackage ../tools/graphics/quirc {};
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,192 +0,0 @@
|
|||
[
|
||||
"async"
|
||||
, "almond"
|
||||
, "amdefine"
|
||||
, "ansi-remover"
|
||||
, "assert"
|
||||
, "aws-sdk"
|
||||
, "backbone"
|
||||
, "bcrypt"
|
||||
, "bip-pod-alchemy"
|
||||
, "bip-pod-chain"
|
||||
, "bip-pod-circonus"
|
||||
, "bip-pod-coindesk"
|
||||
, "bip-pod-craigslist"
|
||||
, "bip-pod-crypto"
|
||||
, "bip-pod-dropbox"
|
||||
, "bip-pod-embedly"
|
||||
, "bip-pod-evernote"
|
||||
, "bip-pod-facebook"
|
||||
, "bip-pod-flickr"
|
||||
, "bip-pod-github"
|
||||
, "bip-pod-github"
|
||||
, "bip-pod-github"
|
||||
, "bip-pod-gmail"
|
||||
, "bip-pod-google"
|
||||
, "bip-pod-google-drive"
|
||||
, "bip-pod-imgur"
|
||||
, "bip-pod-instagram"
|
||||
, "bip-pod-kato"
|
||||
, "bip-pod-keenio"
|
||||
, "bip-pod-mailchimp"
|
||||
, "bip-pod-mailgun"
|
||||
, "bip-pod-mixcloud"
|
||||
, "bip-pod-mongodb"
|
||||
, "bip-pod-numerous"
|
||||
, "bip-pod-pushbullet"
|
||||
, "bip-pod-pusher"
|
||||
, "bip-pod-soundcloud"
|
||||
, "bip-pod-statuscake"
|
||||
, "bip-pod-todoist"
|
||||
, "bip-pod-trello"
|
||||
, "bip-pod-trello"
|
||||
, "bip-pod-twilio"
|
||||
, "bip-pod-twitter"
|
||||
, "bip-pod-witai"
|
||||
, "bip-pod-wordpress"
|
||||
, "bip-pod-zoho"
|
||||
, "bipio"
|
||||
, "bower"
|
||||
, "bower2nix"
|
||||
, "browserchannel"
|
||||
, "browserify"
|
||||
, "buffertools"
|
||||
, "castnow"
|
||||
, "chai"
|
||||
, "coffee-script"
|
||||
, "connect-flash"
|
||||
, "connect-jade-static"
|
||||
, "connect-mongo"
|
||||
, "cordova"
|
||||
, "coveralls"
|
||||
, "deepmerge"
|
||||
, "docker-registry-server"
|
||||
, "escape-html"
|
||||
, "eslint"
|
||||
, "express"
|
||||
, "express-form"
|
||||
, "extend"
|
||||
, "faye-websocket"
|
||||
, "flatiron"
|
||||
, "forever"
|
||||
, "forever-monitor"
|
||||
, "fs-walk"
|
||||
, "git-run"
|
||||
, "gridfs-stream"
|
||||
, "grunt-cli"
|
||||
, "grunt-contrib-cssmin"
|
||||
, "grunt-contrib-eslint"
|
||||
, "grunt-contrib-jshint"
|
||||
, "grunt-contrib-less"
|
||||
, "grunt-contrib-requirejs"
|
||||
, "grunt-contrib-uglify"
|
||||
, "grunt-karma"
|
||||
, "grunt-sed"
|
||||
, "gulp"
|
||||
, "gzippo"
|
||||
, "hipache"
|
||||
, "i18next"
|
||||
, "ironhorse"
|
||||
, "istanbul"
|
||||
, "jade"
|
||||
, "jayschema"
|
||||
, "jfs"
|
||||
, "js-yaml"
|
||||
, "jshint"
|
||||
, "json"
|
||||
, "jsontool"
|
||||
, "karma"
|
||||
, "karma-chrome-launcher"
|
||||
, "karma-coverage"
|
||||
, "karma-junit-reporter"
|
||||
, "karma-mocha"
|
||||
, "karma-requirejs"
|
||||
, "karma-sauce-launcher"
|
||||
, "knox"
|
||||
, "kue"
|
||||
, "lcov-result-merger"
|
||||
, "less"
|
||||
, "ltx"
|
||||
, "marked"
|
||||
, "meat"
|
||||
, "mkdirp"
|
||||
, "mocha"
|
||||
, "mocha-phantomjs"
|
||||
, "mocha-unfunk-reporter"
|
||||
, "mongoose-schema-extend"
|
||||
, "nconf"
|
||||
, "nib"
|
||||
, "nijs"
|
||||
, "node-expat"
|
||||
, "node-gyp"
|
||||
, "node-inspector"
|
||||
, "node-protobuf"
|
||||
, "node-red"
|
||||
, "node-stringprep"
|
||||
, "node-uuid"
|
||||
, "node-xmpp-client"
|
||||
, "node-xmpp-component"
|
||||
, "node-xmpp-core"
|
||||
, "node-xmpp-joap"
|
||||
, "node-xmpp-server"
|
||||
, "node-xmpp-serviceadmin"
|
||||
, "nodemon"
|
||||
, "npm"
|
||||
, "npm-check-updates"
|
||||
, "optimist"
|
||||
, "optparse"
|
||||
, "owl-deepcopy"
|
||||
, { "parsoid": "0.4.1" }
|
||||
, "passport"
|
||||
, "passport-http"
|
||||
, "passport-local"
|
||||
, "peerflix"
|
||||
, "peerflix-server"
|
||||
, "phantomjs"
|
||||
, "plist-native"
|
||||
, "posix"
|
||||
, "pure"
|
||||
, "react"
|
||||
, "react-tools"
|
||||
, "redis"
|
||||
, "rethinkdb"
|
||||
, "rollup"
|
||||
, "s3http"
|
||||
, "selenium-webdriver"
|
||||
, "semver"
|
||||
, "shelljs"
|
||||
, "should"
|
||||
, "sinon"
|
||||
, "sinopia"
|
||||
, "slasp"
|
||||
, "sleep"
|
||||
, "sloc"
|
||||
, "smartdc"
|
||||
, "sockjs"
|
||||
, "source-map"
|
||||
, "stylus"
|
||||
, "svgo"
|
||||
, "tar"
|
||||
, "temp"
|
||||
, "tern"
|
||||
, "timezone"
|
||||
, "titanium"
|
||||
, "typescript"
|
||||
, "uglify-js"
|
||||
, "underscore"
|
||||
, "ungit"
|
||||
, "view-helpers"
|
||||
, "walk"
|
||||
, "webdrvr"
|
||||
, "webpack"
|
||||
, "winston"
|
||||
, "wscat"
|
||||
, "wu"
|
||||
, "x509"
|
||||
, "yarn"
|
||||
, { "guifi-earth": "https://github.com/jmendeth/guifi-earth/tarball/f3ee96835fd4fb0e3e12fadbd2cb782770d64854 " }
|
||||
, { "mongoose": "3.6.x" }
|
||||
, { "node-uptime": "https://github.com/fzaninotto/uptime/tarball/1c65756575f90f563a752e2a22892ba2981c79b7" }
|
||||
, { "npm2nix": "git://github.com/NixOS/npm2nix.git#5.12.0" }
|
||||
, { "swig": "0.14.x" }
|
||||
]
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
stdenv, pkgs, nodejs
|
||||
|
||||
# Self-reference
|
||||
, self
|
||||
|
||||
# Needed natives for installation
|
||||
, neededNatives ? [pkgs.python] ++ stdenv.lib.optionals stdenv.isLinux [ pkgs.utillinux ]
|
||||
|
||||
# Attribute set of generated packages
|
||||
, generated ? pkgs.callPackage ./node-packages-generated.nix { inherit self; }
|
||||
|
||||
# Attribute set of overrides
|
||||
, overrides ? {}
|
||||
, ...
|
||||
} @ args:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
removeDeps = remove: deps: filterAttrs (n: d: all (r: r != d.pkgName) remove) deps;
|
||||
replaceDep = replace: deps: mapAttrs (n: d: if d.pkgName == replace.pkgName then replace else d) deps;
|
||||
in rec {
|
||||
overrides = {
|
||||
phantomjs.buildInputs = [ pkgs.phantomjs ];
|
||||
"node-expat".buildInputs = [ pkgs.expat ];
|
||||
"node-stringprep".buildInputs = [ pkgs.icu pkgs.which ];
|
||||
"node-protobuf".buildInputs = [ pkgs.protobuf ];
|
||||
|
||||
"tap-0.3.3".patchPhase = ''
|
||||
substituteInPlace package.json --replace '"tap-consumer",' ""
|
||||
'';
|
||||
"node-uptime" = (p: {
|
||||
# Net-ping is not really used
|
||||
patchPhase = ''
|
||||
${self.json}/bin/json -I -f package.json -e 'delete this.dependencies["net-ping"]'
|
||||
'';
|
||||
deps = removeDeps ["net-ping"] p.deps;
|
||||
});
|
||||
bipio = (p: {
|
||||
patchPhase = ''
|
||||
substituteInPlace src/bootstrap.js --replace "memwatch = require('memwatch')," ""
|
||||
${self.json}/bin/json -I -f package.json -e 'this.scripts.install=""'
|
||||
${self.json}/bin/json -I -f package.json -e 'delete this.dependencies.sleep'
|
||||
${self.json}/bin/json -I -f package.json -e 'delete this.dependencies.memwatch'
|
||||
${self.json}/bin/json -I -f package.json -e 'delete this.dependencies["webkit-devtools-agent"]'
|
||||
'';
|
||||
deps = replaceDep self.sleep (removeDeps ["memwatch" "webkit-devtools-agent"] p.deps);
|
||||
});
|
||||
bip-pod.patchPhase = ''
|
||||
substituteInPlace index.js --replace \
|
||||
"__dirname + (literal ? '/' : '/../bip-pod-') + podName" \
|
||||
"(literal ? __dirname + '/' : \"bip-pod-\") + podName"
|
||||
'';
|
||||
webdrvr.preBuild = ''
|
||||
mkdir ../webdrvr
|
||||
ln -s ${pkgs.fetchurl {
|
||||
url = "https://selenium-release.storage.googleapis.com/2.43/selenium-server-standalone-2.43.1.jar";
|
||||
sha1 = "ef1b5f8ae9c99332f99ba8794988a1d5b974d27b";
|
||||
}} ../webdrvr/selenium-server-standalone-2.43.1.jar
|
||||
ln -s ${pkgs.fetchurl {
|
||||
url = "http://chromedriver.storage.googleapis.com/2.10/chromedriver_linux64.zip";
|
||||
sha1 = "26220f7e43ee3c0d714860db61c4d0ecc9bb3d89";
|
||||
}} ../webdrvr/chromedriver_linux64.zip
|
||||
'';
|
||||
bower2nix.buildInputs = [ pkgs.makeWrapper ];
|
||||
bower2nix.postInstall = ''
|
||||
for prog in bower2nix fetch-bower; do
|
||||
wrapProgram "$out/bin/$prog" --prefix PATH : ${stdenv.lib.makeBinPath [ pkgs.git pkgs.nix ]}
|
||||
done
|
||||
'';
|
||||
} // args.overrides or {};
|
||||
|
||||
# Apply overrides and back compatiblity transformations
|
||||
buildNodePackage = {...} @ args:
|
||||
let
|
||||
pkg = makeOverridable (
|
||||
pkgs.callPackage ../development/web/nodejs/build-node-package.nix {
|
||||
inherit nodejs neededNatives;
|
||||
}
|
||||
) (args // (optionalAttrs (isList args.src) {
|
||||
# Backwards compatibility
|
||||
src = head args.src;
|
||||
}) // (optionalAttrs (attrByPath ["passthru" "names"] null args != null) {
|
||||
pkgName = head args.passthru.names;
|
||||
}));
|
||||
|
||||
override = overrides.${args.name} or overrides.${pkg.pkgName} or {};
|
||||
|
||||
in pkg.override override;
|
||||
|
||||
# Backwards compatibility
|
||||
patchSource = fn: srcAttrs: fn srcAttrs;
|
||||
patchLatest = patchSource pkgs.fetchurl;
|
||||
|
||||
/* Put manual packages below here (ideally eventually managed by npm2nix */
|
||||
} // (
|
||||
if isAttrs generated then generated
|
||||
|
||||
# Backwards compatiblity
|
||||
else pkgs.callPackage generated { inherit self; }
|
||||
)
|
Loading…
Reference in a new issue