Commit Graph

6 Commits

Author SHA1 Message Date
Domen Kozar
df81da4ac2 add nodePackages.jshint 2013-05-30 16:01:18 +02:00
Shea Levy
316e78098c Add mkdirp as a top-level nodePackage
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-30 09:05:59 -04:00
Shea Levy
d5b33eec68 npm2nix now supports simple strings in the JSON file if no range is specified
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-28 13:19:44 -04:00
Shea Levy
4fe2e7c152 Add ansi-remover npm package
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-28 13:02:13 -04:00
Shea Levy
4e5966e7aa Add npm2nix nodePackage
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-27 22:57:49 -04:00
Shea Levy
239d532095 node-packages.nix: Convert to new npm2nix style
Starting with 1.0.0 (which is not released at the time of this commit
but will be before it is pushed), npm2nix takes a JSON file with a list
of names (and optionally version ranges) and generates a data-only (no
functions, no rec, no let, etc.) nix expression representing the
packages with those names and their dependencies.

node-packages.nix now builds its package list from that generated
expression. If a package needs native dependencies as build inputs, they
can be added to the nativeDeps attribute set. If a package cannot be
generated by npm2nix for some reason, it can be added manually to the
set.

I tried to capture the packages represented by the previous
node-packages.nix in the new node-packages.json, but I almost certainly
missed some that will have to be added manually.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-27 22:35:20 -04:00