2012-07-26 01:53:02 +04:00
|
|
|
{ pkgs, stdenv, nodejs, fetchurl }:
|
2012-07-26 01:46:21 +04:00
|
|
|
|
|
|
|
let self = {
|
2012-08-22 17:44:38 +04:00
|
|
|
buildNodePackage = import ../development/web/nodejs/build-node-package.nix {
|
|
|
|
inherit stdenv nodejs;
|
|
|
|
};
|
|
|
|
|
2012-07-26 01:51:19 +04:00
|
|
|
"coffee-script" = self."coffee-script-1.3.3";
|
|
|
|
|
2012-08-22 17:44:38 +04:00
|
|
|
"coffee-script-1.3.3" = self.buildNodePackage rec {
|
2012-07-26 01:51:19 +04:00
|
|
|
name = "coffee-script-1.3.3";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://registry.npmjs.org/coffee-script/-/${name}.tgz";
|
|
|
|
sha256 = "deedd2cf9d5abe2bad724e6809bec40efa07215dae85f44d78cd37736bb50bc5";
|
|
|
|
};
|
|
|
|
deps = [
|
|
|
|
|
|
|
|
];
|
|
|
|
};
|
2012-08-26 23:43:02 +04:00
|
|
|
|
2012-08-27 00:11:29 +04:00
|
|
|
"semver" = self."semver-1";
|
2012-08-26 23:43:02 +04:00
|
|
|
|
2012-08-27 00:11:29 +04:00
|
|
|
"semver-1" = self.buildNodePackage rec {
|
2012-08-26 23:43:02 +04:00
|
|
|
name = "semver-1.0.14";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://registry.npmjs.org/semver/-/${name}.tgz";
|
|
|
|
sha256 = "560df522ae0e8834d8b07f6ca9c60bd8836e844642361abde108018cbe9ca82f";
|
|
|
|
};
|
|
|
|
deps = [
|
|
|
|
|
|
|
|
];
|
|
|
|
};
|
2012-08-27 00:02:04 +04:00
|
|
|
|
2012-08-27 00:11:29 +04:00
|
|
|
"npm2nix" = self."npm2nix-0.1.2";
|
2012-08-27 00:02:04 +04:00
|
|
|
|
2012-08-27 00:11:29 +04:00
|
|
|
"npm2nix-0.1.2" = self.buildNodePackage rec {
|
|
|
|
name = "npm2nix-0.1.2";
|
2012-08-27 00:02:04 +04:00
|
|
|
src = fetchurl {
|
2012-08-27 00:11:29 +04:00
|
|
|
url = https://bitbucket.org/shlevy/npm2nix/get/0.1.2.tar.gz;
|
|
|
|
sha256 = "0wmgdbjvvwqv47113xdipzkmdafsca9av1s0fq605jf97wrpvbw3";
|
2012-08-27 00:02:04 +04:00
|
|
|
name = "${name}.tgz";
|
|
|
|
};
|
|
|
|
deps = [
|
2012-08-27 00:11:29 +04:00
|
|
|
self."semver-1"
|
2012-08-27 00:02:04 +04:00
|
|
|
];
|
|
|
|
};
|
2012-07-26 01:46:21 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
in self
|