nixpkgs-suyu/pkgs/top-level/node-packages.nix
Shea Levy 42da3759a2 Remove the 'with pkgs;' from node-packages.nix.
Packages depending on non-node packages should refer to their deps with pkgs.name
2012-07-25 17:53:02 -04:00

22 lines
513 B
Nix

{ pkgs, stdenv, nodejs, fetchurl }:
let buildNodePackage = import ../development/web/nodejs/build-node-package.nix {
inherit stdenv nodejs;
}; in
let self = {
"coffee-script" = self."coffee-script-1.3.3";
"coffee-script-1.3.3" = buildNodePackage rec {
name = "coffee-script-1.3.3";
src = fetchurl {
url = "http://registry.npmjs.org/coffee-script/-/${name}.tgz";
sha256 = "deedd2cf9d5abe2bad724e6809bec40efa07215dae85f44d78cd37736bb50bc5";
};
deps = [
];
};
};
in self