nixui: migrate to node2nix

This commit is contained in:
Sander van der Burg 2016-08-31 12:34:13 +00:00
parent 5ce6cd0106
commit 792f50fe7c
7 changed files with 127 additions and 633 deletions

View File

@ -7,7 +7,10 @@ let
rev = "845a5f4a33f1d0c509c727c130d0792a5b450a38";
sha256 = "1ay3i4lgzs3axbby06l4vvspxi0aa9pwiil84qj0dqq1jb6isara";
};
nixui = (import ./node-default.nix { nixui = src; inherit pkgs; }).build;
nixui = (import ./nixui.nix {
inherit pkgs;
inherit (stdenv) system;
})."nixui-git://github.com/matejc/nixui.git#0.2.1";
script = writeScript "nixui" ''
#! ${stdenv.shell}
export PATH="${nix}/bin:\$PATH"

View File

@ -0,0 +1,3 @@
#!/bin/sh -e
node2nix -i pkg.json -c nixui.nix -e ../../../development/node-packages/node-env.nix

View File

@ -0,0 +1,16 @@
# This file has been generated by node2nix 1.0.1. Do not edit!
{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs"}:
let
nodeEnv = import ../../../development/node-packages/node-env.nix {
inherit (pkgs) stdenv python utillinux runCommand writeTextFile;
inherit nodejs;
};
in
import ./node-packages.nix {
inherit (pkgs) fetchurl fetchgit;
inherit nodeEnv;
}

View File

@ -1,24 +0,0 @@
{ nixui ? { outPath = ./.; name = "nixui"; }
, pkgs ? import <nixpkgs> {}
}:
let
nodePackages = import ../../../top-level/node-packages.nix {
inherit pkgs;
inherit (pkgs) stdenv nodejs fetchurl fetchgit;
neededNatives = [ pkgs.python ] ++ pkgs.lib.optional pkgs.stdenv.isLinux pkgs.utillinux;
self = nodePackages;
generated = ./node.nix;
};
in rec {
tarball = pkgs.runCommand "nixui.tgz" { buildInputs = [ pkgs.nodejs ]; } ''
mv `HOME=$PWD npm pack ${nixui}` $out
'';
build = nodePackages.buildNodePackage {
name = "nixui";
src = [ tarball ];
buildInputs = nodePackages.nativeDeps."nixui" or [];
deps = [ nodePackages.underscore nodePackages.nedb nodePackages.isnumber ];
peerDependencies = [];
passthru.names = [ "nixui" ];
};
}

View File

@ -0,0 +1,101 @@
# This file has been generated by node2nix 1.0.1. Do not edit!
{nodeEnv, fetchurl, fetchgit}:
let
sources = {
"isnumber-1.0.0" = {
name = "isnumber";
packageName = "isnumber";
version = "1.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/isnumber/-/isnumber-1.0.0.tgz";
sha1 = "0e3f9759b581d99dd85086f0ec2a74909cfadd01";
};
};
"nedb-1.0.2" = {
name = "nedb";
packageName = "nedb";
version = "1.0.2";
src = fetchurl {
url = "https://registry.npmjs.org/nedb/-/nedb-1.0.2.tgz";
sha1 = "309f10ba29f2002f74a92fb870b8a53ba2131593";
};
};
"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";
};
};
"async-0.2.10" = {
name = "async";
packageName = "async";
version = "0.2.10";
src = fetchurl {
url = "https://registry.npmjs.org/async/-/async-0.2.10.tgz";
sha1 = "b6bbe0b0674b9d719708ca38de8c237cb526c3d1";
};
};
"underscore-1.4.4" = {
name = "underscore";
packageName = "underscore";
version = "1.4.4";
src = fetchurl {
url = "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz";
sha1 = "61a6a32010622afa07963bf325203cf12239d604";
};
};
"binary-search-tree-0.2.4" = {
name = "binary-search-tree";
packageName = "binary-search-tree";
version = "0.2.4";
src = fetchurl {
url = "https://registry.npmjs.org/binary-search-tree/-/binary-search-tree-0.2.4.tgz";
sha1 = "14fe106366a59ca8efb68c0ae30c36aaff0cd510";
};
};
"mkdirp-0.3.5" = {
name = "mkdirp";
packageName = "mkdirp";
version = "0.3.5";
src = fetchurl {
url = "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz";
sha1 = "de3e5f8961c88c787ee1368df849ac4413eca8d7";
};
};
};
in
{
"nixui-git://github.com/matejc/nixui.git#0.2.1" = nodeEnv.buildNodePackage {
name = "nixui";
packageName = "nixui";
version = "0.2.1";
src = fetchgit {
url = "git://github.com/matejc/nixui.git";
rev = "845a5f4a33f1d0c509c727c130d0792a5b450a38";
sha256 = "2a2b1dcd9201e306242688c6c86f520ac47ef5de841ae0d7ea6ae8ff2889c3ab";
};
dependencies = [
sources."isnumber-1.0.0"
(sources."nedb-1.0.2" // {
dependencies = [
sources."async-0.2.10"
sources."underscore-1.4.4"
sources."binary-search-tree-0.2.4"
sources."mkdirp-0.3.5"
];
})
sources."underscore-1.8.3"
];
meta = {
description = "nix-env frontend written with Polymer";
homepage = https://github.com/matejc/nixui;
license = "Apache-2.0";
};
production = true;
};
}

View File

@ -1,608 +0,0 @@
{ self, fetchurl, fetchgit ? null, lib }:
{
by-spec."async"."0.2.10" =
self.by-version."async"."0.2.10";
by-version."async"."0.2.10" = self.buildNodePackage {
name = "async-0.2.10";
version = "0.2.10";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/async/-/async-0.2.10.tgz";
name = "async-0.2.10.tgz";
sha1 = "b6bbe0b0674b9d719708ca38de8c237cb526c3d1";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."binary-search-tree"."0.2.4" =
self.by-version."binary-search-tree"."0.2.4";
by-version."binary-search-tree"."0.2.4" = self.buildNodePackage {
name = "binary-search-tree-0.2.4";
version = "0.2.4";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/binary-search-tree/-/binary-search-tree-0.2.4.tgz";
name = "binary-search-tree-0.2.4.tgz";
sha1 = "14fe106366a59ca8efb68c0ae30c36aaff0cd510";
};
deps = {
"underscore-1.4.4" = self.by-version."underscore"."1.4.4";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."commander"."0.6.1" =
self.by-version."commander"."0.6.1";
by-version."commander"."0.6.1" = self.buildNodePackage {
name = "commander-0.6.1";
version = "0.6.1";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/commander/-/commander-0.6.1.tgz";
name = "commander-0.6.1.tgz";
sha1 = "fa68a14f6a945d54dbbe50d8cdb3320e9e3b1a06";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."commander"."2.3.0" =
self.by-version."commander"."2.3.0";
by-version."commander"."2.3.0" = self.buildNodePackage {
name = "commander-2.3.0";
version = "2.3.0";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/commander/-/commander-2.3.0.tgz";
name = "commander-2.3.0.tgz";
sha1 = "fd430e889832ec353b9acd1de217c11cb3eef873";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."debug"."2.0.0" =
self.by-version."debug"."2.0.0";
by-version."debug"."2.0.0" = self.buildNodePackage {
name = "debug-2.0.0";
version = "2.0.0";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/debug/-/debug-2.0.0.tgz";
name = "debug-2.0.0.tgz";
sha1 = "89bd9df6732b51256bc6705342bba02ed12131ef";
};
deps = {
"ms-0.6.2" = self.by-version."ms"."0.6.2";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."diff"."1.0.8" =
self.by-version."diff"."1.0.8";
by-version."diff"."1.0.8" = self.buildNodePackage {
name = "diff-1.0.8";
version = "1.0.8";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/diff/-/diff-1.0.8.tgz";
name = "diff-1.0.8.tgz";
sha1 = "343276308ec991b7bc82267ed55bc1411f971666";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."escape-string-regexp"."1.0.2" =
self.by-version."escape-string-regexp"."1.0.2";
by-version."escape-string-regexp"."1.0.2" = self.buildNodePackage {
name = "escape-string-regexp-1.0.2";
version = "1.0.2";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz";
name = "escape-string-regexp-1.0.2.tgz";
sha1 = "4dbc2fe674e71949caf3fb2695ce7f2dc1d9a8d1";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."expect.js"."~0.3.1" =
self.by-version."expect.js"."0.3.1";
by-version."expect.js"."0.3.1" = self.buildNodePackage {
name = "expect.js-0.3.1";
version = "0.3.1";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/expect.js/-/expect.js-0.3.1.tgz";
name = "expect.js-0.3.1.tgz";
sha1 = "b0a59a0d2eff5437544ebf0ceaa6015841d09b5b";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
"expect.js" = self.by-version."expect.js"."0.3.1";
by-spec."formatio"."~1.0" =
self.by-version."formatio"."1.0.2";
by-version."formatio"."1.0.2" = self.buildNodePackage {
name = "formatio-1.0.2";
version = "1.0.2";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/formatio/-/formatio-1.0.2.tgz";
name = "formatio-1.0.2.tgz";
sha1 = "e7991ca144ff7d8cff07bb9ac86a9b79c6ba47ef";
};
deps = {
"samsam-1.1.3" = self.by-version."samsam"."1.1.3";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."glob"."3.2.3" =
self.by-version."glob"."3.2.3";
by-version."glob"."3.2.3" = self.buildNodePackage {
name = "glob-3.2.3";
version = "3.2.3";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/glob/-/glob-3.2.3.tgz";
name = "glob-3.2.3.tgz";
sha1 = "e313eeb249c7affaa5c475286b0e115b59839467";
};
deps = {
"minimatch-0.2.14" = self.by-version."minimatch"."0.2.14";
"graceful-fs-2.0.3" = self.by-version."graceful-fs"."2.0.3";
"inherits-2.0.1" = self.by-version."inherits"."2.0.1";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."graceful-fs"."~2.0.0" =
self.by-version."graceful-fs"."2.0.3";
by-version."graceful-fs"."2.0.3" = self.buildNodePackage {
name = "graceful-fs-2.0.3";
version = "2.0.3";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz";
name = "graceful-fs-2.0.3.tgz";
sha1 = "7cd2cdb228a4a3f36e95efa6cc142de7d1a136d0";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."growl"."1.8.1" =
self.by-version."growl"."1.8.1";
by-version."growl"."1.8.1" = self.buildNodePackage {
name = "growl-1.8.1";
version = "1.8.1";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/growl/-/growl-1.8.1.tgz";
name = "growl-1.8.1.tgz";
sha1 = "4b2dec8d907e93db336624dcec0183502f8c9428";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."inherits"."2" =
self.by-version."inherits"."2.0.1";
by-version."inherits"."2.0.1" = self.buildNodePackage {
name = "inherits-2.0.1";
version = "2.0.1";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz";
name = "inherits-2.0.1.tgz";
sha1 = "b17d08d326b4423e568eff719f91b0b1cbdf69f1";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."inherits"."2.0.1" =
self.by-version."inherits"."2.0.1";
by-spec."isnumber"."^1.0.0" =
self.by-version."isnumber"."1.0.0";
by-version."isnumber"."1.0.0" = self.buildNodePackage {
name = "isnumber-1.0.0";
version = "1.0.0";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/isnumber/-/isnumber-1.0.0.tgz";
name = "isnumber-1.0.0.tgz";
sha1 = "0e3f9759b581d99dd85086f0ec2a74909cfadd01";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
"isnumber" = self.by-version."isnumber"."1.0.0";
by-spec."jade"."0.26.3" =
self.by-version."jade"."0.26.3";
by-version."jade"."0.26.3" = self.buildNodePackage {
name = "jade-0.26.3";
version = "0.26.3";
bin = true;
src = fetchurl {
url = "http://registry.npmjs.org/jade/-/jade-0.26.3.tgz";
name = "jade-0.26.3.tgz";
sha1 = "8f10d7977d8d79f2f6ff862a81b0513ccb25686c";
};
deps = {
"commander-0.6.1" = self.by-version."commander"."0.6.1";
"mkdirp-0.3.0" = self.by-version."mkdirp"."0.3.0";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."lru-cache"."2" =
self.by-version."lru-cache"."2.7.0";
by-version."lru-cache"."2.7.0" = self.buildNodePackage {
name = "lru-cache-2.7.0";
version = "2.7.0";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz";
name = "lru-cache-2.7.0.tgz";
sha1 = "aaa376a4cd970f9cebf5ec1909566ec034f07ee6";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."minimatch"."~0.2.11" =
self.by-version."minimatch"."0.2.14";
by-version."minimatch"."0.2.14" = self.buildNodePackage {
name = "minimatch-0.2.14";
version = "0.2.14";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz";
name = "minimatch-0.2.14.tgz";
sha1 = "c74e780574f63c6f9a090e90efbe6ef53a6a756a";
};
deps = {
"lru-cache-2.7.0" = self.by-version."lru-cache"."2.7.0";
"sigmund-1.0.1" = self.by-version."sigmund"."1.0.1";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."minimist"."0.0.8" =
self.by-version."minimist"."0.0.8";
by-version."minimist"."0.0.8" = self.buildNodePackage {
name = "minimist-0.0.8";
version = "0.0.8";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz";
name = "minimist-0.0.8.tgz";
sha1 = "857fcabfc3397d2625b8228262e86aa7a011b05d";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."mkdirp"."0.3.0" =
self.by-version."mkdirp"."0.3.0";
by-version."mkdirp"."0.3.0" = self.buildNodePackage {
name = "mkdirp-0.3.0";
version = "0.3.0";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz";
name = "mkdirp-0.3.0.tgz";
sha1 = "1bbf5ab1ba827af23575143490426455f481fe1e";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."mkdirp"."0.5.0" =
self.by-version."mkdirp"."0.5.0";
by-version."mkdirp"."0.5.0" = self.buildNodePackage {
name = "mkdirp-0.5.0";
version = "0.5.0";
bin = true;
src = fetchurl {
url = "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz";
name = "mkdirp-0.5.0.tgz";
sha1 = "1d73076a6df986cd9344e15e71fcc05a4c9abf12";
};
deps = {
"minimist-0.0.8" = self.by-version."minimist"."0.0.8";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."mkdirp"."~0.3.5" =
self.by-version."mkdirp"."0.3.5";
by-version."mkdirp"."0.3.5" = self.buildNodePackage {
name = "mkdirp-0.3.5";
version = "0.3.5";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz";
name = "mkdirp-0.3.5.tgz";
sha1 = "de3e5f8961c88c787ee1368df849ac4413eca8d7";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."mocha"."~1.21.0" =
self.by-version."mocha"."1.21.5";
by-version."mocha"."1.21.5" = self.buildNodePackage {
name = "mocha-1.21.5";
version = "1.21.5";
bin = true;
src = fetchurl {
url = "http://registry.npmjs.org/mocha/-/mocha-1.21.5.tgz";
name = "mocha-1.21.5.tgz";
sha1 = "7c58b09174df976e434a23b1e8d639873fc529e9";
};
deps = {
"commander-2.3.0" = self.by-version."commander"."2.3.0";
"debug-2.0.0" = self.by-version."debug"."2.0.0";
"diff-1.0.8" = self.by-version."diff"."1.0.8";
"escape-string-regexp-1.0.2" = self.by-version."escape-string-regexp"."1.0.2";
"glob-3.2.3" = self.by-version."glob"."3.2.3";
"growl-1.8.1" = self.by-version."growl"."1.8.1";
"jade-0.26.3" = self.by-version."jade"."0.26.3";
"mkdirp-0.5.0" = self.by-version."mkdirp"."0.5.0";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
"mocha" = self.by-version."mocha"."1.21.5";
by-spec."ms"."0.6.2" =
self.by-version."ms"."0.6.2";
by-version."ms"."0.6.2" = self.buildNodePackage {
name = "ms-0.6.2";
version = "0.6.2";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/ms/-/ms-0.6.2.tgz";
name = "ms-0.6.2.tgz";
sha1 = "d89c2124c6fdc1353d65a8b77bf1aac4b193708c";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."nedb"."~1.0.0" =
self.by-version."nedb"."1.0.2";
by-version."nedb"."1.0.2" = self.buildNodePackage {
name = "nedb-1.0.2";
version = "1.0.2";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/nedb/-/nedb-1.0.2.tgz";
name = "nedb-1.0.2.tgz";
sha1 = "309f10ba29f2002f74a92fb870b8a53ba2131593";
};
deps = {
"async-0.2.10" = self.by-version."async"."0.2.10";
"underscore-1.4.4" = self.by-version."underscore"."1.4.4";
"binary-search-tree-0.2.4" = self.by-version."binary-search-tree"."0.2.4";
"mkdirp-0.3.5" = self.by-version."mkdirp"."0.3.5";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
"nedb" = self.by-version."nedb"."1.0.2";
by-spec."samsam"."~1.1" =
self.by-version."samsam"."1.1.3";
by-version."samsam"."1.1.3" = self.buildNodePackage {
name = "samsam-1.1.3";
version = "1.1.3";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/samsam/-/samsam-1.1.3.tgz";
name = "samsam-1.1.3.tgz";
sha1 = "9f5087419b4d091f232571e7fa52e90b0f552621";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."sigmund"."~1.0.0" =
self.by-version."sigmund"."1.0.1";
by-version."sigmund"."1.0.1" = self.buildNodePackage {
name = "sigmund-1.0.1";
version = "1.0.1";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz";
name = "sigmund-1.0.1.tgz";
sha1 = "3ff21f198cad2175f9f3b781853fd94d0d19b590";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."sinon"."~1.10.3" =
self.by-version."sinon"."1.10.3";
by-version."sinon"."1.10.3" = self.buildNodePackage {
name = "sinon-1.10.3";
version = "1.10.3";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/sinon/-/sinon-1.10.3.tgz";
name = "sinon-1.10.3.tgz";
sha1 = "c063e0e99d8327dc199113aab52eb83a2e9e3c2c";
};
deps = {
"formatio-1.0.2" = self.by-version."formatio"."1.0.2";
"util-0.10.3" = self.by-version."util"."0.10.3";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
"sinon" = self.by-version."sinon"."1.10.3";
by-spec."underscore"."^1.6.0" =
self.by-version."underscore"."1.8.3";
by-version."underscore"."1.8.3" = self.buildNodePackage {
name = "underscore-1.8.3";
version = "1.8.3";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz";
name = "underscore-1.8.3.tgz";
sha1 = "4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
"underscore" = self.by-version."underscore"."1.8.3";
by-spec."underscore"."~1.4.4" =
self.by-version."underscore"."1.4.4";
by-version."underscore"."1.4.4" = self.buildNodePackage {
name = "underscore-1.4.4";
version = "1.4.4";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz";
name = "underscore-1.4.4.tgz";
sha1 = "61a6a32010622afa07963bf325203cf12239d604";
};
deps = {
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
by-spec."util".">=0.10.3 <1" =
self.by-version."util"."0.10.3";
by-version."util"."0.10.3" = self.buildNodePackage {
name = "util-0.10.3";
version = "0.10.3";
bin = false;
src = fetchurl {
url = "http://registry.npmjs.org/util/-/util-0.10.3.tgz";
name = "util-0.10.3.tgz";
sha1 = "7afb1afe50805246489e3db7fe0ed379336ac0f9";
};
deps = {
"inherits-2.0.1" = self.by-version."inherits"."2.0.1";
};
optionalDependencies = {
};
peerDependencies = [];
os = [ ];
cpu = [ ];
};
}

View File

@ -0,0 +1,3 @@
[
{ "nixui": "git://github.com/matejc/nixui.git#0.2.1" }
]