42da3759a2
Packages depending on non-node packages should refer to their deps with pkgs.name
23 lines
513 B
Nix
23 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
|