git.iko.soy/typeable/nixpkgs
on master help sign in
titaniumsdk: add SDK version 5.1 and remove older versions
commitd268fa7676ac17193abd014c3c21ec4614513244 authorSander van der Burg <svanderburg@gmail.com> dateThu 7 Jan 2016, 13:47 (11 years ago) parentd3de3db
18 files changed+2814−462
pkgs/development/mobile/titaniumenv/build-app.nix+40−31 pkgs/development/mobile/titaniumenv/cli/cli.json+3 pkgs/development/mobile/titaniumenv/cli/default.nix+15 pkgs/development/mobile/titaniumenv/cli/node-env.nix+309 pkgs/development/mobile/titaniumenv/cli/registry.nix+2393 pkgs/development/mobile/titaniumenv/default.nix+4−31 pkgs/development/mobile/titaniumenv/examples/default.nix+3−3 pkgs/development/mobile/titaniumenv/examples/kitchensink/default.nix+5−5 pkgs/development/mobile/titaniumenv/fixnativelibs.sed−1 pkgs/development/mobile/titaniumenv/fixso.sed−1 pkgs/development/mobile/titaniumenv/fixtiprofiler.sed−1 pkgs/development/mobile/titaniumenv/fixtiverify.sed−1 pkgs/development/mobile/titaniumenv/titaniumsdk-3.1.nix−80 pkgs/development/mobile/titaniumenv/titaniumsdk-3.2.nix−77 pkgs/development/mobile/titaniumenv/titaniumsdk-3.3.nix−77 pkgs/development/mobile/titaniumenv/titaniumsdk-3.4.nix−77 pkgs/development/mobile/titaniumenv/titaniumsdk-3.5.nix−77 pkgs/development/mobile/titaniumenv/titaniumsdk-5.1.nix+42
pkgs/development/mobile/titaniumenv/build-app.nix+40−31
@@ -1,7 +1,7 @@
11{stdenv, androidsdk, titaniumsdk, titanium, xcodewrapper, jdk, python, which, xcodeBaseDir}:
2−{ name, src, target, androidPlatformVersions ? [ "8" ], androidAbiVersions ? [ "armeabi" "armeabi-v7a" ], tiVersion ? null
2+{ name, src, target, androidPlatformVersions ? [ "23" ], androidAbiVersions ? [ "armeabi" "armeabi-v7a" ], tiVersion ? null
33, release ? false, androidKeyStore ? null, androidKeyAlias ? null, androidKeyStorePassword ? null
4−, iosMobileProvisioningProfile ? null, iosCertificateName ? null, iosCertificate ? null, iosCertificatePassword ? null, iosVersion ? "8.1", iosWwdrCertificate ? null
4+, iosMobileProvisioningProfile ? null, iosCertificateName ? null, iosCertificate ? null, iosCertificatePassword ? null, iosVersion ? "9.2"
55, enableWirelessDistribution ? false, installURL ? null
66}:
77
@@ -43,31 +43,29 @@ stdenv.mkDerivation {
4343
4444 echo "{}" > $TMPDIR/config.json
4545 titanium --config-file $TMPDIR/config.json --no-colors config sdk.defaultInstallLocation ${titaniumsdk}
46−
4746 titanium --config-file $TMPDIR/config.json --no-colors config paths.modules ${titaniumsdk}
4847
4948 mkdir -p $out
5049
5150 ${if target == "android" then
5251 ''
53− titanium config --config-file $TMPDIR/config.json --no-colors android.sdkPath ${androidsdkComposition}/libexec/android-sdk-*
52+ titanium config --config-file $TMPDIR/config.json --no-colors android.sdk ${androidsdkComposition}/libexec/android-sdk-*
53+ titanium config --config-file $TMPDIR/config.json --no-colors android.buildTools.selectedVersion 23.0.1
54+ titanium config --config-file $TMPDIR/config.json --no-colors android.buildTools.path ${androidsdkComposition}/libexec/android-sdk-*/build-tools/android-*
55+ titanium config --config-file $TMPDIR/config.json android.executables.zipalign ${androidsdkComposition}/libexec/android-sdk-*/build-tools/android-*/zipalign
56+ titanium config --config-file $TMPDIR/config.json android.executables.aapt ${androidsdkComposition}/libexec/android-sdk-*/build-tools/android-*/aapt
57+ titanium config --config-file $TMPDIR/config.json android.executables.aidl ${androidsdkComposition}/libexec/android-sdk-*/build-tools/android-*/aidl
58+ titanium config --config-file $TMPDIR/config.json android.executables.dx ${androidsdkComposition}/libexec/android-sdk-*/build-tools/android-*/dx
5459
55− # Add zipalign to PATH to make Ti 3.1 builds still work
56− for i in $(find -L ${androidsdkComposition}/libexec/android-sdk-*/build-tools -name zipalign)
57− do
58− export PATH=$(dirname $i):$PATH
59− break
60− done
60+ export PATH=$(echo ${androidsdkComposition}/libexec/android-sdk-*/tools):$(echo ${androidsdkComposition}/libexec/android-sdk-*/build-tools/android-*):$PATH
6161
6262 ${if release then
63− ''titanium build --config-file $TMPDIR/config.json --no-colors --force --platform android --target dist-playstore --keystore ${androidKeyStore} --alias ${androidKeyAlias} --password ${androidKeyStorePassword} --output-dir $out''
63+ ''titanium build --config-file $TMPDIR/config.json --no-colors --force --platform android --target dist-playstore --keystore ${androidKeyStore} --alias ${androidKeyAlias} --store-password ${androidKeyStorePassword} --output-dir $out''
6464 else
6565 ''titanium build --config-file $TMPDIR/config.json --no-colors --force --platform android --target emulator --build-only -B foo --output $out''}
6666 ''
6767 else if target == "iphone" then
6868 ''
69− export NIX_TITANIUM_WORKAROUND="--config-file $TMPDIR/config.json"
70−
7169 ${if release then
7270 ''
7371 export HOME=/Users/$(whoami)
@@ -78,9 +76,6 @@ stdenv.mkDerivation {
7876 security default-keychain -s $keychainName
7977 security unlock-keychain -p "" $keychainName
8078 security import ${iosCertificate} -k $keychainName -P "${iosCertificatePassword}" -A
81− ${stdenv.lib.optionalString (iosWwdrCertificate != null) ''
82− security import ${iosWwdrCertificate} -k $keychainName
83− ''}
8479 provisioningId=$(grep UUID -A1 -a ${iosMobileProvisioningProfile} | grep -o "[-A-Za-z0-9]\{36\}")
8580
8681 # Ensure that the requested provisioning profile can be found
@@ -91,16 +86,6 @@ stdenv.mkDerivation {
9186 cp ${iosMobileProvisioningProfile} "$HOME/Library/MobileDevice/Provisioning Profiles/$provisioningId.mobileprovision"
9287 fi
9388
94− # Make a copy of the Titanium SDK and fix its permissions. Without it,
95− # builds using the facebook module fail, because it needs to be writable
96−
97− cp -av ${titaniumsdk} $TMPDIR/titaniumsdk
98−
99− find $TMPDIR/titaniumsdk | while read i
100− do
101− chmod 755 "$i"
102− done
103−
10489 # Simulate a login
10590 mkdir -p $HOME/.titanium
10691 cat > $HOME/.titanium/auth_session.json <<EOF
@@ -110,14 +95,21 @@ stdenv.mkDerivation {
11095 # Configure the path to Xcode
11196 titanium --config-file $TMPDIR/config.json --no-colors config paths.xcode ${xcodeBaseDir}
11297
113− # Set the SDK to our copy
114− titanium --config-file $TMPDIR/config.json --no-colors config sdk.defaultInstallLocation $TMPDIR/titaniumsdk
115−
98+ # Make plutil available
99+ mkdir -p $TMPDIR/bin
100+ ln -s /usr/bin/plutil $TMPDIR/bin
101+ export PATH=$TMPDIR/bin:$PATH
102+
103+ # Link the modules folder
104+ if [ ! -e modules ]
105+ then
106+ ln -s ${titaniumsdk}/modules modules
107+ fi
108+
116109 # Do the actual build
117110 titanium build --config-file $TMPDIR/config.json --force --no-colors --platform ios --target dist-adhoc --pp-uuid $provisioningId --distribution-name "${iosCertificateName}" --keychain $HOME/Library/Keychains/$keychainName --device-family universal --ios-version ${iosVersion} --output-dir $out
118111
119112 # Remove our generated keychain
120−
121113 ${deleteKeychain}
122114 ''
123115 else
@@ -129,11 +121,28 @@ stdenv.mkDerivation {
129121
130122 cp -av * $out
131123 cd $out
132−
124+
125+ # We need to consult a real home directory to find the available simulators
126+ export HOME=/Users/$(whoami)
127+
133128 # Configure the path to Xcode
134129 titanium --config-file $TMPDIR/config.json --no-colors config paths.xcode ${xcodeBaseDir}
135130
131+ # Link the modules folder
132+ if [ ! -e modules ]
133+ then
134+ ln -s ${titaniumsdk}/modules modules
135+ createdModulesSymlink=1
136+ fi
137+
138+ # Execute the build
136139 titanium build --config-file $TMPDIR/config.json --force --no-colors --platform ios --target simulator --build-only --device-family universal --ios-version ${iosVersion} --output-dir $out
140+
141+ # Remove the modules symlink
142+ if [ "$createdModulesSymlink" = "1" ]
143+ then
144+ rm $out/modules
145+ fi
137146 ''}
138147 ''
139148
pkgs/development/mobile/titaniumenv/cli/cli.jsonnew file+3
@@ -0,0 +1,3 @@
1+[
2+ "titanium"
3+]
pkgs/development/mobile/titaniumenv/cli/default.nixnew file+15
@@ -0,0 +1,15 @@
1+{system ? builtins.currentSystem, pkgs ? import <nixpkgs> {
2+ inherit system;
3+ }, overrides ? {}}:
4+
5+let
6+ nodeEnv = import ./node-env.nix {
7+ inherit (pkgs) stdenv fetchurl nodejs python utillinux runCommand;
8+ };
9+ registry = (import ./registry.nix {
10+ inherit (nodeEnv) buildNodePackage;
11+ inherit (pkgs) fetchurl fetchgit;
12+ self = registry;
13+ }) // overrides;
14+in
15+registry
pkgs/development/mobile/titaniumenv/cli/node-env.nixnew file+309
@@ -0,0 +1,309 @@
1+{ stdenv, fetchurl, nodejs, python, utillinux, runCommand }:
2+
3+let
4+ # Function that generates a TGZ file from a NPM project
5+ buildNodeSourceDist =
6+ { name, version, src }:
7+
8+ stdenv.mkDerivation {
9+ name = "node-tarball-${name}-${version}";
10+ inherit src;
11+ buildInputs = [ nodejs ];
12+ buildPhase = ''
13+ export HOME=$TMPDIR
14+ tgzFile=$(npm pack)
15+ '';
16+ installPhase = ''
17+ mkdir -p $out/tarballs
18+ mv $tgzFile $out/tarballs
19+ mkdir -p $out/nix-support
20+ echo "file source-dist $out/tarballs/$tgzFile" >> $out/nix-support/hydra-build-products
21+ '';
22+ };
23+
24+ # We must run semver to determine whether a provided dependency conforms to a certain version range
25+ semver = buildNodePackage {
26+ name = "semver";
27+ version = "5.0.3";
28+ src = fetchurl {
29+ url = http://registry.npmjs.org/semver/-/semver-5.0.3.tgz;
30+ sha1 = "77466de589cd5d3c95f138aa78bc569a3cb5d27a";
31+ };
32+ } {};
33+
34+ # Function that produces a deployed NPM package in the Nix store
35+ buildNodePackage =
36+ { name, version, src, dependencies ? {}, buildInputs ? [], production ? true, npmFlags ? "", meta ? {}, linkDependencies ? false }:
37+ { providedDependencies ? {} }:
38+
39+ let
40+ # Generate and import a Nix expression that determines which dependencies
41+ # are required and which are not required (and must be shimmed).
42+ #
43+ # It uses the semver utility to check whether a version range matches any
44+ # of the provided dependencies.
45+
46+ analysedDependencies =
47+ if dependencies == {} then {}
48+ else
49+ import (stdenv.mkDerivation {
50+ name = "${name}-${version}-analysedDependencies.nix";
51+ buildInputs = [ semver ];
52+ buildCommand = ''
53+ cat > $out <<EOF
54+ {
55+ ${stdenv.lib.concatMapStrings (dependencyName:
56+ let
57+ dependency = builtins.getAttr dependencyName dependencies;
58+ versionSpecs = builtins.attrNames dependency;
59+ in
60+ stdenv.lib.concatMapStrings (versionSpec:
61+ if builtins.hasAttr dependencyName providedDependencies # Search for any provided dependencies that match the required version spec. If one matches, the dependency should not be included
62+ then
63+ let
64+ providedDependency = builtins.getAttr dependencyName providedDependencies;
65+ versions = builtins.attrNames providedDependency;
66+
67+ # If there is a version range match, add the dependency to
68+ # the set of shimmed dependencies.
69+ # Otherwise, it is a required dependency.
70+ in
71+ ''
72+ $(latestVersion=$(semver -r '${versionSpec}' ${stdenv.lib.concatMapStrings (version: " '${version}'") versions} | tail -1 | tr -d '\n')
73+
74+ if semver -r '${versionSpec}' ${stdenv.lib.concatMapStrings (version: " '${version}'") versions} >/dev/null
75+ then
76+ echo "shimmedDependencies.\"${dependencyName}\".\"$latestVersion\" = true;"
77+ else
78+ echo 'requiredDependencies."${dependencyName}"."${versionSpec}" = true;'
79+ fi)
80+ ''
81+ else # If a dependency is not provided by an includer, we must always include it ourselves
82+ "requiredDependencies.\"${dependencyName}\".\"${versionSpec}\" = true;\n"
83+ ) versionSpecs
84+ ) (builtins.attrNames dependencies)}
85+ }
86+ EOF
87+ '';
88+ });
89+
90+ requiredDependencies = analysedDependencies.requiredDependencies or {};
91+ shimmedDependencies = analysedDependencies.shimmedDependencies or {};
92+
93+ # Extract the Node.js source code which is used to compile packages with native bindings
94+ nodeSources = runCommand "node-sources" {} ''
95+ tar --no-same-owner --no-same-permissions -xf ${nodejs.src}
96+ mv node-* $out
97+ '';
98+
99+ # Compose dependency information that this package must propagate to its
100+ # dependencies, so that provided dependencies are not included a second time.
101+ # This prevents cycles and wildcard version mismatches.
102+
103+ propagatedProvidedDependencies =
104+ (stdenv.lib.mapAttrs (dependencyName: dependency:
105+ builtins.listToAttrs (map (versionSpec:
106+ { name = dependency."${versionSpec}".version;
107+ value = true;
108+ }
109+ ) (builtins.attrNames dependency))
110+ ) dependencies) //
111+ providedDependencies //
112+ { "${name}"."${version}" = true; };
113+
114+ # Create a node_modules folder containing all required dependencies of the
115+ # package
116+
117+ nodeDependencies = stdenv.mkDerivation {
118+ name = "node-dependencies-${name}-${version}";
119+ inherit src;
120+ buildCommand = ''
121+ mkdir -p $out/lib/node_modules
122+ cd $out/lib/node_modules
123+
124+ # Create copies of (or symlinks to) the dependencies that must be deployed in this package's private node_modules folder.
125+ # This package's private dependencies are NPM packages that have not been provided by any of the includers.
126+
127+ ${stdenv.lib.concatMapStrings (requiredDependencyName:
128+ stdenv.lib.concatMapStrings (versionSpec:
129+ let
130+ dependency = dependencies."${requiredDependencyName}"."${versionSpec}".pkg {
131+ providedDependencies = propagatedProvidedDependencies;
132+ };
133+ in
134+ ''
135+ depPath=$(echo ${dependency}/lib/node_modules/*)
136+
137+ ${if linkDependencies then ''
138+ ln -s $depPath .
139+ '' else ''
140+ cp -r $depPath .
141+ ''}
142+ ''
143+ ) (builtins.attrNames (requiredDependencies."${requiredDependencyName}"))
144+ ) (builtins.attrNames requiredDependencies)}
145+ '';
146+ };
147+
148+ # Deploy the Node package with some tricks
149+ self = stdenv.lib.makeOverridable stdenv.mkDerivation {
150+ inherit src meta;
151+ dontStrip = true;
152+
153+ name = "node-${name}-${version}";
154+ buildInputs = [ nodejs python ] ++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ buildInputs;
155+ buildPhase = "true";
156+
157+ installPhase = ''
158+ # Move the contents of the tarball into the output folder
159+ mkdir -p "$out/lib/node_modules/${name}"
160+ mv * "$out/lib/node_modules/${name}"
161+
162+ # Enter the target directory
163+ cd "$out/lib/node_modules/${name}"
164+
165+ # Patch the shebangs of the bundled modules. For "regular" dependencies
166+ # this is step is not required, because it has already been done by the generic builder.
167+
168+ if [ -d node_modules ]
169+ then
170+ patchShebangs node_modules
171+ fi
172+
173+ # Copy the required dependencies
174+ mkdir -p node_modules
175+
176+ ${stdenv.lib.optionalString (requiredDependencies != {}) ''
177+ for i in ${nodeDependencies}/lib/node_modules/*
178+ do
179+ if [ ! -d "node_modules/$(basename $i)" ]
180+ then
181+ cp -a $i node_modules
182+ fi
183+ done
184+ ''}
185+
186+ # Create shims for the packages that have been provided by earlier includers to allow the NPM install operation to still succeed
187+
188+ ${stdenv.lib.concatMapStrings (shimmedDependencyName:
189+ stdenv.lib.concatMapStrings (versionSpec:
190+ ''
191+ mkdir -p node_modules/${shimmedDependencyName}
192+ cat > node_modules/${shimmedDependencyName}/package.json <<EOF
193+ {
194+ "name": "${shimmedDependencyName}",
195+ "version": "${versionSpec}"
196+ }
197+ EOF
198+ ''
199+ ) (builtins.attrNames (shimmedDependencies."${shimmedDependencyName}"))
200+ ) (builtins.attrNames shimmedDependencies)}
201+
202+ # Ignore npm-shrinkwrap.json for now. Ideally, it should be supported as well
203+ rm -f npm-shrinkwrap.json
204+
205+ # Some version specifiers (latest, unstable, URLs, file paths) force NPM to make remote connections or consult paths outside the Nix store.
206+ # The following JavaScript replaces these by * to prevent that:
207+
208+ (
209+ cat <<EOF
210+ var fs = require('fs');
211+ var url = require('url');
212+
213+ /*
214+ * Replaces an impure version specification by *
215+ */
216+ function replaceImpureVersionSpec(versionSpec) {
217+ var parsedUrl = url.parse(versionSpec);
218+
219+ if(versionSpec == "latest" || versionSpec == "unstable" ||
220+ versionSpec.substr(0, 2) == ".." || dependency.substr(0, 2) == "./" || dependency.substr(0, 2) == "~/" || dependency.substr(0, 1) == '/')
221+ return '*';
222+ else if(parsedUrl.protocol == "git:" || parsedUrl.protocol == "git+ssh:" || parsedUrl.protocol == "git+http:" || parsedUrl.protocol == "git+https:" ||
223+ parsedUrl.protocol == "http:" || parsedUrl.protocol == "https:")
224+ return '*';
225+ else
226+ return versionSpec;
227+ }
228+
229+ var packageObj = JSON.parse(fs.readFileSync('./package.json'));
230+
231+ /* Replace dependencies */
232+ if(packageObj.dependencies !== undefined) {
233+ for(var dependency in packageObj.dependencies) {
234+ var versionSpec = packageObj.dependencies[dependency];
235+ packageObj.dependencies[dependency] = replaceImpureVersionSpec(versionSpec);
236+ }
237+ }
238+
239+ /* Replace development dependencies */
240+ if(packageObj.devDependencies !== undefined) {
241+ for(var dependency in packageObj.devDependencies) {
242+ var versionSpec = packageObj.devDependencies[dependency];
243+ packageObj.devDependencies[dependency] = replaceImpureVersionSpec(versionSpec);
244+ }
245+ }
246+
247+ /* Replace optional dependencies */
248+ if(packageObj.optionalDependencies !== undefined) {
249+ for(var dependency in packageObj.optionalDependencies) {
250+ var versionSpec = packageObj.optionalDependencies[dependency];
251+ packageObj.optionalDependencies[dependency] = replaceImpureVersionSpec(versionSpec);
252+ }
253+ }
254+
255+ /* Write the fixed JSON file */
256+ fs.writeFileSync("package.json", JSON.stringify(packageObj));
257+ EOF
258+ ) | node
259+
260+ # Deploy the Node.js package by running npm install. Since the dependencies have been symlinked, it should not attempt to install them again,
261+ # which is good, because we want to make it Nix's responsibility. If it needs to install any dependencies anyway (e.g. because the dependency
262+ # parameters are incomplete/incorrect), it fails.
263+
264+ export HOME=$TMPDIR
265+ npm --registry http://www.example.com --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} install
266+
267+ # After deployment of the NPM package, we must remove the shims again
268+ ${stdenv.lib.concatMapStrings (shimmedDependencyName:
269+ ''
270+ rm node_modules/${shimmedDependencyName}/package.json
271+ rmdir node_modules/${shimmedDependencyName}
272+ ''
273+ ) (builtins.attrNames shimmedDependencies)}
274+
275+ # It makes no sense to keep an empty node_modules folder around, so delete it if this is the case
276+ if [ -d node_modules ]
277+ then
278+ rmdir --ignore-fail-on-non-empty node_modules
279+ fi
280+
281+ # Create symlink to the deployed executable folder, if applicable
282+ if [ -d "$out/lib/node_modules/.bin" ]
283+ then
284+ ln -s $out/lib/node_modules/.bin $out/bin
285+ fi
286+
287+ # Create symlinks to the deployed manual page folders, if applicable
288+ if [ -d "$out/lib/node_modules/${name}/man" ]
289+ then
290+ mkdir -p $out/share
291+ for dir in "$out/lib/node_modules/${name}/man/"*
292+ do
293+ mkdir -p $out/share/man/$(basename "$dir")
294+ for page in "$dir"/*
295+ do
296+ ln -s $page $out/share/man/$(basename "$dir")
297+ done
298+ done
299+ fi
300+ '';
301+
302+ shellHook = stdenv.lib.optionalString (requiredDependencies != {}) ''
303+ export NODE_PATH=${nodeDependencies}/lib/node_modules
304+ '';
305+ };
306+ in
307+ self;
308+in
309+{ inherit buildNodeSourceDist buildNodePackage; }
pkgs/development/mobile/titaniumenv/cli/registry.nixnew file+2393
@@ -0,0 +1,2393 @@
1+{buildNodePackage, fetchurl, fetchgit, self}:
2+
3+let
4+ registry = {
5+ "titanium-5.0.5" = buildNodePackage {
6+ name = "titanium";
7+ version = "5.0.5";
8+ src = fetchurl {
9+ url = "http://registry.npmjs.org/titanium/-/titanium-5.0.5.tgz";
10+ sha1 = "38a466deaeee9a8b346973d70a8baaeb4c3af281";
11+ };
12+ dependencies = {
13+ async = {
14+ "1.4.2" = {
15+ version = "1.4.2";
16+ pkg = self."async-1.4.2";
17+ };
18+ };
19+ colors = {
20+ "1.1.2" = {
21+ version = "1.1.2";
22+ pkg = self."colors-1.1.2";
23+ };
24+ };
25+ fields = {
26+ "0.1.24" = {
27+ version = "0.1.24";
28+ pkg = self."fields-0.1.24";
29+ };
30+ };
31+ humanize = {
32+ "0.0.9" = {
33+ version = "0.0.9";
34+ pkg = self."humanize-0.0.9";
35+ };
36+ };
37+ longjohn = {
38+ "0.2.9" = {
39+ version = "0.2.9";
40+ pkg = self."longjohn-0.2.9";
41+ };
42+ };
43+ moment = {
44+ "2.10.6" = {
45+ version = "2.10.6";
46+ pkg = self."moment-2.10.6";
47+ };
48+ };
49+ node-appc = {
50+ "0.2.31" = {
51+ version = "0.2.31";
52+ pkg = self."node-appc-0.2.31";
53+ };
54+ };
55+ request = {
56+ "2.62.0" = {
57+ version = "2.62.0";
58+ pkg = self."request-2.62.0";
59+ };
60+ };
61+ semver = {
62+ "5.0.3" = {
63+ version = "5.0.3";
64+ pkg = self."semver-5.0.3";
65+ };
66+ };
67+ sprintf = {
68+ "0.1.5" = {
69+ version = "0.1.5";
70+ pkg = self."sprintf-0.1.5";
71+ };
72+ };
73+ temp = {
74+ "0.8.3" = {
75+ version = "0.8.3";
76+ pkg = self."temp-0.8.3";
77+ };
78+ };
79+ winston = {
80+ "1.0.x" = {
81+ version = "1.0.2";
82+ pkg = self."winston-1.0.2";
83+ };
84+ };
85+ wrench = {
86+ "1.5.8" = {
87+ version = "1.5.8";
88+ pkg = self."wrench-1.5.8";
89+ };
90+ };
91+ };
92+ meta = {
93+ description = "Appcelerator Titanium Command line";
94+ homepage = "https://github.com/appcelerator/titanium#readme";
95+ license = "Apache-2.0";
96+ };
97+ production = true;
98+ linkDependencies = false;
99+ };
100+ "async-1.4.2" = buildNodePackage {
101+ name = "async";
102+ version = "1.4.2";
103+ src = fetchurl {
104+ url = "http://registry.npmjs.org/async/-/async-1.4.2.tgz";
105+ sha1 = "6c9edcb11ced4f0dd2f2d40db0d49a109c088aab";
106+ };
107+ meta = {
108+ description = "Higher-order functions and common patterns for asynchronous code";
109+ homepage = "https://github.com/caolan/async#readme";
110+ license = "MIT";
111+ };
112+ production = true;
113+ linkDependencies = false;
114+ };
115+ "colors-1.1.2" = buildNodePackage {
116+ name = "colors";
117+ version = "1.1.2";
118+ src = fetchurl {
119+ url = "http://registry.npmjs.org/colors/-/colors-1.1.2.tgz";
120+ sha1 = "168a4701756b6a7f51a12ce0c97bfa28c084ed63";
121+ };
122+ meta = {
123+ description = "get colors in your node.js console";
124+ homepage = https://github.com/Marak/colors.js;
125+ license = "MIT";
126+ };
127+ production = true;
128+ linkDependencies = false;
129+ };
130+ "fields-0.1.24" = buildNodePackage {
131+ name = "fields";
132+ version = "0.1.24";
133+ src = fetchurl {
134+ url = "http://registry.npmjs.org/fields/-/fields-0.1.24.tgz";
135+ sha1 = "bed93b1c2521f4705fe764f4209267fdfd89f5d3";
136+ };
137+ dependencies = {
138+ colors = {
139+ "~0.6.2" = {
140+ version = "0.6.2";
141+ pkg = self."colors-0.6.2";
142+ };
143+ };
144+ keypress = {
145+ "~0.2.1" = {
146+ version = "0.2.1";
147+ pkg = self."keypress-0.2.1";
148+ };
149+ };
150+ sprintf = {
151+ "~0.1.4" = {
152+ version = "0.1.5";
153+ pkg = self."sprintf-0.1.5";
154+ };
155+ };
156+ };
157+ meta = {
158+ description = "Creates fields to prompt for input at the command line";
159+ homepage = https://github.com/cb1kenobi/fields;
160+ };
161+ production = true;
162+ linkDependencies = false;
163+ };
164+ "colors-0.6.2" = buildNodePackage {
165+ name = "colors";
166+ version = "0.6.2";
167+ src = fetchurl {
168+ url = "http://registry.npmjs.org/colors/-/colors-0.6.2.tgz";
169+ sha1 = "2423fe6678ac0c5dae8852e5d0e5be08c997abcc";
170+ };
171+ meta = {
172+ description = "get colors in your node.js console like what";
173+ homepage = https://github.com/Marak/colors.js;
174+ };
175+ production = true;
176+ linkDependencies = false;
177+ };
178+ "colors-~0.6.2" = self."colors-0.6.2";
179+ "keypress-0.2.1" = buildNodePackage {
180+ name = "keypress";
181+ version = "0.2.1";
182+ src = fetchurl {
183+ url = "http://registry.npmjs.org/keypress/-/keypress-0.2.1.tgz";
184+ sha1 = "1e80454250018dbad4c3fe94497d6e67b6269c77";
185+ };
186+ meta = {
187+ description = "Make any Node ReadableStream emit \"keypress\" events";
188+ license = "MIT";
189+ };
190+ production = true;
191+ linkDependencies = false;
192+ };
193+ "keypress-~0.2.1" = self."keypress-0.2.1";
194+ "sprintf-0.1.5" = buildNodePackage {
195+ name = "sprintf";
196+ version = "0.1.5";
197+ src = fetchurl {
198+ url = "http://registry.npmjs.org/sprintf/-/sprintf-0.1.5.tgz";
199+ sha1 = "8f83e39a9317c1a502cb7db8050e51c679f6edcf";
200+ };
201+ meta = {
202+ description = "Sprintf() for node.js";
203+ homepage = https://github.com/maritz/node-sprintf;
204+ license = "BSD-3-Clause";
205+ };
206+ production = true;
207+ linkDependencies = false;
208+ };
209+ "sprintf-~0.1.4" = self."sprintf-0.1.5";
210+ "humanize-0.0.9" = buildNodePackage {
211+ name = "humanize";
212+ version = "0.0.9";
213+ src = fetchurl {
214+ url = "http://registry.npmjs.org/humanize/-/humanize-0.0.9.tgz";
215+ sha1 = "1994ffaecdfe9c441ed2bdac7452b7bb4c9e41a4";
216+ };
217+ dependencies = {};
218+ meta = {
219+ description = "Javascript string formatter for human readability";
220+ homepage = https://github.com/taijinlee/humanize;
221+ };
222+ production = true;
223+ linkDependencies = false;
224+ };
225+ "longjohn-0.2.9" = buildNodePackage {
226+ name = "longjohn";
227+ version = "0.2.9";
228+ src = fetchurl {
229+ url = "http://registry.npmjs.org/longjohn/-/longjohn-0.2.9.tgz";
230+ sha1 = "db1bf175fcfffcfce099132d1470f52f41a31519";
231+ };
232+ dependencies = {
233+ source-map-support = {
234+ "0.3.2" = {
235+ version = "0.3.2";
236+ pkg = self."source-map-support-0.3.2";
237+ };
238+ };
239+ };
240+ meta = {
241+ description = "Long stack traces for node.js inspired by https://github.com/tlrobinson/long-stack-traces";
242+ homepage = https://github.com/mattinsler/longjohn;
243+ license = "MIT";
244+ };
245+ production = true;
246+ linkDependencies = false;
247+ };
248+ "source-map-support-0.3.2" = buildNodePackage {
249+ name = "source-map-support";
250+ version = "0.3.2";
251+ src = fetchurl {
252+ url = "http://registry.npmjs.org/source-map-support/-/source-map-support-0.3.2.tgz";
253+ sha1 = "737d5c901e0b78fdb53aca713d24f23ccbb10be1";
254+ };
255+ dependencies = {
256+ source-map = {
257+ "0.1.32" = {
258+ version = "0.1.32";
259+ pkg = self."source-map-0.1.32";
260+ };
261+ };
262+ };
263+ meta = {
264+ description = "Fixes stack traces for files with source maps";
265+ homepage = https://github.com/evanw/node-source-map-support;
266+ license = "MIT";
267+ };
268+ production = true;
269+ linkDependencies = false;
270+ };
271+ "source-map-0.1.32" = buildNodePackage {
272+ name = "source-map";
273+ version = "0.1.32";
274+ src = fetchurl {
275+ url = "http://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz";
276+ sha1 = "c8b6c167797ba4740a8ea33252162ff08591b266";
277+ };
278+ dependencies = {
279+ amdefine = {
280+ ">=0.0.4" = {
281+ version = "1.0.0";
282+ pkg = self."amdefine-1.0.0";
283+ };
284+ };
285+ };
286+ meta = {
287+ description = "Generates and consumes source maps";
288+ homepage = https://github.com/mozilla/source-map;
289+ };
290+ production = true;
291+ linkDependencies = false;
292+ };
293+ "amdefine-1.0.0" = buildNodePackage {
294+ name = "amdefine";
295+ version = "1.0.0";
296+ src = fetchurl {
297+ url = "http://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz";
298+ sha1 = "fd17474700cb5cc9c2b709f0be9d23ce3c198c33";
299+ };
300+ meta = {
301+ description = "Provide AMD's define() API for declaring modules in the AMD format";
302+ homepage = http://github.com/jrburke/amdefine;
303+ license = "BSD-3-Clause AND MIT";
304+ };
305+ production = true;
306+ linkDependencies = false;
307+ };
308+ "amdefine->=0.0.4" = self."amdefine-1.0.0";
309+ "moment-2.10.6" = buildNodePackage {
310+ name = "moment";
311+ version = "2.10.6";
312+ src = fetchurl {
313+ url = "http://registry.npmjs.org/moment/-/moment-2.10.6.tgz";
314+ sha1 = "6cb21967c79cba7b0ca5e66644f173662b3efa77";
315+ };
316+ meta = {
317+ description = "Parse, validate, manipulate, and display dates";
318+ homepage = http://momentjs.com/;
319+ license = "MIT";
320+ };
321+ production = true;
322+ linkDependencies = false;
323+ };
324+ "node-appc-0.2.31" = buildNodePackage {
325+ name = "node-appc";
326+ version = "0.2.31";
327+ src = fetchurl {
328+ url = "http://registry.npmjs.org/node-appc/-/node-appc-0.2.31.tgz";
329+ sha1 = "8d8d0052fd8b8ce4bc44f06883009f7c950bc8c2";
330+ };
331+ dependencies = {
332+ adm-zip = {
333+ "0.4.7" = {
334+ version = "0.4.7";
335+ pkg = self."adm-zip-0.4.7";
336+ };
337+ };
338+ async = {
339+ "1.4.2" = {
340+ version = "1.4.2";
341+ pkg = self."async-1.4.2";
342+ };
343+ };
344+ colors = {
345+ "1.1.2" = {
346+ version = "1.1.2";
347+ pkg = self."colors-1.1.2";
348+ };
349+ };
350+ diff = {
351+ "2.1.0" = {
352+ version = "2.1.0";
353+ pkg = self."diff-2.1.0";
354+ };
355+ };
356+ node-uuid = {
357+ "1.4.3" = {
358+ version = "1.4.3";
359+ pkg = self."node-uuid-1.4.3";
360+ };
361+ };
362+ optimist = {
363+ "0.6.1" = {
364+ version = "0.6.1";
365+ pkg = self."optimist-0.6.1";
366+ };
367+ };
368+ request = {
369+ "2.61.0" = {
370+ version = "2.61.0";
371+ pkg = self."request-2.61.0";
372+ };
373+ };
374+ semver = {
375+ "5.0.1" = {
376+ version = "5.0.1";
377+ pkg = self."semver-5.0.1";
378+ };
379+ };
380+ sprintf = {
381+ "0.1.5" = {
382+ version = "0.1.5";
383+ pkg = self."sprintf-0.1.5";
384+ };
385+ };
386+ temp = {
387+ "0.8.3" = {
388+ version = "0.8.3";
389+ pkg = self."temp-0.8.3";
390+ };
391+ };
392+ wrench = {
393+ "1.5.8" = {
394+ version = "1.5.8";
395+ pkg = self."wrench-1.5.8";
396+ };
397+ };
398+ uglify-js = {
399+ "2.4.24" = {
400+ version = "2.4.24";
401+ pkg = self."uglify-js-2.4.24";
402+ };
403+ };
404+ xmldom = {
405+ "0.1.19" = {
406+ version = "0.1.19";
407+ pkg = self."xmldom-0.1.19";
408+ };
409+ };
410+ };
411+ meta = {
412+ description = "Appcelerator Common Node Library";
413+ homepage = http://github.com/appcelerator/node-appc;
414+ license = "Apache Public License v2";
415+ };
416+ production = true;
417+ linkDependencies = false;
418+ };
419+ "adm-zip-0.4.7" = buildNodePackage {
420+ name = "adm-zip";
421+ version = "0.4.7";
422+ src = fetchurl {
423+ url = "http://registry.npmjs.org/adm-zip/-/adm-zip-0.4.7.tgz";
424+ sha1 = "8606c2cbf1c426ce8c8ec00174447fd49b6eafc1";
425+ };
426+ meta = {
427+ description = "A Javascript implementation of zip for nodejs. Allows user to create or extract zip files both in memory or to/from disk";
428+ homepage = http://github.com/cthackers/adm-zip;
429+ };
430+ production = true;
431+ linkDependencies = false;
432+ };
433+ "diff-2.1.0" = buildNodePackage {
434+ name = "diff";
435+ version = "2.1.0";
436+ src = fetchurl {
437+ url = "http://registry.npmjs.org/diff/-/diff-2.1.0.tgz";
438+ sha1 = "39b5aa97f0d1600b428ad0a91dc8efcc9b29e288";
439+ };
440+ dependencies = {};
441+ meta = {
442+ description = "A javascript text diff implementation.";
443+ homepage = "https://github.com/kpdecker/jsdiff#readme";
444+ license = "BSD-3-Clause";
445+ };
446+ production = true;
447+ linkDependencies = false;
448+ };
449+ "node-uuid-1.4.3" = buildNodePackage {
450+ name = "node-uuid";
451+ version = "1.4.3";
452+ src = fetchurl {
453+ url = "http://registry.npmjs.org/node-uuid/-/node-uuid-1.4.3.tgz";
454+ sha1 = "319bb7a56e7cb63f00b5c0cd7851cd4b4ddf1df9";
455+ };
456+ meta = {
457+ description = "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.";
458+ homepage = https://github.com/broofa/node-uuid;
459+ };
460+ production = true;
461+ linkDependencies = false;
462+ };
463+ "optimist-0.6.1" = buildNodePackage {
464+ name = "optimist";
465+ version = "0.6.1";
466+ src = fetchurl {
467+ url = "http://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz";
468+ sha1 = "da3ea74686fa21a19a111c326e90eb15a0196686";
469+ };
470+ dependencies = {
471+ wordwrap = {
472+ "~0.0.2" = {
473+ version = "0.0.3";
474+ pkg = self."wordwrap-0.0.3";
475+ };
476+ };
477+ minimist = {
478+ "~0.0.1" = {
479+ version = "0.0.10";
480+ pkg = self."minimist-0.0.10";
481+ };
482+ };
483+ };
484+ meta = {
485+ description = "Light-weight option parsing with an argv hash. No optstrings attached.";
486+ homepage = https://github.com/substack/node-optimist;
487+ license = "MIT/X11";
488+ };
489+ production = true;
490+ linkDependencies = false;
491+ };
492+ "wordwrap-0.0.3" = buildNodePackage {
493+ name = "wordwrap";
494+ version = "0.0.3";
495+ src = fetchurl {
496+ url = "http://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz";
497+ sha1 = "a3d5da6cd5c0bc0008d37234bbaf1bed63059107";
498+ };
499+ meta = {
500+ description = "Wrap those words. Show them at what columns to start and stop.";
501+ homepage = "https://github.com/substack/node-wordwrap#readme";
502+ license = "MIT";
503+ };
504+ production = true;
505+ linkDependencies = false;
506+ };
507+ "wordwrap-~0.0.2" = self."wordwrap-0.0.3";
508+ "minimist-0.0.10" = buildNodePackage {
509+ name = "minimist";
510+ version = "0.0.10";
511+ src = fetchurl {
512+ url = "http://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz";
513+ sha1 = "de3f98543dbf96082be48ad1a0c7cda836301dcf";
514+ };
515+ meta = {
516+ description = "parse argument options";
517+ homepage = https://github.com/substack/minimist;
518+ license = "MIT";
519+ };
520+ production = true;
521+ linkDependencies = false;
522+ };
523+ "minimist-~0.0.1" = self."minimist-0.0.10";
524+ "request-2.61.0" = buildNodePackage {
525+ name = "request";
526+ version = "2.61.0";
527+ src = fetchurl {
528+ url = "http://registry.npmjs.org/request/-/request-2.61.0.tgz";
529+ sha1 = "6973cb2ac94885f02693f554eec64481d6013f9f";
530+ };
531+ dependencies = {
532+ bl = {
533+ "~1.0.0" = {
534+ version = "1.0.0";
535+ pkg = self."bl-1.0.0";
536+ };
537+ };
538+ caseless = {
539+ "~0.11.0" = {
540+ version = "0.11.0";
541+ pkg = self."caseless-0.11.0";
542+ };
543+ };
544+ extend = {
545+ "~3.0.0" = {
546+ version = "3.0.0";
547+ pkg = self."extend-3.0.0";
548+ };
549+ };
550+ forever-agent = {
551+ "~0.6.0" = {
552+ version = "0.6.1";
553+ pkg = self."forever-agent-0.6.1";
554+ };
555+ };
556+ form-data = {
557+ "~1.0.0-rc1" = {
558+ version = "1.0.0-rc3";
559+ pkg = self."form-data-1.0.0-rc3";
560+ };
561+ };
562+ json-stringify-safe = {
563+ "~5.0.0" = {
564+ version = "5.0.1";
565+ pkg = self."json-stringify-safe-5.0.1";
566+ };
567+ };
568+ mime-types = {
569+ "~2.1.2" = {
570+ version = "2.1.8";
571+ pkg = self."mime-types-2.1.8";
572+ };
573+ };
574+ node-uuid = {
575+ "~1.4.0" = {
576+ version = "1.4.7";
577+ pkg = self."node-uuid-1.4.7";
578+ };
579+ };
580+ qs = {
581+ "~4.0.0" = {
582+ version = "4.0.0";
583+ pkg = self."qs-4.0.0";
584+ };
585+ };
586+ tunnel-agent = {
587+ "~0.4.0" = {
588+ version = "0.4.2";
589+ pkg = self."tunnel-agent-0.4.2";
590+ };
591+ };
592+ tough-cookie = {
593+ ">=0.12.0" = {
594+ version = "2.2.1";
595+ pkg = self."tough-cookie-2.2.1";
596+ };
597+ };
598+ http-signature = {
599+ "~0.11.0" = {
600+ version = "0.11.0";
601+ pkg = self."http-signature-0.11.0";
602+ };
603+ };
604+ oauth-sign = {
605+ "~0.8.0" = {
606+ version = "0.8.0";
607+ pkg = self."oauth-sign-0.8.0";
608+ };
609+ };
610+ hawk = {
611+ "~3.1.0" = {
612+ version = "3.1.2";
613+ pkg = self."hawk-3.1.2";
614+ };
615+ };
616+ aws-sign2 = {
617+ "~0.5.0" = {
618+ version = "0.5.0";
619+ pkg = self."aws-sign2-0.5.0";
620+ };
621+ };
622+ stringstream = {
623+ "~0.0.4" = {
624+ version = "0.0.5";
625+ pkg = self."stringstream-0.0.5";
626+ };
627+ };
628+ combined-stream = {
629+ "~1.0.1" = {
630+ version = "1.0.5";
631+ pkg = self."combined-stream-1.0.5";
632+ };
633+ };
634+ isstream = {
635+ "~0.1.1" = {
636+ version = "0.1.2";
637+ pkg = self."isstream-0.1.2";
638+ };
639+ };
640+ har-validator = {
641+ "^1.6.1" = {
642+ version = "1.8.0";
643+ pkg = self."har-validator-1.8.0";
644+ };
645+ };
646+ };
647+ meta = {
648+ description = "Simplified HTTP request client.";
649+ homepage = "https://github.com/request/request#readme";
650+ license = "Apache-2.0";
651+ };
652+ production = true;
653+ linkDependencies = false;
654+ };
655+ "bl-1.0.0" = buildNodePackage {
656+ name = "bl";
657+ version = "1.0.0";
658+ src = fetchurl {
659+ url = "http://registry.npmjs.org/bl/-/bl-1.0.0.tgz";
660+ sha1 = "ada9a8a89a6d7ac60862f7dec7db207873e0c3f5";
661+ };
662+ dependencies = {
663+ readable-stream = {
664+ "~2.0.0" = {
665+ version = "2.0.5";
666+ pkg = self."readable-stream-2.0.5";
667+ };
668+ };
669+ };
670+ meta = {
671+ description = "Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!";
672+ homepage = https://github.com/rvagg/bl;
673+ license = "MIT";
674+ };
675+ production = true;
676+ linkDependencies = false;
677+ };
678+ "readable-stream-2.0.5" = buildNodePackage {
679+ name = "readable-stream";
680+ version = "2.0.5";
681+ src = fetchurl {
682+ url = "http://registry.npmjs.org/readable-stream/-/readable-stream-2.0.5.tgz";
683+ sha1 = "a2426f8dcd4551c77a33f96edf2886a23c829669";
684+ };
685+ dependencies = {
686+ core-util-is = {
687+ "~1.0.0" = {
688+ version = "1.0.2";
689+ pkg = self."core-util-is-1.0.2";
690+ };
691+ };
692+ inherits = {
693+ "~2.0.1" = {
694+ version = "2.0.1";
695+ pkg = self."inherits-2.0.1";
696+ };
697+ };
698+ isarray = {
699+ "0.0.1" = {
700+ version = "0.0.1";
701+ pkg = self."isarray-0.0.1";
702+ };
703+ };
704+ process-nextick-args = {
705+ "~1.0.6" = {
706+ version = "1.0.6";
707+ pkg = self."process-nextick-args-1.0.6";
708+ };
709+ };
710+ string_decoder = {
711+ "~0.10.x" = {
712+ version = "0.10.31";
713+ pkg = self."string_decoder-0.10.31";
714+ };
715+ };
716+ util-deprecate = {
717+ "~1.0.1" = {
718+ version = "1.0.2";
719+ pkg = self."util-deprecate-1.0.2";
720+ };
721+ };
722+ };
723+ meta = {
724+ description = "Streams3, a user-land copy of the stream library from iojs v2.x";
725+ homepage = "https://github.com/nodejs/readable-stream#readme";
726+ license = "MIT";
727+ };
728+ production = true;
729+ linkDependencies = false;
730+ };
731+ "core-util-is-1.0.2" = buildNodePackage {
732+ name = "core-util-is";
733+ version = "1.0.2";
734+ src = fetchurl {
735+ url = "http://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz";
736+ sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7";
737+ };
738+ meta = {
739+ description = "The `util.is*` functions introduced in Node v0.12.";
740+ homepage = "https://github.com/isaacs/core-util-is#readme";
741+ license = "MIT";
742+ };
743+ production = true;
744+ linkDependencies = false;
745+ };
746+ "core-util-is-~1.0.0" = self."core-util-is-1.0.2";
747+ "inherits-2.0.1" = buildNodePackage {
748+ name = "inherits";
749+ version = "2.0.1";
750+ src = fetchurl {
751+ url = "http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz";
752+ sha1 = "b17d08d326b4423e568eff719f91b0b1cbdf69f1";
753+ };
754+ meta = {
755+ description = "Browser-friendly inheritance fully compatible with standard node.js inherits()";
756+ license = "ISC";
757+ };
758+ production = true;
759+ linkDependencies = false;
760+ };
761+ "inherits-~2.0.1" = self."inherits-2.0.1";
762+ "isarray-0.0.1" = buildNodePackage {
763+ name = "isarray";
764+ version = "0.0.1";
765+ src = fetchurl {
766+ url = "http://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz";
767+ sha1 = "8a18acfca9a8f4177e09abfc6038939b05d1eedf";
768+ };
769+ dependencies = {};
770+ meta = {
771+ description = "Array#isArray for older browsers";
772+ homepage = https://github.com/juliangruber/isarray;
773+ license = "MIT";
774+ };
775+ production = true;
776+ linkDependencies = false;
777+ };
778+ "process-nextick-args-1.0.6" = buildNodePackage {
779+ name = "process-nextick-args";
780+ version = "1.0.6";
781+ src = fetchurl {
782+ url = "http://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.6.tgz";
783+ sha1 = "0f96b001cea90b12592ce566edb97ec11e69bd05";
784+ };
785+ meta = {
786+ description = "process.nextTick but always with args";
787+ homepage = https://github.com/calvinmetcalf/process-nextick-args;
788+ license = "MIT";
789+ };
790+ production = true;
791+ linkDependencies = false;
792+ };
793+ "process-nextick-args-~1.0.6" = self."process-nextick-args-1.0.6";
794+ "string_decoder-0.10.31" = buildNodePackage {
795+ name = "string_decoder";
796+ version = "0.10.31";
797+ src = fetchurl {
798+ url = "http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz";
799+ sha1 = "62e203bc41766c6c28c9fc84301dab1c5310fa94";
800+ };
801+ dependencies = {};
802+ meta = {
803+ description = "The string_decoder module from Node core";
804+ homepage = https://github.com/rvagg/string_decoder;
805+ license = "MIT";
806+ };
807+ production = true;
808+ linkDependencies = false;
809+ };
810+ "string_decoder-~0.10.x" = self."string_decoder-0.10.31";
811+ "util-deprecate-1.0.2" = buildNodePackage {
812+ name = "util-deprecate";
813+ version = "1.0.2";
814+ src = fetchurl {
815+ url = "http://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz";
816+ sha1 = "450d4dc9fa70de732762fbd2d4a28981419a0ccf";
817+ };
818+ meta = {
819+ description = "The Node.js `util.deprecate()` function with browser support";
820+ homepage = https://github.com/TooTallNate/util-deprecate;
821+ license = "MIT";
822+ };
823+ production = true;
824+ linkDependencies = false;
825+ };
826+ "util-deprecate-~1.0.1" = self."util-deprecate-1.0.2";
827+ "readable-stream-~2.0.0" = self."readable-stream-2.0.5";
828+ "bl-~1.0.0" = self."bl-1.0.0";
829+ "caseless-0.11.0" = buildNodePackage {
830+ name = "caseless";
831+ version = "0.11.0";
832+ src = fetchurl {
833+ url = "http://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz";
834+ sha1 = "715b96ea9841593cc33067923f5ec60ebda4f7d7";
835+ };
836+ meta = {
837+ description = "Caseless object set/get/has, very useful when working with HTTP headers.";
838+ homepage = "https://github.com/mikeal/caseless#readme";
839+ license = "Apache-2.0";
840+ };
841+ production = true;
842+ linkDependencies = false;
843+ };
844+ "caseless-~0.11.0" = self."caseless-0.11.0";
845+ "extend-3.0.0" = buildNodePackage {
846+ name = "extend";
847+ version = "3.0.0";
848+ src = fetchurl {
849+ url = "http://registry.npmjs.org/extend/-/extend-3.0.0.tgz";
850+ sha1 = "5a474353b9f3353ddd8176dfd37b91c83a46f1d4";
851+ };
852+ dependencies = {};
853+ meta = {
854+ description = "Port of jQuery.extend for node.js and the browser";
855+ homepage = "https://github.com/justmoon/node-extend#readme";
856+ license = "MIT";
857+ };
858+ production = true;
859+ linkDependencies = false;
860+ };
861+ "extend-~3.0.0" = self."extend-3.0.0";
862+ "forever-agent-0.6.1" = buildNodePackage {
863+ name = "forever-agent";
864+ version = "0.6.1";
865+ src = fetchurl {
866+ url = "http://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz";
867+ sha1 = "fbc71f0c41adeb37f96c577ad1ed42d8fdacca91";
868+ };
869+ dependencies = {};
870+ meta = {
871+ description = "HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.";
872+ homepage = https://github.com/mikeal/forever-agent;
873+ license = "Apache-2.0";
874+ };
875+ production = true;
876+ linkDependencies = false;
877+ };
878+ "forever-agent-~0.6.0" = self."forever-agent-0.6.1";
879+ "form-data-1.0.0-rc3" = buildNodePackage {
880+ name = "form-data";
881+ version = "1.0.0-rc3";
882+ src = fetchurl {
883+ url = "http://registry.npmjs.org/form-data/-/form-data-1.0.0-rc3.tgz";
884+ sha1 = "d35bc62e7fbc2937ae78f948aaa0d38d90607577";
885+ };
886+ dependencies = {
887+ async = {
888+ "^1.4.0" = {
889+ version = "1.5.1";
890+ pkg = self."async-1.5.1";
891+ };
892+ };
893+ combined-stream = {
894+ "^1.0.5" = {
895+ version = "1.0.5";
896+ pkg = self."combined-stream-1.0.5";
897+ };
898+ };
899+ mime-types = {
900+ "^2.1.3" = {
901+ version = "2.1.8";
902+ pkg = self."mime-types-2.1.8";
903+ };
904+ };
905+ };
906+ meta = {
907+ description = "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.";
908+ homepage = "https://github.com/form-data/form-data#readme";
909+ license = "MIT";
910+ };
911+ production = true;
912+ linkDependencies = false;
913+ };
914+ "async-1.5.1" = buildNodePackage {
915+ name = "async";
916+ version = "1.5.1";
917+ src = fetchurl {
918+ url = "http://registry.npmjs.org/async/-/async-1.5.1.tgz";
919+ sha1 = "b05714f4b11b357bf79adaffdd06da42d0766c10";
920+ };
921+ meta = {
922+ description = "Higher-order functions and common patterns for asynchronous code";
923+ homepage = "https://github.com/caolan/async#readme";
924+ license = "MIT";
925+ };
926+ production = true;
927+ linkDependencies = false;
928+ };
929+ "async-^1.4.0" = self."async-1.5.1";
930+ "combined-stream-1.0.5" = buildNodePackage {
931+ name = "combined-stream";
932+ version = "1.0.5";
933+ src = fetchurl {
934+ url = "http://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz";
935+ sha1 = "938370a57b4a51dea2c77c15d5c5fdf895164009";
936+ };
937+ dependencies = {
938+ delayed-stream = {
939+ "~1.0.0" = {
940+ version = "1.0.0";
941+ pkg = self."delayed-stream-1.0.0";
942+ };
943+ };
944+ };
945+ meta = {
946+ description = "A stream that emits multiple other streams one after another.";
947+ homepage = https://github.com/felixge/node-combined-stream;
948+ license = "MIT";
949+ };
950+ production = true;
951+ linkDependencies = false;
952+ };
953+ "delayed-stream-1.0.0" = buildNodePackage {
954+ name = "delayed-stream";
955+ version = "1.0.0";
956+ src = fetchurl {
957+ url = "http://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz";
958+ sha1 = "df3ae199acadfb7d440aaae0b29e2272b24ec619";
959+ };
960+ dependencies = {};
961+ meta = {
962+ description = "Buffers events from a stream until you are ready to handle them.";
963+ homepage = https://github.com/felixge/node-delayed-stream;
964+ license = "MIT";
965+ };
966+ production = true;
967+ linkDependencies = false;
968+ };
969+ "delayed-stream-~1.0.0" = self."delayed-stream-1.0.0";
970+ "combined-stream-^1.0.5" = self."combined-stream-1.0.5";
971+ "mime-types-2.1.8" = buildNodePackage {
972+ name = "mime-types";
973+ version = "2.1.8";
974+ src = fetchurl {
975+ url = "http://registry.npmjs.org/mime-types/-/mime-types-2.1.8.tgz";
976+ sha1 = "faf57823de04bc7cbff4ee82c6b63946e812ae72";
977+ };
978+ dependencies = {
979+ mime-db = {
980+ "~1.20.0" = {
981+ version = "1.20.0";
982+ pkg = self."mime-db-1.20.0";
983+ };
984+ };
985+ };
986+ meta = {
987+ description = "The ultimate javascript content-type utility.";
988+ homepage = https://github.com/jshttp/mime-types;
989+ license = "MIT";
990+ };
991+ production = true;
992+ linkDependencies = false;
993+ };
994+ "mime-db-1.20.0" = buildNodePackage {
995+ name = "mime-db";
996+ version = "1.20.0";
997+ src = fetchurl {
998+ url = "http://registry.npmjs.org/mime-db/-/mime-db-1.20.0.tgz";
999+ sha1 = "496f90fd01fe0e031c8823ec3aa9450ffda18ed8";
1000+ };
1001+ meta = {
1002+ description = "Media Type Database";
1003+ homepage = https://github.com/jshttp/mime-db;
1004+ license = "MIT";
1005+ };
1006+ production = true;
1007+ linkDependencies = false;
1008+ };
1009+ "mime-db-~1.20.0" = self."mime-db-1.20.0";
1010+ "mime-types-^2.1.3" = self."mime-types-2.1.8";
1011+ "form-data-~1.0.0-rc1" = self."form-data-1.0.0-rc3";
1012+ "json-stringify-safe-5.0.1" = buildNodePackage {
1013+ name = "json-stringify-safe";
1014+ version = "5.0.1";
1015+ src = fetchurl {
1016+ url = "http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz";
1017+ sha1 = "1296a2d58fd45f19a0f6ce01d65701e2c735b6eb";
1018+ };
1019+ meta = {
1020+ description = "Like JSON.stringify, but doesn't blow up on circular refs.";
1021+ homepage = https://github.com/isaacs/json-stringify-safe;
1022+ license = "ISC";
1023+ };
1024+ production = true;
1025+ linkDependencies = false;
1026+ };
1027+ "json-stringify-safe-~5.0.0" = self."json-stringify-safe-5.0.1";
1028+ "mime-types-~2.1.2" = self."mime-types-2.1.8";
1029+ "node-uuid-1.4.7" = buildNodePackage {
1030+ name = "node-uuid";
1031+ version = "1.4.7";
1032+ src = fetchurl {
1033+ url = "http://registry.npmjs.org/node-uuid/-/node-uuid-1.4.7.tgz";
1034+ sha1 = "6da5a17668c4b3dd59623bda11cf7fa4c1f60a6f";
1035+ };
1036+ dependencies = {};
1037+ meta = {
1038+ description = "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.";
1039+ homepage = https://github.com/broofa/node-uuid;
1040+ };
1041+ production = true;
1042+ linkDependencies = false;
1043+ };
1044+ "node-uuid-~1.4.0" = self."node-uuid-1.4.7";
1045+ "qs-4.0.0" = buildNodePackage {
1046+ name = "qs";
1047+ version = "4.0.0";
1048+ src = fetchurl {
1049+ url = "http://registry.npmjs.org/qs/-/qs-4.0.0.tgz";
1050+ sha1 = "c31d9b74ec27df75e543a86c78728ed8d4623607";
1051+ };
1052+ dependencies = {};
1053+ meta = {
1054+ description = "A querystring parser that supports nesting and arrays, with a depth limit";
1055+ homepage = https://github.com/hapijs/qs;
1056+ license = "BSD-3-Clause";
1057+ };
1058+ production = true;
1059+ linkDependencies = false;
1060+ };
1061+ "qs-~4.0.0" = self."qs-4.0.0";
1062+ "tunnel-agent-0.4.2" = buildNodePackage {
1063+ name = "tunnel-agent";
1064+ version = "0.4.2";
1065+ src = fetchurl {
1066+ url = "http://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.2.tgz";
1067+ sha1 = "1104e3f36ac87125c287270067d582d18133bfee";
1068+ };
1069+ dependencies = {};
1070+ meta = {
1071+ description = "HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.";
1072+ homepage = "https://github.com/mikeal/tunnel-agent#readme";
1073+ license = "Apache-2.0";
1074+ };
1075+ production = true;
1076+ linkDependencies = false;
1077+ };
1078+ "tunnel-agent-~0.4.0" = self."tunnel-agent-0.4.2";
1079+ "tough-cookie-2.2.1" = buildNodePackage {
1080+ name = "tough-cookie";
1081+ version = "2.2.1";
1082+ src = fetchurl {
1083+ url = "http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.1.tgz";
1084+ sha1 = "3b0516b799e70e8164436a1446e7e5877fda118e";
1085+ };
1086+ meta = {
1087+ description = "RFC6265 Cookies and Cookie Jar for node.js";
1088+ homepage = https://github.com/SalesforceEng/tough-cookie;
1089+ license = "BSD-3-Clause";
1090+ };
1091+ production = true;
1092+ linkDependencies = false;
1093+ };
1094+ "tough-cookie->=0.12.0" = self."tough-cookie-2.2.1";
1095+ "http-signature-0.11.0" = buildNodePackage {
1096+ name = "http-signature";
1097+ version = "0.11.0";
1098+ src = fetchurl {
1099+ url = "http://registry.npmjs.org/http-signature/-/http-signature-0.11.0.tgz";
1100+ sha1 = "1796cf67a001ad5cd6849dca0991485f09089fe6";
1101+ };
1102+ dependencies = {
1103+ assert-plus = {
1104+ "^0.1.5" = {
1105+ version = "0.1.5";
1106+ pkg = self."assert-plus-0.1.5";
1107+ };
1108+ };
1109+ asn1 = {
1110+ "0.1.11" = {
1111+ version = "0.1.11";
1112+ pkg = self."asn1-0.1.11";
1113+ };
1114+ };
1115+ ctype = {
1116+ "0.5.3" = {
1117+ version = "0.5.3";
1118+ pkg = self."ctype-0.5.3";
1119+ };
1120+ };
1121+ };
1122+ meta = {
1123+ description = "Reference implementation of Joyent's HTTP Signature scheme.";
1124+ homepage = https://github.com/joyent/node-http-signature/;
1125+ license = "MIT";
1126+ };
1127+ production = true;
1128+ linkDependencies = false;
1129+ };
1130+ "assert-plus-0.1.5" = buildNodePackage {
1131+ name = "assert-plus";
1132+ version = "0.1.5";
1133+ src = fetchurl {
1134+ url = "http://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz";
1135+ sha1 = "ee74009413002d84cec7219c6ac811812e723160";
1136+ };
1137+ dependencies = {};
1138+ meta = {
1139+ description = "Extra assertions on top of node's assert module";
1140+ };
1141+ production = true;
1142+ linkDependencies = false;
1143+ };
1144+ "assert-plus-^0.1.5" = self."assert-plus-0.1.5";
1145+ "asn1-0.1.11" = buildNodePackage {
1146+ name = "asn1";
1147+ version = "0.1.11";
1148+ src = fetchurl {
1149+ url = "http://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz";
1150+ sha1 = "559be18376d08a4ec4dbe80877d27818639b2df7";
1151+ };
1152+ dependencies = {};
1153+ meta = {
1154+ description = "Contains parsers and serializers for ASN.1 (currently BER only)";
1155+ };
1156+ production = true;
1157+ linkDependencies = false;
1158+ };
1159+ "ctype-0.5.3" = buildNodePackage {
1160+ name = "ctype";
1161+ version = "0.5.3";
1162+ src = fetchurl {
1163+ url = "http://registry.npmjs.org/ctype/-/ctype-0.5.3.tgz";
1164+ sha1 = "82c18c2461f74114ef16c135224ad0b9144ca12f";
1165+ };
1166+ meta = {
1167+ description = "read and write binary structures and data types";
1168+ homepage = https://github.com/rmustacc/node-ctype;
1169+ };
1170+ production = true;
1171+ linkDependencies = false;
1172+ };
1173+ "http-signature-~0.11.0" = self."http-signature-0.11.0";
1174+ "oauth-sign-0.8.0" = buildNodePackage {
1175+ name = "oauth-sign";
1176+ version = "0.8.0";
1177+ src = fetchurl {
1178+ url = "http://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.0.tgz";
1179+ sha1 = "938fdc875765ba527137d8aec9d178e24debc553";
1180+ };
1181+ dependencies = {};
1182+ meta = {
1183+ description = "OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.";
1184+ homepage = "https://github.com/mikeal/oauth-sign#readme";
1185+ license = "Apache-2.0";
1186+ };
1187+ production = true;
1188+ linkDependencies = false;
1189+ };
1190+ "oauth-sign-~0.8.0" = self."oauth-sign-0.8.0";
1191+ "hawk-3.1.2" = buildNodePackage {
1192+ name = "hawk";
1193+ version = "3.1.2";
1194+ src = fetchurl {
1195+ url = "http://registry.npmjs.org/hawk/-/hawk-3.1.2.tgz";
1196+ sha1 = "90c90118886e21975d1ad4ae9b3e284ed19a2de8";
1197+ };
1198+ dependencies = {
1199+ hoek = {
1200+ "2.x.x" = {
1201+ version = "2.16.3";
1202+ pkg = self."hoek-2.16.3";
1203+ };
1204+ };
1205+ boom = {
1206+ "2.x.x" = {
1207+ version = "2.10.1";
1208+ pkg = self."boom-2.10.1";
1209+ };
1210+ };
1211+ cryptiles = {
1212+ "2.x.x" = {
1213+ version = "2.0.5";
1214+ pkg = self."cryptiles-2.0.5";
1215+ };
1216+ };
1217+ sntp = {
1218+ "1.x.x" = {
1219+ version = "1.0.9";
1220+ pkg = self."sntp-1.0.9";
1221+ };
1222+ };
1223+ };
1224+ meta = {
1225+ description = "HTTP Hawk Authentication Scheme";
1226+ homepage = "https://github.com/hueniverse/hawk#readme";
1227+ license = "BSD-3-Clause";
1228+ };
1229+ production = true;
1230+ linkDependencies = false;
1231+ };
1232+ "hoek-2.16.3" = buildNodePackage {
1233+ name = "hoek";
1234+ version = "2.16.3";
1235+ src = fetchurl {
1236+ url = "http://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz";
1237+ sha1 = "20bb7403d3cea398e91dc4710a8ff1b8274a25ed";
1238+ };
1239+ dependencies = {};
1240+ meta = {
1241+ description = "General purpose node utilities";
1242+ homepage = "https://github.com/hapijs/hoek#readme";
1243+ license = "BSD-3-Clause";
1244+ };
1245+ production = true;
1246+ linkDependencies = false;
1247+ };
1248+ "hoek-2.x.x" = self."hoek-2.16.3";
1249+ "boom-2.10.1" = buildNodePackage {
1250+ name = "boom";
1251+ version = "2.10.1";
1252+ src = fetchurl {
1253+ url = "http://registry.npmjs.org/boom/-/boom-2.10.1.tgz";
1254+ sha1 = "39c8918ceff5799f83f9492a848f625add0c766f";
1255+ };
1256+ dependencies = {
1257+ hoek = {
1258+ "2.x.x" = {
1259+ version = "2.16.3";
1260+ pkg = self."hoek-2.16.3";
1261+ };
1262+ };
1263+ };
1264+ meta = {
1265+ description = "HTTP-friendly error objects";
1266+ homepage = "https://github.com/hapijs/boom#readme";
1267+ license = "BSD-3-Clause";
1268+ };
1269+ production = true;
1270+ linkDependencies = false;
1271+ };
1272+ "boom-2.x.x" = self."boom-2.10.1";
1273+ "cryptiles-2.0.5" = buildNodePackage {
1274+ name = "cryptiles";
1275+ version = "2.0.5";
1276+ src = fetchurl {
1277+ url = "http://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz";
1278+ sha1 = "3bdfecdc608147c1c67202fa291e7dca59eaa3b8";
1279+ };
1280+ dependencies = {
1281+ boom = {
1282+ "2.x.x" = {
1283+ version = "2.10.1";
1284+ pkg = self."boom-2.10.1";
1285+ };
1286+ };
1287+ };
1288+ meta = {
1289+ description = "General purpose crypto utilities";
1290+ homepage = "https://github.com/hapijs/cryptiles#readme";
1291+ license = "BSD-3-Clause";
1292+ };
1293+ production = true;
1294+ linkDependencies = false;
1295+ };
1296+ "cryptiles-2.x.x" = self."cryptiles-2.0.5";
1297+ "sntp-1.0.9" = buildNodePackage {
1298+ name = "sntp";
1299+ version = "1.0.9";
1300+ src = fetchurl {
1301+ url = "http://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz";
1302+ sha1 = "6541184cc90aeea6c6e7b35e2659082443c66198";
1303+ };
1304+ dependencies = {
1305+ hoek = {
1306+ "2.x.x" = {
1307+ version = "2.16.3";
1308+ pkg = self."hoek-2.16.3";
1309+ };
1310+ };
1311+ };
1312+ meta = {
1313+ description = "SNTP Client";
1314+ homepage = https://github.com/hueniverse/sntp;
1315+ };
1316+ production = true;
1317+ linkDependencies = false;
1318+ };
1319+ "sntp-1.x.x" = self."sntp-1.0.9";
1320+ "hawk-~3.1.0" = self."hawk-3.1.2";
1321+ "aws-sign2-0.5.0" = buildNodePackage {
1322+ name = "aws-sign2";
1323+ version = "0.5.0";
1324+ src = fetchurl {
1325+ url = "http://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz";
1326+ sha1 = "c57103f7a17fc037f02d7c2e64b602ea223f7d63";
1327+ };
1328+ dependencies = {};
1329+ meta = {
1330+ description = "AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.";
1331+ };
1332+ production = true;
1333+ linkDependencies = false;
1334+ };
1335+ "aws-sign2-~0.5.0" = self."aws-sign2-0.5.0";
1336+ "stringstream-0.0.5" = buildNodePackage {
1337+ name = "stringstream";
1338+ version = "0.0.5";
1339+ src = fetchurl {
1340+ url = "http://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz";
1341+ sha1 = "4e484cd4de5a0bbbee18e46307710a8a81621878";
1342+ };
1343+ meta = {
1344+ description = "Encode and decode streams into string streams";
1345+ homepage = "https://github.com/mhart/StringStream#readme";
1346+ license = "MIT";
1347+ };
1348+ production = true;
1349+ linkDependencies = false;
1350+ };
1351+ "stringstream-~0.0.4" = self."stringstream-0.0.5";
1352+ "combined-stream-~1.0.1" = self."combined-stream-1.0.5";
1353+ "isstream-0.1.2" = buildNodePackage {
1354+ name = "isstream";
1355+ version = "0.1.2";
1356+ src = fetchurl {
1357+ url = "http://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz";
1358+ sha1 = "47e63f7af55afa6f92e1500e690eb8b8529c099a";
1359+ };
1360+ meta = {
1361+ description = "Determine if an object is a Stream";
1362+ homepage = https://github.com/rvagg/isstream;
1363+ license = "MIT";
1364+ };
1365+ production = true;
1366+ linkDependencies = false;
1367+ };
1368+ "isstream-~0.1.1" = self."isstream-0.1.2";
1369+ "har-validator-1.8.0" = buildNodePackage {
1370+ name = "har-validator";
1371+ version = "1.8.0";
1372+ src = fetchurl {
1373+ url = "http://registry.npmjs.org/har-validator/-/har-validator-1.8.0.tgz";
1374+ sha1 = "d83842b0eb4c435960aeb108a067a3aa94c0eeb2";
1375+ };
1376+ dependencies = {
1377+ bluebird = {
1378+ "^2.9.30" = {
1379+ version = "2.10.2";
1380+ pkg = self."bluebird-2.10.2";
1381+ };
1382+ };
1383+ chalk = {
1384+ "^1.0.0" = {
1385+ version = "1.1.1";
1386+ pkg = self."chalk-1.1.1";
1387+ };
1388+ };
1389+ commander = {
1390+ "^2.8.1" = {
1391+ version = "2.9.0";
1392+ pkg = self."commander-2.9.0";
1393+ };
1394+ };
1395+ is-my-json-valid = {
1396+ "^2.12.0" = {
1397+ version = "2.12.3";
1398+ pkg = self."is-my-json-valid-2.12.3";
1399+ };
1400+ };
1401+ };
1402+ meta = {
1403+ description = "Extremely fast HTTP Archive (HAR) validator using JSON Schema";
1404+ homepage = https://github.com/ahmadnassri/har-validator;
1405+ license = "ISC";
1406+ };
1407+ production = true;
1408+ linkDependencies = false;
1409+ };
1410+ "bluebird-2.10.2" = buildNodePackage {
1411+ name = "bluebird";
1412+ version = "2.10.2";
1413+ src = fetchurl {
1414+ url = "http://registry.npmjs.org/bluebird/-/bluebird-2.10.2.tgz";
1415+ sha1 = "024a5517295308857f14f91f1106fc3b555f446b";
1416+ };
1417+ meta = {
1418+ description = "Full featured Promises/A+ implementation with exceptionally good performance";
1419+ homepage = https://github.com/petkaantonov/bluebird;
1420+ license = "MIT";
1421+ };
1422+ production = true;
1423+ linkDependencies = false;
1424+ };
1425+ "bluebird-^2.9.30" = self."bluebird-2.10.2";
1426+ "chalk-1.1.1" = buildNodePackage {
1427+ name = "chalk";
1428+ version = "1.1.1";
1429+ src = fetchurl {
1430+ url = "http://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz";
1431+ sha1 = "509afb67066e7499f7eb3535c77445772ae2d019";
1432+ };
1433+ dependencies = {
1434+ ansi-styles = {
1435+ "^2.1.0" = {
1436+ version = "2.1.0";
1437+ pkg = self."ansi-styles-2.1.0";
1438+ };
1439+ };
1440+ escape-string-regexp = {
1441+ "^1.0.2" = {
1442+ version = "1.0.4";
1443+ pkg = self."escape-string-regexp-1.0.4";
1444+ };
1445+ };
1446+ has-ansi = {
1447+ "^2.0.0" = {
1448+ version = "2.0.0";
1449+ pkg = self."has-ansi-2.0.0";
1450+ };
1451+ };
1452+ strip-ansi = {
1453+ "^3.0.0" = {
1454+ version = "3.0.0";
1455+ pkg = self."strip-ansi-3.0.0";
1456+ };
1457+ };
1458+ supports-color = {
1459+ "^2.0.0" = {
1460+ version = "2.0.0";
1461+ pkg = self."supports-color-2.0.0";
1462+ };
1463+ };
1464+ };
1465+ meta = {
1466+ description = "Terminal string styling done right. Much color.";
1467+ homepage = "https://github.com/chalk/chalk#readme";
1468+ license = "MIT";
1469+ };
1470+ production = true;
1471+ linkDependencies = false;
1472+ };
1473+ "ansi-styles-2.1.0" = buildNodePackage {
1474+ name = "ansi-styles";
1475+ version = "2.1.0";
1476+ src = fetchurl {
1477+ url = "http://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz";
1478+ sha1 = "990f747146927b559a932bf92959163d60c0d0e2";
1479+ };
1480+ meta = {
1481+ description = "ANSI escape codes for styling strings in the terminal";
1482+ homepage = https://github.com/chalk/ansi-styles;
1483+ license = "MIT";
1484+ };
1485+ production = true;
1486+ linkDependencies = false;
1487+ };
1488+ "ansi-styles-^2.1.0" = self."ansi-styles-2.1.0";
1489+ "escape-string-regexp-1.0.4" = buildNodePackage {
1490+ name = "escape-string-regexp";
1491+ version = "1.0.4";
1492+ src = fetchurl {
1493+ url = "http://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.4.tgz";
1494+ sha1 = "b85e679b46f72d03fbbe8a3bf7259d535c21b62f";
1495+ };
1496+ meta = {
1497+ description = "Escape RegExp special characters";
1498+ homepage = https://github.com/sindresorhus/escape-string-regexp;
1499+ license = "MIT";
1500+ };
1501+ production = true;
1502+ linkDependencies = false;
1503+ };
1504+ "escape-string-regexp-^1.0.2" = self."escape-string-regexp-1.0.4";
1505+ "has-ansi-2.0.0" = buildNodePackage {
1506+ name = "has-ansi";
1507+ version = "2.0.0";
1508+ src = fetchurl {
1509+ url = "http://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz";
1510+ sha1 = "34f5049ce1ecdf2b0649af3ef24e45ed35416d91";
1511+ };
1512+ dependencies = {
1513+ ansi-regex = {
1514+ "^2.0.0" = {
1515+ version = "2.0.0";
1516+ pkg = self."ansi-regex-2.0.0";
1517+ };
1518+ };
1519+ };
1520+ meta = {
1521+ description = "Check if a string has ANSI escape codes";
1522+ homepage = https://github.com/sindresorhus/has-ansi;
1523+ license = "MIT";
1524+ };
1525+ production = true;
1526+ linkDependencies = false;
1527+ };
1528+ "ansi-regex-2.0.0" = buildNodePackage {
1529+ name = "ansi-regex";
1530+ version = "2.0.0";
1531+ src = fetchurl {
1532+ url = "http://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz";
1533+ sha1 = "c5061b6e0ef8a81775e50f5d66151bf6bf371107";
1534+ };
1535+ meta = {
1536+ description = "Regular expression for matching ANSI escape codes";
1537+ homepage = https://github.com/sindresorhus/ansi-regex;
1538+ license = "MIT";
1539+ };
1540+ production = true;
1541+ linkDependencies = false;
1542+ };
1543+ "ansi-regex-^2.0.0" = self."ansi-regex-2.0.0";
1544+ "has-ansi-^2.0.0" = self."has-ansi-2.0.0";
1545+ "strip-ansi-3.0.0" = buildNodePackage {
1546+ name = "strip-ansi";
1547+ version = "3.0.0";
1548+ src = fetchurl {
1549+ url = "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz";
1550+ sha1 = "7510b665567ca914ccb5d7e072763ac968be3724";
1551+ };
1552+ dependencies = {
1553+ ansi-regex = {
1554+ "^2.0.0" = {
1555+ version = "2.0.0";
1556+ pkg = self."ansi-regex-2.0.0";
1557+ };
1558+ };
1559+ };
1560+ meta = {
1561+ description = "Strip ANSI escape codes";
1562+ homepage = https://github.com/sindresorhus/strip-ansi;
1563+ license = "MIT";
1564+ };
1565+ production = true;
1566+ linkDependencies = false;
1567+ };
1568+ "strip-ansi-^3.0.0" = self."strip-ansi-3.0.0";
1569+ "supports-color-2.0.0" = buildNodePackage {
1570+ name = "supports-color";
1571+ version = "2.0.0";
1572+ src = fetchurl {
1573+ url = "http://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz";
1574+ sha1 = "535d045ce6b6363fa40117084629995e9df324c7";
1575+ };
1576+ meta = {
1577+ description = "Detect whether a terminal supports color";
1578+ homepage = https://github.com/chalk/supports-color;
1579+ license = "MIT";
1580+ };
1581+ production = true;
1582+ linkDependencies = false;
1583+ };
1584+ "supports-color-^2.0.0" = self."supports-color-2.0.0";
1585+ "chalk-^1.0.0" = self."chalk-1.1.1";
1586+ "commander-2.9.0" = buildNodePackage {
1587+ name = "commander";
1588+ version = "2.9.0";
1589+ src = fetchurl {
1590+ url = "http://registry.npmjs.org/commander/-/commander-2.9.0.tgz";
1591+ sha1 = "9c99094176e12240cb22d6c5146098400fe0f7d4";
1592+ };
1593+ dependencies = {
1594+ graceful-readlink = {
1595+ ">= 1.0.0" = {
1596+ version = "1.0.1";
1597+ pkg = self."graceful-readlink-1.0.1";
1598+ };
1599+ };
1600+ };
1601+ meta = {
1602+ description = "the complete solution for node.js command-line programs";
1603+ homepage = "https://github.com/tj/commander.js#readme";
1604+ license = "MIT";
1605+ };
1606+ production = true;
1607+ linkDependencies = false;
1608+ };
1609+ "graceful-readlink-1.0.1" = buildNodePackage {
1610+ name = "graceful-readlink";
1611+ version = "1.0.1";
1612+ src = fetchurl {
1613+ url = "http://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz";
1614+ sha1 = "4cafad76bc62f02fa039b2f94e9a3dd3a391a725";
1615+ };
1616+ meta = {
1617+ description = "graceful fs.readlink";
1618+ homepage = https://github.com/zhiyelee/graceful-readlink;
1619+ license = "MIT";
1620+ };
1621+ production = true;
1622+ linkDependencies = false;
1623+ };
1624+ "graceful-readlink->= 1.0.0" = self."graceful-readlink-1.0.1";
1625+ "commander-^2.8.1" = self."commander-2.9.0";
1626+ "is-my-json-valid-2.12.3" = buildNodePackage {
1627+ name = "is-my-json-valid";
1628+ version = "2.12.3";
1629+ src = fetchurl {
1630+ url = "http://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.12.3.tgz";
1631+ sha1 = "5a39d1d76b2dbb83140bbd157b1d5ee4bdc85ad6";
1632+ };
1633+ dependencies = {
1634+ generate-function = {
1635+ "^2.0.0" = {
1636+ version = "2.0.0";
1637+ pkg = self."generate-function-2.0.0";
1638+ };
1639+ };
1640+ generate-object-property = {
1641+ "^1.1.0" = {
1642+ version = "1.2.0";
1643+ pkg = self."generate-object-property-1.2.0";
1644+ };
1645+ };
1646+ jsonpointer = {
1647+ "2.0.0" = {
1648+ version = "2.0.0";
1649+ pkg = self."jsonpointer-2.0.0";
1650+ };
1651+ };
1652+ xtend = {
1653+ "^4.0.0" = {
1654+ version = "4.0.1";
1655+ pkg = self."xtend-4.0.1";
1656+ };
1657+ };
1658+ };
1659+ meta = {
1660+ description = "A JSONSchema validator that uses code generation to be extremely fast";
1661+ homepage = https://github.com/mafintosh/is-my-json-valid;
1662+ license = "MIT";
1663+ };
1664+ production = true;
1665+ linkDependencies = false;
1666+ };
1667+ "generate-function-2.0.0" = buildNodePackage {
1668+ name = "generate-function";
1669+ version = "2.0.0";
1670+ src = fetchurl {
1671+ url = "http://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz";
1672+ sha1 = "6858fe7c0969b7d4e9093337647ac79f60dfbe74";
1673+ };
1674+ meta = {
1675+ description = "Module that helps you write generated functions in Node";
1676+ homepage = https://github.com/mafintosh/generate-function;
1677+ license = "MIT";
1678+ };
1679+ production = true;
1680+ linkDependencies = false;
1681+ };
1682+ "generate-function-^2.0.0" = self."generate-function-2.0.0";
1683+ "generate-object-property-1.2.0" = buildNodePackage {
1684+ name = "generate-object-property";
1685+ version = "1.2.0";
1686+ src = fetchurl {
1687+ url = "http://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz";
1688+ sha1 = "9c0e1c40308ce804f4783618b937fa88f99d50d0";
1689+ };
1690+ dependencies = {
1691+ is-property = {
1692+ "^1.0.0" = {
1693+ version = "1.0.2";
1694+ pkg = self."is-property-1.0.2";
1695+ };
1696+ };
1697+ };
1698+ meta = {
1699+ description = "Generate safe JS code that can used to reference a object property";
1700+ homepage = https://github.com/mafintosh/generate-object-property;
1701+ license = "MIT";
1702+ };
1703+ production = true;
1704+ linkDependencies = false;
1705+ };
1706+ "is-property-1.0.2" = buildNodePackage {
1707+ name = "is-property";
1708+ version = "1.0.2";
1709+ src = fetchurl {
1710+ url = "http://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz";
1711+ sha1 = "57fe1c4e48474edd65b09911f26b1cd4095dda84";
1712+ };
1713+ dependencies = {};
1714+ meta = {
1715+ description = "Tests if a JSON property can be accessed using . syntax";
1716+ homepage = https://github.com/mikolalysenko/is-property;
1717+ license = "MIT";
1718+ };
1719+ production = true;
1720+ linkDependencies = false;
1721+ };
1722+ "is-property-^1.0.0" = self."is-property-1.0.2";
1723+ "generate-object-property-^1.1.0" = self."generate-object-property-1.2.0";
1724+ "jsonpointer-2.0.0" = buildNodePackage {
1725+ name = "jsonpointer";
1726+ version = "2.0.0";
1727+ src = fetchurl {
1728+ url = "http://registry.npmjs.org/jsonpointer/-/jsonpointer-2.0.0.tgz";
1729+ sha1 = "3af1dd20fe85463910d469a385e33017d2a030d9";
1730+ };
1731+ meta = {
1732+ description = "Simple JSON Addressing.";
1733+ homepage = "https://github.com/janl/node-jsonpointer#readme";
1734+ license = "MIT";
1735+ };
1736+ production = true;
1737+ linkDependencies = false;
1738+ };
1739+ "xtend-4.0.1" = buildNodePackage {
1740+ name = "xtend";
1741+ version = "4.0.1";
1742+ src = fetchurl {
1743+ url = "http://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz";
1744+ sha1 = "a5c6d532be656e23db820efb943a1f04998d63af";
1745+ };
1746+ dependencies = {};
1747+ meta = {
1748+ description = "extend like a boss";
1749+ homepage = https://github.com/Raynos/xtend;
1750+ license = "MIT";
1751+ };
1752+ production = true;
1753+ linkDependencies = false;
1754+ };
1755+ "xtend-^4.0.0" = self."xtend-4.0.1";
1756+ "is-my-json-valid-^2.12.0" = self."is-my-json-valid-2.12.3";
1757+ "har-validator-^1.6.1" = self."har-validator-1.8.0";
1758+ "semver-5.0.1" = buildNodePackage {
1759+ name = "semver";
1760+ version = "5.0.1";
1761+ src = fetchurl {
1762+ url = "http://registry.npmjs.org/semver/-/semver-5.0.1.tgz";
1763+ sha1 = "9fb3f4004f900d83c47968fe42f7583e05832cc9";
1764+ };
1765+ meta = {
1766+ description = "The semantic version parser used by npm.";
1767+ homepage = "https://github.com/npm/node-semver#readme";
1768+ license = "ISC";
1769+ };
1770+ production = true;
1771+ linkDependencies = false;
1772+ };
1773+ "temp-0.8.3" = buildNodePackage {
1774+ name = "temp";
1775+ version = "0.8.3";
1776+ src = fetchurl {
1777+ url = "http://registry.npmjs.org/temp/-/temp-0.8.3.tgz";
1778+ sha1 = "e0c6bc4d26b903124410e4fed81103014dfc1f59";
1779+ };
1780+ dependencies = {
1781+ os-tmpdir = {
1782+ "^1.0.0" = {
1783+ version = "1.0.1";
1784+ pkg = self."os-tmpdir-1.0.1";
1785+ };
1786+ };
1787+ rimraf = {
1788+ "~2.2.6" = {
1789+ version = "2.2.8";
1790+ pkg = self."rimraf-2.2.8";
1791+ };
1792+ };
1793+ };
1794+ meta = {
1795+ description = "Temporary files and directories";
1796+ homepage = https://github.com/bruce/node-temp;
1797+ license = "MIT";
1798+ };
1799+ production = true;
1800+ linkDependencies = false;
1801+ };
1802+ "os-tmpdir-1.0.1" = buildNodePackage {
1803+ name = "os-tmpdir";
1804+ version = "1.0.1";
1805+ src = fetchurl {
1806+ url = "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.1.tgz";
1807+ sha1 = "e9b423a1edaf479882562e92ed71d7743a071b6e";
1808+ };
1809+ meta = {
1810+ description = "Node.js os.tmpdir() ponyfill";
1811+ homepage = https://github.com/sindresorhus/os-tmpdir;
1812+ license = "MIT";
1813+ };
1814+ production = true;
1815+ linkDependencies = false;
1816+ };
1817+ "os-tmpdir-^1.0.0" = self."os-tmpdir-1.0.1";
1818+ "rimraf-2.2.8" = buildNodePackage {
1819+ name = "rimraf";
1820+ version = "2.2.8";
1821+ src = fetchurl {
1822+ url = "http://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz";
1823+ sha1 = "e439be2aaee327321952730f99a8929e4fc50582";
1824+ };
1825+ meta = {
1826+ description = "A deep deletion module for node (like `rm -rf`)";
1827+ homepage = https://github.com/isaacs/rimraf;
1828+ license = {
1829+ type = "MIT";
1830+ url = "https://github.com/isaacs/rimraf/raw/master/LICENSE";
1831+ };
1832+ };
1833+ production = true;
1834+ linkDependencies = false;
1835+ };
1836+ "rimraf-~2.2.6" = self."rimraf-2.2.8";
1837+ "wrench-1.5.8" = buildNodePackage {
1838+ name = "wrench";
1839+ version = "1.5.8";
1840+ src = fetchurl {
1841+ url = "http://registry.npmjs.org/wrench/-/wrench-1.5.8.tgz";
1842+ sha1 = "7a31c97f7869246d76c5cf2f5c977a1c4c8e5ab5";
1843+ };
1844+ dependencies = {};
1845+ meta = {
1846+ description = "Recursive filesystem (and other) operations that Node *should* have.";
1847+ homepage = https://github.com/ryanmcgrath/wrench-js;
1848+ };
1849+ production = true;
1850+ linkDependencies = false;
1851+ };
1852+ "uglify-js-2.4.24" = buildNodePackage {
1853+ name = "uglify-js";
1854+ version = "2.4.24";
1855+ src = fetchurl {
1856+ url = "http://registry.npmjs.org/uglify-js/-/uglify-js-2.4.24.tgz";
1857+ sha1 = "fad5755c1e1577658bb06ff9ab6e548c95bebd6e";
1858+ };
1859+ dependencies = {
1860+ async = {
1861+ "~0.2.6" = {
1862+ version = "0.2.10";
1863+ pkg = self."async-0.2.10";
1864+ };
1865+ };
1866+ source-map = {
1867+ "0.1.34" = {
1868+ version = "0.1.34";
1869+ pkg = self."source-map-0.1.34";
1870+ };
1871+ };
1872+ uglify-to-browserify = {
1873+ "~1.0.0" = {
1874+ version = "1.0.2";
1875+ pkg = self."uglify-to-browserify-1.0.2";
1876+ };
1877+ };
1878+ yargs = {
1879+ "~3.5.4" = {
1880+ version = "3.5.4";
1881+ pkg = self."yargs-3.5.4";
1882+ };
1883+ };
1884+ };
1885+ meta = {
1886+ description = "JavaScript parser, mangler/compressor and beautifier toolkit";
1887+ homepage = http://lisperator.net/uglifyjs;
1888+ license = "BSD";
1889+ };
1890+ production = true;
1891+ linkDependencies = false;
1892+ };
1893+ "async-0.2.10" = buildNodePackage {
1894+ name = "async";
1895+ version = "0.2.10";
1896+ src = fetchurl {
1897+ url = "http://registry.npmjs.org/async/-/async-0.2.10.tgz";
1898+ sha1 = "b6bbe0b0674b9d719708ca38de8c237cb526c3d1";
1899+ };
1900+ meta = {
1901+ description = "Higher-order functions and common patterns for asynchronous code";
1902+ };
1903+ production = true;
1904+ linkDependencies = false;
1905+ };
1906+ "async-~0.2.6" = self."async-0.2.10";
1907+ "source-map-0.1.34" = buildNodePackage {
1908+ name = "source-map";
1909+ version = "0.1.34";
1910+ src = fetchurl {
1911+ url = "http://registry.npmjs.org/source-map/-/source-map-0.1.34.tgz";
1912+ sha1 = "a7cfe89aec7b1682c3b198d0acfb47d7d090566b";
1913+ };
1914+ dependencies = {
1915+ amdefine = {
1916+ ">=0.0.4" = {
1917+ version = "1.0.0";
1918+ pkg = self."amdefine-1.0.0";
1919+ };
1920+ };
1921+ };
1922+ meta = {
1923+ description = "Generates and consumes source maps";
1924+ homepage = https://github.com/mozilla/source-map;
1925+ };
1926+ production = true;
1927+ linkDependencies = false;
1928+ };
1929+ "uglify-to-browserify-1.0.2" = buildNodePackage {
1930+ name = "uglify-to-browserify";
1931+ version = "1.0.2";
1932+ src = fetchurl {
1933+ url = "http://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz";
1934+ sha1 = "6e0924d6bda6b5afe349e39a6d632850a0f882b7";
1935+ };
1936+ dependencies = {};
1937+ meta = {
1938+ description = "A transform to make UglifyJS work in browserify.";
1939+ homepage = https://github.com/ForbesLindesay/uglify-to-browserify;
1940+ license = "MIT";
1941+ };
1942+ production = true;
1943+ linkDependencies = false;
1944+ };
1945+ "uglify-to-browserify-~1.0.0" = self."uglify-to-browserify-1.0.2";
1946+ "yargs-3.5.4" = buildNodePackage {
1947+ name = "yargs";
1948+ version = "3.5.4";
1949+ src = fetchurl {
1950+ url = "http://registry.npmjs.org/yargs/-/yargs-3.5.4.tgz";
1951+ sha1 = "d8aff8f665e94c34bd259bdebd1bfaf0ddd35361";
1952+ };
1953+ dependencies = {
1954+ camelcase = {
1955+ "^1.0.2" = {
1956+ version = "1.2.1";
1957+ pkg = self."camelcase-1.2.1";
1958+ };
1959+ };
1960+ decamelize = {
1961+ "^1.0.0" = {
1962+ version = "1.1.2";
1963+ pkg = self."decamelize-1.1.2";
1964+ };
1965+ };
1966+ window-size = {
1967+ "0.1.0" = {
1968+ version = "0.1.0";
1969+ pkg = self."window-size-0.1.0";
1970+ };
1971+ };
1972+ wordwrap = {
1973+ "0.0.2" = {
1974+ version = "0.0.2";
1975+ pkg = self."wordwrap-0.0.2";
1976+ };
1977+ };
1978+ };
1979+ meta = {
1980+ description = "Light-weight option parsing with an argv hash. No optstrings attached.";
1981+ homepage = https://github.com/bcoe/yargs;
1982+ license = "MIT/X11";
1983+ };
1984+ production = true;
1985+ linkDependencies = false;
1986+ };
1987+ "camelcase-1.2.1" = buildNodePackage {
1988+ name = "camelcase";
1989+ version = "1.2.1";
1990+ src = fetchurl {
1991+ url = "http://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz";
1992+ sha1 = "9bb5304d2e0b56698b2c758b08a3eaa9daa58a39";
1993+ };
1994+ meta = {
1995+ description = "Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar";
1996+ homepage = https://github.com/sindresorhus/camelcase;
1997+ license = "MIT";
1998+ };
1999+ production = true;
2000+ linkDependencies = false;
2001+ };
2002+ "camelcase-^1.0.2" = self."camelcase-1.2.1";
2003+ "decamelize-1.1.2" = buildNodePackage {
2004+ name = "decamelize";
2005+ version = "1.1.2";
2006+ src = fetchurl {
2007+ url = "http://registry.npmjs.org/decamelize/-/decamelize-1.1.2.tgz";
2008+ sha1 = "dcc93727be209632e98b02718ef4cb79602322f2";
2009+ };
2010+ dependencies = {
2011+ escape-string-regexp = {
2012+ "^1.0.4" = {
2013+ version = "1.0.4";
2014+ pkg = self."escape-string-regexp-1.0.4";
2015+ };
2016+ };
2017+ };
2018+ meta = {
2019+ description = "Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow";
2020+ homepage = https://github.com/sindresorhus/decamelize;
2021+ license = "MIT";
2022+ };
2023+ production = true;
2024+ linkDependencies = false;
2025+ };
2026+ "escape-string-regexp-^1.0.4" = self."escape-string-regexp-1.0.4";
2027+ "decamelize-^1.0.0" = self."decamelize-1.1.2";
2028+ "window-size-0.1.0" = buildNodePackage {
2029+ name = "window-size";
2030+ version = "0.1.0";
2031+ src = fetchurl {
2032+ url = "http://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz";
2033+ sha1 = "5438cd2ea93b202efa3a19fe8887aee7c94f9c9d";
2034+ };
2035+ meta = {
2036+ description = "Reliable way to to get the height and width of the terminal/console in a node.js environment.";
2037+ homepage = https://github.com/jonschlinkert/window-size;
2038+ };
2039+ production = true;
2040+ linkDependencies = false;
2041+ };
2042+ "wordwrap-0.0.2" = buildNodePackage {
2043+ name = "wordwrap";
2044+ version = "0.0.2";
2045+ src = fetchurl {
2046+ url = "http://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz";
2047+ sha1 = "b79669bb42ecb409f83d583cad52ca17eaa1643f";
2048+ };
2049+ dependencies = {};
2050+ meta = {
2051+ description = "Wrap those words. Show them at what columns to start and stop.";
2052+ license = "MIT/X11";
2053+ };
2054+ production = true;
2055+ linkDependencies = false;
2056+ };
2057+ "yargs-~3.5.4" = self."yargs-3.5.4";
2058+ "xmldom-0.1.19" = buildNodePackage {
2059+ name = "xmldom";
2060+ version = "0.1.19";
2061+ src = fetchurl {
2062+ url = "http://registry.npmjs.org/xmldom/-/xmldom-0.1.19.tgz";
2063+ sha1 = "631fc07776efd84118bf25171b37ed4d075a0abc";
2064+ };
2065+ dependencies = {};
2066+ meta = {
2067+ description = "A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).";
2068+ homepage = https://github.com/jindw/xmldom;
2069+ };
2070+ production = true;
2071+ linkDependencies = false;
2072+ };
2073+ "request-2.62.0" = buildNodePackage {
2074+ name = "request";
2075+ version = "2.62.0";
2076+ src = fetchurl {
2077+ url = "http://registry.npmjs.org/request/-/request-2.62.0.tgz";
2078+ sha1 = "55c165f702a146f1e21e0725c0b75e1136487b0f";
2079+ };
2080+ dependencies = {
2081+ bl = {
2082+ "~1.0.0" = {
2083+ version = "1.0.0";
2084+ pkg = self."bl-1.0.0";
2085+ };
2086+ };
2087+ caseless = {
2088+ "~0.11.0" = {
2089+ version = "0.11.0";
2090+ pkg = self."caseless-0.11.0";
2091+ };
2092+ };
2093+ extend = {
2094+ "~3.0.0" = {
2095+ version = "3.0.0";
2096+ pkg = self."extend-3.0.0";
2097+ };
2098+ };
2099+ forever-agent = {
2100+ "~0.6.0" = {
2101+ version = "0.6.1";
2102+ pkg = self."forever-agent-0.6.1";
2103+ };
2104+ };
2105+ form-data = {
2106+ "~1.0.0-rc1" = {
2107+ version = "1.0.0-rc3";
2108+ pkg = self."form-data-1.0.0-rc3";
2109+ };
2110+ };
2111+ json-stringify-safe = {
2112+ "~5.0.0" = {
2113+ version = "5.0.1";
2114+ pkg = self."json-stringify-safe-5.0.1";
2115+ };
2116+ };
2117+ mime-types = {
2118+ "~2.1.2" = {
2119+ version = "2.1.8";
2120+ pkg = self."mime-types-2.1.8";
2121+ };
2122+ };
2123+ node-uuid = {
2124+ "~1.4.0" = {
2125+ version = "1.4.7";
2126+ pkg = self."node-uuid-1.4.7";
2127+ };
2128+ };
2129+ qs = {
2130+ "~5.1.0" = {
2131+ version = "5.1.0";
2132+ pkg = self."qs-5.1.0";
2133+ };
2134+ };
2135+ tunnel-agent = {
2136+ "~0.4.0" = {
2137+ version = "0.4.2";
2138+ pkg = self."tunnel-agent-0.4.2";
2139+ };
2140+ };
2141+ tough-cookie = {
2142+ ">=0.12.0" = {
2143+ version = "2.2.1";
2144+ pkg = self."tough-cookie-2.2.1";
2145+ };
2146+ };
2147+ http-signature = {
2148+ "~0.11.0" = {
2149+ version = "0.11.0";
2150+ pkg = self."http-signature-0.11.0";
2151+ };
2152+ };
2153+ oauth-sign = {
2154+ "~0.8.0" = {
2155+ version = "0.8.0";
2156+ pkg = self."oauth-sign-0.8.0";
2157+ };
2158+ };
2159+ hawk = {
2160+ "~3.1.0" = {
2161+ version = "3.1.2";
2162+ pkg = self."hawk-3.1.2";
2163+ };
2164+ };
2165+ aws-sign2 = {
2166+ "~0.5.0" = {
2167+ version = "0.5.0";
2168+ pkg = self."aws-sign2-0.5.0";
2169+ };
2170+ };
2171+ stringstream = {
2172+ "~0.0.4" = {
2173+ version = "0.0.5";
2174+ pkg = self."stringstream-0.0.5";
2175+ };
2176+ };
2177+ combined-stream = {
2178+ "~1.0.1" = {
2179+ version = "1.0.5";
2180+ pkg = self."combined-stream-1.0.5";
2181+ };
2182+ };
2183+ isstream = {
2184+ "~0.1.1" = {
2185+ version = "0.1.2";
2186+ pkg = self."isstream-0.1.2";
2187+ };
2188+ };
2189+ har-validator = {
2190+ "^1.6.1" = {
2191+ version = "1.8.0";
2192+ pkg = self."har-validator-1.8.0";
2193+ };
2194+ };
2195+ };
2196+ meta = {
2197+ description = "Simplified HTTP request client.";
2198+ homepage = "https://github.com/request/request#readme";
2199+ license = "Apache-2.0";
2200+ };
2201+ production = true;
2202+ linkDependencies = false;
2203+ };
2204+ "qs-5.1.0" = buildNodePackage {
2205+ name = "qs";
2206+ version = "5.1.0";
2207+ src = fetchurl {
2208+ url = "http://registry.npmjs.org/qs/-/qs-5.1.0.tgz";
2209+ sha1 = "4d932e5c7ea411cca76a312d39a606200fd50cd9";
2210+ };
2211+ dependencies = {};
2212+ meta = {
2213+ description = "A querystring parser that supports nesting and arrays, with a depth limit";
2214+ homepage = https://github.com/hapijs/qs;
2215+ license = "BSD-3-Clause";
2216+ };
2217+ production = true;
2218+ linkDependencies = false;
2219+ };
2220+ "qs-~5.1.0" = self."qs-5.1.0";
2221+ "semver-5.0.3" = buildNodePackage {
2222+ name = "semver";
2223+ version = "5.0.3";
2224+ src = fetchurl {
2225+ url = "http://registry.npmjs.org/semver/-/semver-5.0.3.tgz";
2226+ sha1 = "77466de589cd5d3c95f138aa78bc569a3cb5d27a";
2227+ };
2228+ meta = {
2229+ description = "The semantic version parser used by npm.";
2230+ homepage = "https://github.com/npm/node-semver#readme";
2231+ license = "ISC";
2232+ };
2233+ production = true;
2234+ linkDependencies = false;
2235+ };
2236+ "winston-1.0.2" = buildNodePackage {
2237+ name = "winston";
2238+ version = "1.0.2";
2239+ src = fetchurl {
2240+ url = "http://registry.npmjs.org/winston/-/winston-1.0.2.tgz";
2241+ sha1 = "351c58e2323f8a4ca29a45195aa9aa3b4c35d76f";
2242+ };
2243+ dependencies = {
2244+ async = {
2245+ "~1.0.0" = {
2246+ version = "1.0.0";
2247+ pkg = self."async-1.0.0";
2248+ };
2249+ };
2250+ colors = {
2251+ "1.0.x" = {
2252+ version = "1.0.3";
2253+ pkg = self."colors-1.0.3";
2254+ };
2255+ };
2256+ cycle = {
2257+ "1.0.x" = {
2258+ version = "1.0.3";
2259+ pkg = self."cycle-1.0.3";
2260+ };
2261+ };
2262+ eyes = {
2263+ "0.1.x" = {
2264+ version = "0.1.8";
2265+ pkg = self."eyes-0.1.8";
2266+ };
2267+ };
2268+ isstream = {
2269+ "0.1.x" = {
2270+ version = "0.1.2";
2271+ pkg = self."isstream-0.1.2";
2272+ };
2273+ };
2274+ pkginfo = {
2275+ "0.3.x" = {
2276+ version = "0.3.1";
2277+ pkg = self."pkginfo-0.3.1";
2278+ };
2279+ };
2280+ stack-trace = {
2281+ "0.0.x" = {
2282+ version = "0.0.9";
2283+ pkg = self."stack-trace-0.0.9";
2284+ };
2285+ };
2286+ };
2287+ meta = {
2288+ description = "A multi-transport async logging library for Node.js";
2289+ homepage = "https://github.com/winstonjs/winston#readme";
2290+ license = "MIT";
2291+ };
2292+ production = true;
2293+ linkDependencies = false;
2294+ };
2295+ "async-1.0.0" = buildNodePackage {
2296+ name = "async";
2297+ version = "1.0.0";
2298+ src = fetchurl {
2299+ url = "http://registry.npmjs.org/async/-/async-1.0.0.tgz";
2300+ sha1 = "f8fc04ca3a13784ade9e1641af98578cfbd647a9";
2301+ };
2302+ meta = {
2303+ description = "Higher-order functions and common patterns for asynchronous code";
2304+ homepage = "https://github.com/caolan/async#readme";
2305+ license = "MIT";
2306+ };
2307+ production = true;
2308+ linkDependencies = false;
2309+ };
2310+ "async-~1.0.0" = self."async-1.0.0";
2311+ "colors-1.0.3" = buildNodePackage {
2312+ name = "colors";
2313+ version = "1.0.3";
2314+ src = fetchurl {
2315+ url = "http://registry.npmjs.org/colors/-/colors-1.0.3.tgz";
2316+ sha1 = "0433f44d809680fdeb60ed260f1b0c262e82a40b";
2317+ };
2318+ meta = {
2319+ description = "get colors in your node.js console";
2320+ homepage = https://github.com/Marak/colors.js;
2321+ license = "MIT";
2322+ };
2323+ production = true;
2324+ linkDependencies = false;
2325+ };
2326+ "colors-1.0.x" = self."colors-1.0.3";
2327+ "cycle-1.0.3" = buildNodePackage {
2328+ name = "cycle";
2329+ version = "1.0.3";
2330+ src = fetchurl {
2331+ url = "http://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz";
2332+ sha1 = "21e80b2be8580f98b468f379430662b046c34ad2";
2333+ };
2334+ meta = {
2335+ description = "decycle your json";
2336+ homepage = https://github.com/douglascrockford/JSON-js;
2337+ };
2338+ production = true;
2339+ linkDependencies = false;
2340+ };
2341+ "cycle-1.0.x" = self."cycle-1.0.3";
2342+ "eyes-0.1.8" = buildNodePackage {
2343+ name = "eyes";
2344+ version = "0.1.8";
2345+ src = fetchurl {
2346+ url = "http://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz";
2347+ sha1 = "62cf120234c683785d902348a800ef3e0cc20bc0";
2348+ };
2349+ meta = {
2350+ description = "a customizable value inspector";
2351+ };
2352+ production = true;
2353+ linkDependencies = false;
2354+ };
2355+ "eyes-0.1.x" = self."eyes-0.1.8";
2356+ "isstream-0.1.x" = self."isstream-0.1.2";
2357+ "pkginfo-0.3.1" = buildNodePackage {
2358+ name = "pkginfo";
2359+ version = "0.3.1";
2360+ src = fetchurl {
2361+ url = "http://registry.npmjs.org/pkginfo/-/pkginfo-0.3.1.tgz";
2362+ sha1 = "5b29f6a81f70717142e09e765bbeab97b4f81e21";
2363+ };
2364+ meta = {
2365+ description = "An easy way to expose properties on a module from a package.json";
2366+ homepage = "https://github.com/indexzero/node-pkginfo#readme";
2367+ license = "MIT";
2368+ };
2369+ production = true;
2370+ linkDependencies = false;
2371+ };
2372+ "pkginfo-0.3.x" = self."pkginfo-0.3.1";
2373+ "stack-trace-0.0.9" = buildNodePackage {
2374+ name = "stack-trace";
2375+ version = "0.0.9";
2376+ src = fetchurl {
2377+ url = "http://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz";
2378+ sha1 = "a8f6eaeca90674c333e7c43953f275b451510695";
2379+ };
2380+ dependencies = {};
2381+ meta = {
2382+ description = "Get v8 stack traces as an array of CallSite objects.";
2383+ homepage = https://github.com/felixge/node-stack-trace;
2384+ };
2385+ production = true;
2386+ linkDependencies = false;
2387+ };
2388+ "stack-trace-0.0.x" = self."stack-trace-0.0.9";
2389+ "winston-1.0.x" = self."winston-1.0.2";
2390+ titanium = self."titanium-5.0.5";
2391+ };
2392+in
2393+registry
pkgs/development/mobile/titaniumenv/default.nix+4−31
@@ -1,25 +1,5 @@
1−{pkgs, pkgs_i686, xcodeVersion ? "6.1.1", xcodeBaseDir ? "/Applications/Xcode.app", tiVersion ? "3.5.1.GA"}:
1+{pkgs, pkgs_i686, xcodeVersion ? "7.2", xcodeBaseDir ? "/Applications/Xcode.app", tiVersion ? "5.1.1.GA"}:
22
3−let
4− # We have to use Oracle's JDK. On Darwin, just simply expose the host system's
5− # JDK. According to their docs, OpenJDK is not supported.
6−
7− jdkWrapper = pkgs.stdenv.mkDerivation {
8− name = "jdk-wrapper";
9− buildCommand = ''
10− mkdir -p $out/bin
11− cd $out/bin
12− ln -s /usr/bin/javac
13− ln -s /usr/bin/java
14− ln -s /usr/bin/jarsigner
15− ln -s /usr/bin/jar
16− ln -s /usr/bin/keytool
17− '';
18− setupHook = ''
19− export JAVA_HOME=/usr
20− '';
21− };
22−in
233rec {
244 androidenv = pkgs.androidenv;
255
@@ -29,11 +9,7 @@ rec {
299 } else null;
3010
3111 titaniumsdk = let
32− titaniumSdkFile = if tiVersion == "3.1.4.GA" then ./titaniumsdk-3.1.nix
33− else if tiVersion == "3.2.3.GA" then ./titaniumsdk-3.2.nix
34− else if tiVersion == "3.3.0.GA" then ./titaniumsdk-3.3.nix
35− else if tiVersion == "3.4.0.GA" then ./titaniumsdk-3.4.nix
36− else if tiVersion == "3.5.1.GA" then ./titaniumsdk-3.5.nix
12+ titaniumSdkFile = if tiVersion == "5.1.1.GA" then ./titaniumsdk-5.1.nix
3713 else throw "Titanium version not supported: "+tiVersion;
3814 in
3915 import titaniumSdkFile {
@@ -41,11 +17,8 @@ rec {
4117 };
4218
4319 buildApp = import ./build-app.nix {
44− inherit (pkgs) stdenv python which;
45− jdk = if pkgs.stdenv.isLinux then pkgs.oraclejdk7
46− else if pkgs.stdenv.isDarwin then jdkWrapper
47− else throw "Platform not supported: ${pkgs.stdenv.system}";
48− inherit (pkgs.nodePackages) titanium;
20+ inherit (pkgs) stdenv python which jdk;
21+ titanium = (import ./cli { inherit (pkgs.stdenv) system; }).titanium {};
4922 inherit (androidenv) androidsdk;
5023 inherit (xcodeenv) xcodewrapper;
5124 inherit titaniumsdk xcodeBaseDir;
pkgs/development/mobile/titaniumenv/examples/default.nix+3−3
@@ -1,10 +1,10 @@
11{ nixpkgs ? <nixpkgs>
22, systems ? [ "x86_64-linux" "x86_64-darwin" ]
3−, xcodeVersion ? "6.1.1"
3+, xcodeVersion ? "7.2"
44, xcodeBaseDir ? "/Applications/Xcode.app"
5−, tiVersion ? "3.5.1.GA"
5+, tiVersion ? "5.1.1.GA"
66, rename ? false
7−, newBundleId ? "com.example.kitchensink", iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? "Example", iosCertificatePassword ? "", iosVersion ? "8.1", iosWwdrCertificate ? null
7+, newBundleId ? "com.example.kitchensink", iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? "Example", iosCertificatePassword ? "", iosVersion ? "9.2", iosWwdrCertificate ? null
88, allowUnfree ? false
99, enableWirelessDistribution ? false, installURL ? null
1010}:
pkgs/development/mobile/titaniumenv/examples/kitchensink/default.nix+5−5
@@ -1,5 +1,5 @@
1−{ titaniumenv, fetchgit, target, androidPlatformVersions ? [ "14" ], tiVersion ? "3.2.3.GA", release ? false
2−, rename ? false, stdenv ? null, newBundleId ? null, iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? null, iosCertificatePassword ? null, iosVersion ? "8.1", iosWwdrCertificate ? null
1+{ titaniumenv, fetchgit, target, androidPlatformVersions ? [ "23" ], tiVersion ? "5.1.1.GA", release ? false
2+, rename ? false, stdenv ? null, newBundleId ? null, iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? null, iosCertificatePassword ? null, iosVersion ? "8.1"
33, enableWirelessDistribution ? false, installURL ? null
44}:
55
@@ -8,8 +8,8 @@ assert rename -> (stdenv != null && newBundleId != null && iosMobileProvisioning
88let
99 src = fetchgit {
1010 url = https://github.com/appcelerator/KitchenSink.git;
11− rev = "37d766ef9cba6a2d0b22634d3edc1fa8402109a0";
12− sha256 = "1d4x9zwq92p1krds52bd41qqsnsnb3a7x74bysbiphrvrphz80kk";
11+ rev = "6e9f509069fafdebfa78e15b2d14f20a27a485cc";
12+ sha256 = "0370dc0ca78b96a7e0befbff9cb1c248695e1aff66aceea98043bbb16c5121e6";
1313 };
1414
1515 # Rename the bundle id to something else
@@ -37,6 +37,6 @@ titaniumenv.buildApp {
3737 androidKeyAlias = "myfirstapp";
3838 androidKeyStorePassword = "mykeystore";
3939
40− inherit iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword iosVersion iosWwdrCertificate;
40+ inherit iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword iosVersion;
4141 inherit enableWirelessDistribution installURL;
4242}
pkgs/development/mobile/titaniumenv/fixnativelibs.seddeleted−1
@@ -1 +0,0 @@
1−s|\t\t\t\t\t\t\t\tapk_zip.write(native_lib, path_in_zip)|\t\t\t\t\t\t\t\tinfo = zipfile.ZipInfo(path_in_zip)\n\t\t\t\t\t\t\t\tinfo.compress_type = zipfile.ZIP_DEFLATED\n\t\t\t\t\t\t\t\tinfo.create_system = 3\n\t\t\t\t\t\t\t\tf = open(native_lib)\n\t\t\t\t\t\t\t\tapk_zip.writestr(info, f.read())\n\t\t\t\t\t\t\t\tf.close()|
pkgs/development/mobile/titaniumenv/fixso.seddeleted−1
@@ -1 +0,0 @@
1−s|apk_zip.write(os.path.join(lib_source_dir, fname), lib_dest_dir + fname)|info = zipfile.ZipInfo(lib_dest_dir + fname)\n\t\t\t\tinfo.compress_type = zipfile.ZIP_DEFLATED\n\t\t\t\tinfo.create_system = 3\n\t\t\t\tf = open(os.path.join(lib_source_dir, fname))\n\t\t\t\tapk_zip.writestr(info, f.read())\n\t\t\t\tf.close()|
pkgs/development/mobile/titaniumenv/fixtiprofiler.seddeleted−1
@@ -1 +0,0 @@
1−s|apk_zip.write(os.path.join(lib_source_dir, 'libtiprofiler.so'), lib_dest_dir + 'libtiprofiler.so')|info = zipfile.ZipInfo(lib_dest_dir + 'libtiprofiler.so')\n\t\t\tinfo.compress_type = zipfile.ZIP_DEFLATED\n\t\t\tinfo.create_system = 3\n\t\t\tf = open(os.path.join(lib_source_dir, 'libtiprofiler.so'))\n\t\t\tapk_zip.writestr(info, f.read())\n\t\t\tf.close()\n|
pkgs/development/mobile/titaniumenv/fixtiverify.seddeleted−1
@@ -1 +0,0 @@
1−s|apk_zip.write(os.path.join(lib_source_dir, 'libtiverify.so'), lib_dest_dir + 'libtiverify.so')|info = zipfile.ZipInfo(lib_dest_dir + 'libtiverify.so')\n\t\t\tinfo.compress_type = zipfile.ZIP_DEFLATED\n\t\t\tinfo.create_system = 3\n\t\t\tf = open(os.path.join(lib_source_dir, 'libtiverify.so'))\n\t\t\tapk_zip.writestr(info, f.read())\n\t\t\tf.close()|
pkgs/development/mobile/titaniumenv/titaniumsdk-3.1.nixdeleted−80
@@ -1,80 +0,0 @@
1−{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
2−
3−stdenv.mkDerivation {
4− name = "mobilesdk-3.1.4.v20130926144546";
5− src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
6− url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/3_1_X/mobilesdk-3.1.4.v20130926144546-linux.zip;
7− sha1 = "da4a03ced67f0e8f442d551bbd41ea01fceeee00";
8− }
9− else if stdenv.system == "x86_64-darwin" then fetchurl {
10− url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/3_1_X/mobilesdk-3.1.4.v20130926144546-osx.zip;
11− sha1 = "55f604c8edb989ba214c8ed7538d1b416df0419e";
12− }
13− else throw "Platform: ${stdenv.system} not supported!";
14−
15− buildInputs = [ unzip makeWrapper ];
16−
17− buildCommand = ''
18− mkdir -p $out
19− cd $out
20− unzip $src
21−
22− # Fix shebang header for python scripts
23−
24− find . -name \*.py | while read i
25− do
26− sed -i -e "s|#!/usr/bin/env python|#!${python}/bin/python|" $i
27− done
28−
29− # Rename ugly version number
30− cd mobilesdk/*
31− mv 3.1.4.v20130926144546 3.1.4.GA
32− cd 3.1.4.GA
33−
34− # Zip files do not support timestamps lower than 1980. We have to apply a few work-arounds to cope with that
35− # Yes, I know it's nasty :-)
36−
37− cd android
38−
39− sed -i -f ${./fixtiverify.sed} builder.py
40− sed -i -f ${./fixtiprofiler.sed} builder.py
41− sed -i -f ${./fixso.sed} builder.py
42− sed -i -f ${./fixnativelibs.sed} builder.py
43−
44− # Patch some executables
45−
46− ${if stdenv.system == "i686-linux" then
47− ''
48− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux.so.2 titanium_prep.linux32
49− ''
50− else if stdenv.system == "x86_64-linux" then
51− ''
52− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 titanium_prep.linux64
53− ''
54− else ""}
55−
56− # Fix zipalign compatibility issue with newer Android SDKs
57− sed -i -e 's|zipalign = self.sdk.get_zipalign()|zipalign = "zipalign"|' builder.py
58−
59− # Wrap builder script
60− mv builder.py .builder.py
61− cat > builder.py <<EOF
62− #!${python}/bin/python
63−
64− import os, sys
65−
66− os.environ['PYTHONPATH'] = '$(echo ${python.modules.sqlite3}/lib/python*/site-packages)'
67− os.environ['JAVA_HOME'] = '${jdk.home}'
68−
69− os.execv('$(pwd)/.builder.py', sys.argv)
70− EOF
71−
72− chmod +x builder.py
73−
74− '' + stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") ''
75− # 'ditto' utility is needed to copy stuff to the Xcode organizer. Dirty, but this allows it to work.
76− sed -i -e "s|ditto|/usr/bin/ditto|g" $out/mobilesdk/osx/*/iphone/builder.py
77−
78− sed -i -e "s|--xcode|--xcode '+process.env['NIX_TITANIUM_WORKAROUND']+'|" $out/mobilesdk/osx/*/iphone/cli/commands/_build.js
79− '';
80−}
pkgs/development/mobile/titaniumenv/titaniumsdk-3.2.nixdeleted−77
@@ -1,77 +0,0 @@
1−{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
2−
3−stdenv.mkDerivation {
4− name = "mobilesdk-3.2.3.GA";
5− src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
6− url = http://builds.appcelerator.com/mobile/3.2.3/mobilesdk-3.2.3.GA-linux.zip;
7− sha1 = "303e6d19a0ca099d47f6862c00b261c6d0206cea";
8− }
9− else if stdenv.system == "x86_64-darwin" then fetchurl {
10− url = http://builds.appcelerator.com/mobile/3.2.3/mobilesdk-3.2.3.GA-osx.zip;
11− sha1 = "8c358cbd8624ffe3dfbd0283738105157067e0fb";
12− }
13− else throw "Platform: ${stdenv.system} not supported!";
14−
15− buildInputs = [ unzip makeWrapper ];
16−
17− buildCommand = ''
18− mkdir -p $out
19− cd $out
20− unzip $src
21−
22− # Fix shebang header for python scripts
23−
24− find . -name \*.py | while read i
25− do
26− sed -i -e "s|#!/usr/bin/env python|#!${python}/bin/python|" $i
27− done
28−
29− # Rename ugly version number
30− cd mobilesdk/*
31− cd 3.2.3.GA
32−
33− # Zip files do not support timestamps lower than 1980. We have to apply a few work-arounds to cope with that
34− # Yes, I know it's nasty :-)
35−
36− cd android
37−
38− sed -i -f ${./fixtiverify.sed} builder.py
39− sed -i -f ${./fixtiprofiler.sed} builder.py
40− sed -i -f ${./fixso.sed} builder.py
41− sed -i -f ${./fixnativelibs.sed} builder.py
42−
43− # Patch some executables
44−
45− ${if stdenv.system == "i686-linux" then
46− ''
47− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux.so.2 titanium_prep.linux32
48− ''
49− else if stdenv.system == "x86_64-linux" then
50− ''
51− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 titanium_prep.linux64
52− ''
53− else ""}
54−
55− # Wrap builder script
56−
57− mv builder.py .builder.py
58− cat > builder.py <<EOF
59− #!${python}/bin/python
60−
61− import os, sys
62−
63− os.environ['PYTHONPATH'] = '$(echo ${python.modules.sqlite3}/lib/python*/site-packages)'
64− os.environ['JAVA_HOME'] = '${jdk.home}'
65−
66− os.execv('$(pwd)/.builder.py', sys.argv)
67− EOF
68−
69− chmod +x builder.py
70−
71− '' + stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") ''
72− # 'ditto' utility is needed to copy stuff to the Xcode organizer. Dirty, but this allows it to work.
73− sed -i -e "s|ditto|/usr/bin/ditto|g" $out/mobilesdk/osx/*/iphone/builder.py
74−
75− sed -i -e "s|--xcode|--xcode '+process.env['NIX_TITANIUM_WORKAROUND']+'|" $out/mobilesdk/osx/*/iphone/cli/commands/_build.js
76− '';
77−}
pkgs/development/mobile/titaniumenv/titaniumsdk-3.3.nixdeleted−77
@@ -1,77 +0,0 @@
1−{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
2−
3−stdenv.mkDerivation {
4− name = "mobilesdk-3.3.0.GA";
5− src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
6− url = http://builds.appcelerator.com/mobile/3.3.0/mobilesdk-3.3.0.GA-linux.zip;
7− sha1 = "9a9cca05a4cf8700df60b7e9d9cd969ecb70d81e";
8− }
9− else if stdenv.system == "x86_64-darwin" then fetchurl {
10− url = http://builds.appcelerator.com/mobile/3.3.0/mobilesdk-3.3.0.GA-osx.zip;
11− sha1 = "c6333e4da2564b9c51b865c1db49a062fbc743af";
12− }
13− else throw "Platform: ${stdenv.system} not supported!";
14−
15− buildInputs = [ unzip makeWrapper ];
16−
17− buildCommand = ''
18− mkdir -p $out
19− cd $out
20− unzip $src
21−
22− # Fix shebang header for python scripts
23−
24− find . -name \*.py | while read i
25− do
26− sed -i -e "s|#!/usr/bin/env python|#!${python}/bin/python|" $i
27− done
28−
29− # Rename ugly version number
30− cd mobilesdk/*
31− cd 3.3.0.GA
32−
33− # Zip files do not support timestamps lower than 1980. We have to apply a few work-arounds to cope with that
34− # Yes, I know it's nasty :-)
35−
36− cd android
37−
38− sed -i -f ${./fixtiverify.sed} builder.py
39− sed -i -f ${./fixtiprofiler.sed} builder.py
40− sed -i -f ${./fixso.sed} builder.py
41− sed -i -f ${./fixnativelibs.sed} builder.py
42−
43− # Patch some executables
44−
45− ${if stdenv.system == "i686-linux" then
46− ''
47− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux.so.2 titanium_prep.linux32
48− ''
49− else if stdenv.system == "x86_64-linux" then
50− ''
51− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 titanium_prep.linux64
52− ''
53− else ""}
54−
55− # Wrap builder script
56−
57− mv builder.py .builder.py
58− cat > builder.py <<EOF
59− #!${python}/bin/python
60−
61− import os, sys
62−
63− os.environ['PYTHONPATH'] = '$(echo ${python.modules.sqlite3}/lib/python*/site-packages)'
64− os.environ['JAVA_HOME'] = '${jdk.home}'
65−
66− os.execv('$(pwd)/.builder.py', sys.argv)
67− EOF
68−
69− chmod +x builder.py
70−
71− '' + stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") ''
72− # 'ditto' utility is needed to copy stuff to the Xcode organizer. Dirty, but this allows it to work.
73− sed -i -e "s|ditto|/usr/bin/ditto|g" $out/mobilesdk/osx/*/iphone/builder.py
74−
75− sed -i -e "s|--xcode|--xcode '+process.env['NIX_TITANIUM_WORKAROUND']+'|" $out/mobilesdk/osx/*/iphone/cli/commands/_build.js
76− '';
77−}
pkgs/development/mobile/titaniumenv/titaniumsdk-3.4.nixdeleted−77
@@ -1,77 +0,0 @@
1−{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
2−
3−stdenv.mkDerivation {
4− name = "mobilesdk-3.4.0.GA";
5− src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
6− url = http://builds.appcelerator.com/mobile/3.4.0/mobilesdk-3.4.0.GA-linux.zip;
7− sha1 = "c281a3a3f3af35adc95fc00dcd525b84516c2083";
8− }
9− else if stdenv.system == "x86_64-darwin" then fetchurl {
10− url = http://builds.appcelerator.com/mobile/3.4.0/mobilesdk-3.4.0.GA-osx.zip;
11− sha1 = "2f10426462e5f8e487be83c8038f2934d5079f0d";
12− }
13− else throw "Platform: ${stdenv.system} not supported!";
14−
15− buildInputs = [ unzip makeWrapper ];
16−
17− buildCommand = ''
18− mkdir -p $out
19− cd $out
20− unzip $src
21−
22− # Fix shebang header for python scripts
23−
24− find . -name \*.py | while read i
25− do
26− sed -i -e "s|#!/usr/bin/env python|#!${python}/bin/python|" $i
27− done
28−
29− # Rename ugly version number
30− cd mobilesdk/*
31− cd 3.4.0.GA
32−
33− # Zip files do not support timestamps lower than 1980. We have to apply a few work-arounds to cope with that
34− # Yes, I know it's nasty :-)
35−
36− cd android
37−
38− sed -i -f ${./fixtiverify.sed} builder.py
39− sed -i -f ${./fixtiprofiler.sed} builder.py
40− sed -i -f ${./fixso.sed} builder.py
41− sed -i -f ${./fixnativelibs.sed} builder.py
42−
43− # Patch some executables
44−
45− ${if stdenv.system == "i686-linux" then
46− ''
47− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux.so.2 titanium_prep.linux32
48− ''
49− else if stdenv.system == "x86_64-linux" then
50− ''
51− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 titanium_prep.linux64
52− ''
53− else ""}
54−
55− # Wrap builder script
56−
57− mv builder.py .builder.py
58− cat > builder.py <<EOF
59− #!${python}/bin/python
60−
61− import os, sys
62−
63− os.environ['PYTHONPATH'] = '$(echo ${python.modules.sqlite3}/lib/python*/site-packages)'
64− os.environ['JAVA_HOME'] = '${jdk.home}'
65−
66− os.execv('$(pwd)/.builder.py', sys.argv)
67− EOF
68−
69− chmod +x builder.py
70−
71− '' + stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") ''
72− # 'ditto' utility is needed to copy stuff to the Xcode organizer. Dirty, but this allows it to work.
73− sed -i -e "s|ditto|/usr/bin/ditto|g" $out/mobilesdk/osx/*/iphone/builder.py
74−
75− sed -i -e "s|--xcode|--xcode '+process.env['NIX_TITANIUM_WORKAROUND']+'|" $out/mobilesdk/osx/*/iphone/cli/commands/_build.js
76− '';
77−}
pkgs/development/mobile/titaniumenv/titaniumsdk-3.5.nixdeleted−77
@@ -1,77 +0,0 @@
1−{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
2−
3−stdenv.mkDerivation {
4− name = "mobilesdk-3.5.1.GA";
5− src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
6− url = http://builds.appcelerator.com/mobile/3.5.1/mobilesdk-3.5.1.GA-linux.zip;
7− sha1 = "2fd8c50081af9d03b65ffaf824e2e417832efd92";
8− }
9− else if stdenv.system == "x86_64-darwin" then fetchurl {
10− url = http://builds.appcelerator.com/mobile/3.5.1/mobilesdk-3.5.1.GA-osx.zip;
11− sha1 = "f000e66980c2c3a40b6a6fd40a0bd0554fcb0424";
12− }
13− else throw "Platform: ${stdenv.system} not supported!";
14−
15− buildInputs = [ unzip makeWrapper ];
16−
17− buildCommand = ''
18− mkdir -p $out
19− cd $out
20− unzip $src
21−
22− # Fix shebang header for python scripts
23−
24− find . -name \*.py | while read i
25− do
26− sed -i -e "s|#!/usr/bin/env python|#!${python}/bin/python|" $i
27− done
28−
29− # Rename ugly version number
30− cd mobilesdk/*
31− cd 3.5.1.GA
32−
33− # Zip files do not support timestamps lower than 1980. We have to apply a few work-arounds to cope with that
34− # Yes, I know it's nasty :-)
35−
36− cd android
37−
38− sed -i -f ${./fixtiverify.sed} builder.py
39− sed -i -f ${./fixtiprofiler.sed} builder.py
40− sed -i -f ${./fixso.sed} builder.py
41− sed -i -f ${./fixnativelibs.sed} builder.py
42−
43− # Patch some executables
44−
45− ${if stdenv.system == "i686-linux" then
46− ''
47− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux.so.2 titanium_prep.linux32
48− ''
49− else if stdenv.system == "x86_64-linux" then
50− ''
51− patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 titanium_prep.linux64
52− ''
53− else ""}
54−
55− # Wrap builder script
56−
57− mv builder.py .builder.py
58− cat > builder.py <<EOF
59− #!${python}/bin/python
60−
61− import os, sys
62−
63− os.environ['PYTHONPATH'] = '$(echo ${python.modules.sqlite3}/lib/python*/site-packages)'
64− os.environ['JAVA_HOME'] = '${jdk.home}'
65−
66− os.execv('$(pwd)/.builder.py', sys.argv)
67− EOF
68−
69− chmod +x builder.py
70−
71− '' + stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") ''
72− # 'ditto' utility is needed to copy stuff to the Xcode organizer. Dirty, but this allows it to work.
73− sed -i -e "s|ditto|/usr/bin/ditto|g" $out/mobilesdk/osx/*/iphone/builder.py
74−
75− sed -i -e "s|--xcode|--xcode '+process.env['NIX_TITANIUM_WORKAROUND']+'|" $out/mobilesdk/osx/*/iphone/cli/commands/_build.js
76− '';
77−}
pkgs/development/mobile/titaniumenv/titaniumsdk-5.1.nixnew file+42
@@ -0,0 +1,42 @@
1+{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
2+
3+stdenv.mkDerivation {
4+ name = "mobilesdk-5.1.1.GA";
5+ src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
6+ url = http://builds.appcelerator.com/mobile/5_1_1/mobilesdk-5.1.1.v20151203123251-linux.zip;
7+ sha256 = "197pia5a0bacwwyi0s7s69iyx4i2jdrgjc3ybiahaqv27dhw9zr2";
8+ }
9+ else if stdenv.system == "x86_64-darwin" then fetchurl {
10+ url = http://builds.appcelerator.com/mobile/5_1_1/mobilesdk-5.1.1.v20151203123251-osx.zip;
11+ sha256 = "1ij2zc5450fnl13w8ia1z6pa12vja6ks1ssvlb73n2rx52krgvxr";
12+ }
13+ else throw "Platform: ${stdenv.system} not supported!";
14+
15+ buildInputs = [ unzip makeWrapper ];
16+
17+ buildCommand = ''
18+ mkdir -p $out
19+ cd $out
20+ (yes y | unzip $src) || true
21+
22+ # Rename ugly version number
23+ cd mobilesdk/*
24+ mv * 5.1.1.GA
25+ cd *
26+
27+ # Hack to make dx.jar work with new build-tools
28+ sed -i -e "s|path.join(dir, 'platform-tools', 'lib', 'dx.jar')|path.join(dir, 'build-tools', 'android-6.0', 'lib', 'dx.jar')|" $out/mobilesdk/*/*/node_modules/titanium-sdk/lib/android.js
29+
30+ # Patch some executables
31+
32+ ${if stdenv.system == "i686-linux" then
33+ ''
34+ patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux.so.2 android/titanium_prep.linux32
35+ ''
36+ else if stdenv.system == "x86_64-linux" then
37+ ''
38+ patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 android/titanium_prep.linux64
39+ ''
40+ else ""}
41+ '';
42+}