Commit graph

52 commits

Author SHA1 Message Date
Shea Levy a895082e56 nodePackages: Update to npm2nix 2.0 format
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-14 14:41:53 -04:00
Shea Levy 9efcf4f6fe Make nodePackages individually overridable
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-31 13:27:55 -04:00
Shea Levy 210246266d Make overrides of nodePackages work
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-31 12:50:28 -04:00
Shea Levy 758f20f0b8 node-packages.nix: Move non top-level attrs to a sub-attr `full'
Since `full' isn't recursed into for derivations, nix-env -qaP * won't
show attributes with problematic characters.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-31 12:38:26 -04:00
Shea Levy 8e724713c6 Make the function to import npm2nix-generated packages accessible outside of node-packages.nix
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-29 11:22:23 -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
Sander van der Burg 9faa4f4b7b Added async-0.2.8 nodejs package 2013-05-16 18:18:36 +02:00
Sander van der Burg 259b1f931f Added assert: Node.JS assert module and its dependencies 2013-05-16 12:18:23 +02:00
Sander van der Burg 098fb6d70d added mocha: simple, flexible, fun test framework for JavaScript and its dependencies 2013-05-16 11:49:21 +02:00
Sander van der Burg bfd5124bde jayschema: JSON schema validator NodeJS package 2013-05-14 11:27:44 +02:00
Shea Levy a88306b15f nodePackages.underscore: Update
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-06 12:56:15 -04:00
Shea Levy c2a2a03210 Add extend nodePackage
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-06 12:47:46 -04:00
Shea Levy 15bdde9071 Add express nodePackage
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-06 09:29:33 -04:00
Shea Levy 48a4e91989 nodePackages.patchLatest: Handle tarballs whose root directories are already named 'package'
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-04-03 07:41:02 -04:00
Rob Vermaas 2fe5c12d35 Add s3http node package 2013-04-01 17:45:18 +02:00
Shea Levy cf019ab91e Add git prerelease of aws-sdk nodePackage
Required modifying patchLatest to handle tarballs that don't create a 'package' directory

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-04-01 10:51:22 -04:00
Rob Vermaas 6796240289 Add aws-sdk and deps (node library) 2013-03-29 15:04:02 +01:00
Sander van der Burg 5add198e3d nijs: updated to 0.0.5 2013-03-23 15:24:59 +01:00
Sander van der Burg 3d55f1d222 nijs: Bump to 0.0.4 2013-03-11 17:43:59 +01:00
Patrick Lee 4105b593a5 upgrading uglify to 2.2.5, optimist to 0.3.5, upgrading source-map to 0.1.7, and adding amdefine
Fixes #337
2013-02-26 09:45:43 -05:00
Sander van der Burg 2fca1deeb2 nijs: Added nodejs package 2013-02-26 11:07:16 +01:00
Shea Levy 7783c274fd Add smartdc nodePackage (and its many dependencies) 2013-02-24 20:26:28 -05:00
Mathijs Kwik 2738f6d5cc node/bson: fix sha256 2013-01-13 14:54:26 +01:00
Sander van der Burg 7242b4994e Added optparse: A node.js option parsing library 2013-01-10 13:39:24 +01:00
Rob Vermaas 410b72e807 Add jsontool 5.1.1 (node.js package) 2012-11-23 14:20:48 +01:00
Sander van der Burg 42238e4934 Added swig Node.js package 2012-11-09 18:02:44 +01:00
Mathijs Kwik 0dd3996ab4 node-packages: upgrade coffee-script to 1.4.0
I'm not sure yet how to handle these upgrades.
Should we keep the old version around?
Should we only keep it around if other pkgs in nixpkgs depend on it?

Probably people develop their own projects (that are not in nixpkgs)
on top of these and we don't want to break these.

For now, I think it's best just to keep old versions around, but
update the (unversioned) link to the latest.

External projects should then depend on explicit version numbers if
they don't want stuff to break.

If a certain package has +5 versions in nixpkgs, we can clear out the
unuseful ones.
2012-10-31 08:39:05 +01:00
Mathijs Kwik 11228a3834 node-packages: add "escape-html" 2012-10-27 13:06:53 +02:00
Shea Levy c93786bc7e nodePackages.buffertools 2012-10-19 16:21:24 -04:00
Mathijs Kwik e0e00a86cb node-packages
- add     async-0.1.22
- add     wu-0.1.8
- upgrade mongodb-1.1.11
- upgrade bson-0.1.5
- upgrade underscore-1.4.2
2012-10-18 15:23:56 +02:00
Mathijs Kwik 55f97f3a0d node-packages: upgrade mongodb and bson 2012-10-04 10:40:51 +02:00
Mathijs Kwik 2f6a498b52 node-packages: add "source-map" and dependencies 2012-10-04 10:40:51 +02:00
Shea Levy 48395bd3e4 nodePackages.knox 2012-09-22 09:32:37 -04:00
Shea Levy a45a8698b3 nodePackages.node-expat 2012-09-22 09:29:51 -04:00
Shea Levy a9f8dd2c13 Add optimist nodePackage 2012-09-20 14:08:40 -04:00
Shea Levy 99571aa242 Add temp nodePackage 2012-09-19 12:45:05 -04:00
Shea Levy 7d5bb08534 Add cipher-block-size node package and remove the nativeDeps argument to build-node-package (buildInputs can just be specified directly) 2012-09-18 12:08:16 -04:00
Mathijs Kwik 177a0d761a node-packages: add 4 packages
- faye-websocket
- node-uuid
- rbytes
- sockjs
2012-09-17 09:56:49 +02:00
Mathijs Kwik e0d35483aa node-packages: upgrade mongodb and bson (and build native module) 2012-09-17 09:56:49 +02:00
Mathijs Kwik baa6223904 node-packages: ability to build npms that have native extensions 2012-09-17 09:56:49 +02:00
Shea Levy 7fbf92d8f9 npm2nix: Bump to 0.1.3 2012-09-05 12:22:03 -04:00
Mathijs Kwik b78b5b3f36 node-packages: add a lot of packages 2012-09-04 17:49:32 +02:00
Mathijs Kwik 278312a38c node-packages: ability to fix sources that use the impure "latest" dependency 2012-09-04 17:49:32 +02:00
Mathijs Kwik df82c94263 node-packages: introduced alphabet 2012-09-04 17:49:32 +02:00
Shea Levy 7e24bde3d9 Add node-gyp 2012-08-26 16:18:03 -04:00
Shea Levy ddb3f8c34e Add npm2nix 0.1.2 2012-08-26 16:11:29 -04:00
Shea Levy a94e8d2756 Add npm2nix as a nodePackage 2012-08-26 16:02:04 -04:00
Shea Levy 9a8b0b644b Add semver node package 2012-08-26 15:43:02 -04:00
Shea Levy aa4ce18077 node-packages.nix: Export buildNodePackage 2012-08-22 09:44:38 -04:00
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