nixpkgs: removed sloc duplicate

This commit is contained in:
Markus Kohlhase 2015-04-03 11:15:22 +00:00 committed by Moritz Ulrich
parent 5ff233be6b
commit 40db8b6ffd
3 changed files with 1 additions and 645 deletions

View File

@ -1,30 +0,0 @@
{ pkgs }:
let
nodePackages = import <nixpkgs/pkgs/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 = ./package.nix;
};
in rec {
build = nodePackages.buildNodePackage {
name = "sloc-0.1.6";
src = [
(pkgs.fetchgit {
url = "https://github.com/flosse/sloc.git";
sha256 = "0064va0cd4604vqp8y8ggm33klp2xgqmgrwk9ilp7230x27wykyf";
rev = "refs/tags/v0.1.6";
})
];
buildInputs = [ nodePackages.coffee-script ];
postInstall = ''
coffee -o $out/lib/node_modules/sloc/lib/ -c $src/src/
'';
deps = [ nodePackages.commander nodePackages.async nodePackages.cli-table nodePackages.readdirp ];
passthru.names = [ "sloc" ];
};
}

View File

@ -1,614 +0,0 @@
{ self, fetchurl, fetchgit ? null, lib }:
{
by-spec."assertion-error"."1.0.0" =
self.by-version."assertion-error"."1.0.0";
by-version."assertion-error"."1.0.0" = lib.makeOverridable self.buildNodePackage {
name = "node-assertion-error-1.0.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/assertion-error/-/assertion-error-1.0.0.tgz";
name = "assertion-error-1.0.0.tgz";
sha1 = "c7f85438fdd466bc7ca16ab90c81513797a5d23b";
})
];
buildInputs =
(self.nativeDeps."assertion-error" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "assertion-error" ];
};
by-spec."async"."~0.9.0" =
self.by-version."async"."0.9.0";
by-version."async"."0.9.0" = lib.makeOverridable self.buildNodePackage {
name = "node-async-0.9.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/async/-/async-0.9.0.tgz";
name = "async-0.9.0.tgz";
sha1 = "ac3613b1da9bed1b47510bb4651b8931e47146c7";
})
];
buildInputs =
(self.nativeDeps."async" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "async" ];
};
"async" = self.by-version."async"."0.9.0";
by-spec."chai"."~1.9.1" =
self.by-version."chai"."1.9.1";
by-version."chai"."1.9.1" = lib.makeOverridable self.buildNodePackage {
name = "node-chai-1.9.1";
src = [
(fetchurl {
url = "http://registry.npmjs.org/chai/-/chai-1.9.1.tgz";
name = "chai-1.9.1.tgz";
sha1 = "3711bb6706e1568f34c0b36098bf8f19455c81ae";
})
];
buildInputs =
(self.nativeDeps."chai" or []);
deps = [
self.by-version."assertion-error"."1.0.0"
self.by-version."deep-eql"."0.1.3"
];
peerDependencies = [
];
passthru.names = [ "chai" ];
};
"chai" = self.by-version."chai"."1.9.1";
by-spec."cli-table"."^0.3.0" =
self.by-version."cli-table"."0.3.0";
by-version."cli-table"."0.3.0" = lib.makeOverridable self.buildNodePackage {
name = "node-cli-table-0.3.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/cli-table/-/cli-table-0.3.0.tgz";
name = "cli-table-0.3.0.tgz";
sha1 = "44a43c2641667701e084202bff7aa934128aa13e";
})
];
buildInputs =
(self.nativeDeps."cli-table" or []);
deps = [
self.by-version."colors"."0.6.2"
];
peerDependencies = [
];
passthru.names = [ "cli-table" ];
};
"cli-table" = self.by-version."cli-table"."0.3.0";
by-spec."coffee-script"."~1.8.0" =
self.by-version."coffee-script"."1.8.0";
by-version."coffee-script"."1.8.0" = lib.makeOverridable self.buildNodePackage {
name = "coffee-script-1.8.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/coffee-script/-/coffee-script-1.8.0.tgz";
name = "coffee-script-1.8.0.tgz";
sha1 = "9c9f1d2b4a52a000ded15b659791703648263c1d";
})
];
buildInputs =
(self.nativeDeps."coffee-script" or []);
deps = [
self.by-version."mkdirp"."0.3.5"
];
peerDependencies = [
];
passthru.names = [ "coffee-script" ];
};
"coffee-script" = self.by-version."coffee-script"."1.8.0";
by-spec."colors"."0.6.2" =
self.by-version."colors"."0.6.2";
by-version."colors"."0.6.2" = lib.makeOverridable self.buildNodePackage {
name = "node-colors-0.6.2";
src = [
(fetchurl {
url = "http://registry.npmjs.org/colors/-/colors-0.6.2.tgz";
name = "colors-0.6.2.tgz";
sha1 = "2423fe6678ac0c5dae8852e5d0e5be08c997abcc";
})
];
buildInputs =
(self.nativeDeps."colors" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "colors" ];
};
by-spec."commander"."0.6.1" =
self.by-version."commander"."0.6.1";
by-version."commander"."0.6.1" = lib.makeOverridable self.buildNodePackage {
name = "node-commander-0.6.1";
src = [
(fetchurl {
url = "http://registry.npmjs.org/commander/-/commander-0.6.1.tgz";
name = "commander-0.6.1.tgz";
sha1 = "fa68a14f6a945d54dbbe50d8cdb3320e9e3b1a06";
})
];
buildInputs =
(self.nativeDeps."commander" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "commander" ];
};
by-spec."commander"."2.0.0" =
self.by-version."commander"."2.0.0";
by-version."commander"."2.0.0" = lib.makeOverridable self.buildNodePackage {
name = "node-commander-2.0.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/commander/-/commander-2.0.0.tgz";
name = "commander-2.0.0.tgz";
sha1 = "d1b86f901f8b64bd941bdeadaf924530393be928";
})
];
buildInputs =
(self.nativeDeps."commander" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "commander" ];
};
by-spec."commander"."~2.3.0" =
self.by-version."commander"."2.3.0";
by-version."commander"."2.3.0" = lib.makeOverridable self.buildNodePackage {
name = "node-commander-2.3.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/commander/-/commander-2.3.0.tgz";
name = "commander-2.3.0.tgz";
sha1 = "fd430e889832ec353b9acd1de217c11cb3eef873";
})
];
buildInputs =
(self.nativeDeps."commander" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "commander" ];
};
"commander" = self.by-version."commander"."2.3.0";
by-spec."core-util-is"."~1.0.0" =
self.by-version."core-util-is"."1.0.1";
by-version."core-util-is"."1.0.1" = lib.makeOverridable self.buildNodePackage {
name = "node-core-util-is-1.0.1";
src = [
(fetchurl {
url = "http://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz";
name = "core-util-is-1.0.1.tgz";
sha1 = "6b07085aef9a3ccac6ee53bf9d3df0c1521a5538";
})
];
buildInputs =
(self.nativeDeps."core-util-is" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "core-util-is" ];
};
by-spec."debug"."*" =
self.by-version."debug"."2.0.0";
by-version."debug"."2.0.0" = lib.makeOverridable self.buildNodePackage {
name = "node-debug-2.0.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/debug/-/debug-2.0.0.tgz";
name = "debug-2.0.0.tgz";
sha1 = "89bd9df6732b51256bc6705342bba02ed12131ef";
})
];
buildInputs =
(self.nativeDeps."debug" or []);
deps = [
self.by-version."ms"."0.6.2"
];
peerDependencies = [
];
passthru.names = [ "debug" ];
};
by-spec."deep-eql"."0.1.3" =
self.by-version."deep-eql"."0.1.3";
by-version."deep-eql"."0.1.3" = lib.makeOverridable self.buildNodePackage {
name = "node-deep-eql-0.1.3";
src = [
(fetchurl {
url = "http://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz";
name = "deep-eql-0.1.3.tgz";
sha1 = "ef558acab8de25206cd713906d74e56930eb69f2";
})
];
buildInputs =
(self.nativeDeps."deep-eql" or []);
deps = [
self.by-version."type-detect"."0.1.1"
];
peerDependencies = [
];
passthru.names = [ "deep-eql" ];
};
by-spec."diff"."1.0.7" =
self.by-version."diff"."1.0.7";
by-version."diff"."1.0.7" = lib.makeOverridable self.buildNodePackage {
name = "node-diff-1.0.7";
src = [
(fetchurl {
url = "http://registry.npmjs.org/diff/-/diff-1.0.7.tgz";
name = "diff-1.0.7.tgz";
sha1 = "24bbb001c4a7d5522169e7cabdb2c2814ed91cf4";
})
];
buildInputs =
(self.nativeDeps."diff" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "diff" ];
};
by-spec."glob"."3.2.3" =
self.by-version."glob"."3.2.3";
by-version."glob"."3.2.3" = lib.makeOverridable self.buildNodePackage {
name = "node-glob-3.2.3";
src = [
(fetchurl {
url = "http://registry.npmjs.org/glob/-/glob-3.2.3.tgz";
name = "glob-3.2.3.tgz";
sha1 = "e313eeb249c7affaa5c475286b0e115b59839467";
})
];
buildInputs =
(self.nativeDeps."glob" or []);
deps = [
self.by-version."minimatch"."0.2.14"
self.by-version."graceful-fs"."2.0.3"
self.by-version."inherits"."2.0.1"
];
peerDependencies = [
];
passthru.names = [ "glob" ];
};
by-spec."graceful-fs"."~2.0.0" =
self.by-version."graceful-fs"."2.0.3";
by-version."graceful-fs"."2.0.3" = lib.makeOverridable self.buildNodePackage {
name = "node-graceful-fs-2.0.3";
src = [
(fetchurl {
url = "http://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz";
name = "graceful-fs-2.0.3.tgz";
sha1 = "7cd2cdb228a4a3f36e95efa6cc142de7d1a136d0";
})
];
buildInputs =
(self.nativeDeps."graceful-fs" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "graceful-fs" ];
};
by-spec."growl"."1.8.x" =
self.by-version."growl"."1.8.1";
by-version."growl"."1.8.1" = lib.makeOverridable self.buildNodePackage {
name = "node-growl-1.8.1";
src = [
(fetchurl {
url = "http://registry.npmjs.org/growl/-/growl-1.8.1.tgz";
name = "growl-1.8.1.tgz";
sha1 = "4b2dec8d907e93db336624dcec0183502f8c9428";
})
];
buildInputs =
(self.nativeDeps."growl" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "growl" ];
};
by-spec."inherits"."2" =
self.by-version."inherits"."2.0.1";
by-version."inherits"."2.0.1" = lib.makeOverridable self.buildNodePackage {
name = "node-inherits-2.0.1";
src = [
(fetchurl {
url = "http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz";
name = "inherits-2.0.1.tgz";
sha1 = "b17d08d326b4423e568eff719f91b0b1cbdf69f1";
})
];
buildInputs =
(self.nativeDeps."inherits" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "inherits" ];
};
by-spec."inherits"."~2.0.1" =
self.by-version."inherits"."2.0.1";
by-spec."isarray"."0.0.1" =
self.by-version."isarray"."0.0.1";
by-version."isarray"."0.0.1" = lib.makeOverridable self.buildNodePackage {
name = "node-isarray-0.0.1";
src = [
(fetchurl {
url = "http://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz";
name = "isarray-0.0.1.tgz";
sha1 = "8a18acfca9a8f4177e09abfc6038939b05d1eedf";
})
];
buildInputs =
(self.nativeDeps."isarray" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "isarray" ];
};
by-spec."jade"."0.26.3" =
self.by-version."jade"."0.26.3";
by-version."jade"."0.26.3" = lib.makeOverridable self.buildNodePackage {
name = "jade-0.26.3";
src = [
(fetchurl {
url = "http://registry.npmjs.org/jade/-/jade-0.26.3.tgz";
name = "jade-0.26.3.tgz";
sha1 = "8f10d7977d8d79f2f6ff862a81b0513ccb25686c";
})
];
buildInputs =
(self.nativeDeps."jade" or []);
deps = [
self.by-version."commander"."0.6.1"
self.by-version."mkdirp"."0.3.0"
];
peerDependencies = [
];
passthru.names = [ "jade" ];
};
by-spec."lru-cache"."2" =
self.by-version."lru-cache"."2.5.0";
by-version."lru-cache"."2.5.0" = lib.makeOverridable self.buildNodePackage {
name = "node-lru-cache-2.5.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz";
name = "lru-cache-2.5.0.tgz";
sha1 = "d82388ae9c960becbea0c73bb9eb79b6c6ce9aeb";
})
];
buildInputs =
(self.nativeDeps."lru-cache" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "lru-cache" ];
};
by-spec."minimatch"."~0.2.11" =
self.by-version."minimatch"."0.2.14";
by-version."minimatch"."0.2.14" = lib.makeOverridable self.buildNodePackage {
name = "node-minimatch-0.2.14";
src = [
(fetchurl {
url = "http://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz";
name = "minimatch-0.2.14.tgz";
sha1 = "c74e780574f63c6f9a090e90efbe6ef53a6a756a";
})
];
buildInputs =
(self.nativeDeps."minimatch" or []);
deps = [
self.by-version."lru-cache"."2.5.0"
self.by-version."sigmund"."1.0.0"
];
peerDependencies = [
];
passthru.names = [ "minimatch" ];
};
by-spec."minimatch"."~0.2.12" =
self.by-version."minimatch"."0.2.14";
by-spec."mkdirp"."0.3.0" =
self.by-version."mkdirp"."0.3.0";
by-version."mkdirp"."0.3.0" = lib.makeOverridable self.buildNodePackage {
name = "node-mkdirp-0.3.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz";
name = "mkdirp-0.3.0.tgz";
sha1 = "1bbf5ab1ba827af23575143490426455f481fe1e";
})
];
buildInputs =
(self.nativeDeps."mkdirp" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "mkdirp" ];
};
by-spec."mkdirp"."0.3.5" =
self.by-version."mkdirp"."0.3.5";
by-version."mkdirp"."0.3.5" = lib.makeOverridable self.buildNodePackage {
name = "node-mkdirp-0.3.5";
src = [
(fetchurl {
url = "http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz";
name = "mkdirp-0.3.5.tgz";
sha1 = "de3e5f8961c88c787ee1368df849ac4413eca8d7";
})
];
buildInputs =
(self.nativeDeps."mkdirp" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "mkdirp" ];
};
by-spec."mkdirp"."~0.3.5" =
self.by-version."mkdirp"."0.3.5";
by-spec."mocha"."~1.21.4" =
self.by-version."mocha"."1.21.4";
by-version."mocha"."1.21.4" = lib.makeOverridable self.buildNodePackage {
name = "mocha-1.21.4";
src = [
(fetchurl {
url = "http://registry.npmjs.org/mocha/-/mocha-1.21.4.tgz";
name = "mocha-1.21.4.tgz";
sha1 = "e77d69c3773ba3e2b4fe6b628c28b5dd43880adc";
})
];
buildInputs =
(self.nativeDeps."mocha" or []);
deps = [
self.by-version."commander"."2.0.0"
self.by-version."growl"."1.8.1"
self.by-version."jade"."0.26.3"
self.by-version."diff"."1.0.7"
self.by-version."debug"."2.0.0"
self.by-version."mkdirp"."0.3.5"
self.by-version."glob"."3.2.3"
];
peerDependencies = [
];
passthru.names = [ "mocha" ];
};
"mocha" = self.by-version."mocha"."1.21.4";
by-spec."ms"."0.6.2" =
self.by-version."ms"."0.6.2";
by-version."ms"."0.6.2" = lib.makeOverridable self.buildNodePackage {
name = "node-ms-0.6.2";
src = [
(fetchurl {
url = "http://registry.npmjs.org/ms/-/ms-0.6.2.tgz";
name = "ms-0.6.2.tgz";
sha1 = "d89c2124c6fdc1353d65a8b77bf1aac4b193708c";
})
];
buildInputs =
(self.nativeDeps."ms" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "ms" ];
};
by-spec."readable-stream"."~1.0.26-2" =
self.by-version."readable-stream"."1.0.31";
by-version."readable-stream"."1.0.31" = lib.makeOverridable self.buildNodePackage {
name = "node-readable-stream-1.0.31";
src = [
(fetchurl {
url = "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.31.tgz";
name = "readable-stream-1.0.31.tgz";
sha1 = "8f2502e0bc9e3b0da1b94520aabb4e2603ecafae";
})
];
buildInputs =
(self.nativeDeps."readable-stream" or []);
deps = [
self.by-version."core-util-is"."1.0.1"
self.by-version."isarray"."0.0.1"
self.by-version."string_decoder"."0.10.31"
self.by-version."inherits"."2.0.1"
];
peerDependencies = [
];
passthru.names = [ "readable-stream" ];
};
by-spec."readdirp"."^1.1.0" =
self.by-version."readdirp"."1.1.0";
by-version."readdirp"."1.1.0" = lib.makeOverridable self.buildNodePackage {
name = "node-readdirp-1.1.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/readdirp/-/readdirp-1.1.0.tgz";
name = "readdirp-1.1.0.tgz";
sha1 = "6506f9d5d8bb2edc19c855a60bb92feca5fae39c";
})
];
buildInputs =
(self.nativeDeps."readdirp" or []);
deps = [
self.by-version."graceful-fs"."2.0.3"
self.by-version."minimatch"."0.2.14"
self.by-version."readable-stream"."1.0.31"
];
peerDependencies = [
];
passthru.names = [ "readdirp" ];
};
"readdirp" = self.by-version."readdirp"."1.1.0";
by-spec."sigmund"."~1.0.0" =
self.by-version."sigmund"."1.0.0";
by-version."sigmund"."1.0.0" = lib.makeOverridable self.buildNodePackage {
name = "node-sigmund-1.0.0";
src = [
(fetchurl {
url = "http://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz";
name = "sigmund-1.0.0.tgz";
sha1 = "66a2b3a749ae8b5fb89efd4fcc01dc94fbe02296";
})
];
buildInputs =
(self.nativeDeps."sigmund" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "sigmund" ];
};
by-spec."string_decoder"."~0.10.x" =
self.by-version."string_decoder"."0.10.31";
by-version."string_decoder"."0.10.31" = lib.makeOverridable self.buildNodePackage {
name = "node-string_decoder-0.10.31";
src = [
(fetchurl {
url = "http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz";
name = "string_decoder-0.10.31.tgz";
sha1 = "62e203bc41766c6c28c9fc84301dab1c5310fa94";
})
];
buildInputs =
(self.nativeDeps."string_decoder" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "string_decoder" ];
};
by-spec."type-detect"."0.1.1" =
self.by-version."type-detect"."0.1.1";
by-version."type-detect"."0.1.1" = lib.makeOverridable self.buildNodePackage {
name = "node-type-detect-0.1.1";
src = [
(fetchurl {
url = "http://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz";
name = "type-detect-0.1.1.tgz";
sha1 = "0ba5ec2a885640e470ea4e8505971900dac58822";
})
];
buildInputs =
(self.nativeDeps."type-detect" or []);
deps = [
];
peerDependencies = [
];
passthru.names = [ "type-detect" ];
};
}

View File

@ -5294,7 +5294,7 @@ let
sloccount = callPackage ../development/tools/misc/sloccount { };
sloc = callPackage ../development/tools/sloc { };
sloc = nodePackages.sloc;
smatch = callPackage ../development/tools/analysis/smatch {
buildllvmsparse = false;