git.iko.soy/typeable/nixpkgs
on master help sign in
codimd: 1.2.0 -> 1.4.0, repackage using yarn2nix-moretea
commitcee4d964a7ade77298f76c1a38318e0279919a90 authorWilliButz <wbutz@cyberfnord.de> dateSat 13 Jul 2019, 15:09 (7 years ago) parentf748b50
15 files changed+23337−20715
pkgs/servers/web-apps/codimd/CodeMirror/default.nix−46 pkgs/servers/web-apps/codimd/CodeMirror/deps.json−8 pkgs/servers/web-apps/codimd/CodeMirror/generate.sh−7 pkgs/servers/web-apps/codimd/CodeMirror/node-packages.nix−1481 pkgs/servers/web-apps/codimd/CodeMirror/node.nix−17 pkgs/servers/web-apps/codimd/default.nix+59−174 pkgs/servers/web-apps/codimd/deps.json−149 pkgs/servers/web-apps/codimd/generate.sh−7 pkgs/servers/web-apps/codimd/js-sequence-diagrams/default.nix−33 pkgs/servers/web-apps/codimd/node-packages.nix−18775 pkgs/servers/web-apps/codimd/node.nix−17 pkgs/servers/web-apps/codimd/package.json+211 pkgs/servers/web-apps/codimd/yarn.lock+10951 pkgs/servers/web-apps/codimd/yarn.nix+12109 pkgs/top-level/all-packages.nix+7−1
pkgs/servers/web-apps/codimd/CodeMirror/default.nixdeleted−46
@@ -1,46 +0,0 @@
1−{ stdenv, pkgs, fetchFromGitHub, nodejs-8_x, phantomjs2, which }:
2−
3−let
4− nodePackages = import ./node.nix {
5− inherit pkgs;
6− system = stdenv.system;
7− };
8−
9− phantomjs-prebuilt = nodePackages."phantomjs-prebuilt-^2.1.12".override (oldAttrs: {
10− buildInputs = oldAttrs.buildInputs ++ [ phantomjs2 ];
11− });
12−in
13−
14−stdenv.mkDerivation {
15− name = "codemirror-hackmdio-05-07-2018";
16−
17− src = fetchFromGitHub {
18− owner = "hackmdio";
19− repo = "CodeMirror";
20− rev = "df412731ed3923124f9a43f60e84bdf855eb843a";
21− sha256 = "02v2wccv9sjdda9x45ib8d08i1pc4b8kwg3p6qc314wqq89nhniw";
22− };
23−
24− nativeBuildInputs = [ which ];
25− buildInputs = [ nodejs-8_x phantomjs-prebuilt ] ++ (stdenv.lib.attrVals [
26− "blint-^1"
27− "node-static-0.6.0"
28− "rollup-^0.41.0"
29− "rollup-plugin-buble-^0.15.0"
30− "rollup-watch-^3.2.0"
31− "uglify-js-^2.8.15"
32− ] nodePackages);
33−
34− buildPhase = ''
35− patchShebangs .
36− npm run build
37− node release
38− '';
39−
40− installPhase = ''
41− mkdir -p $out/lib/node_modules/codemirror
42− cp -R {codemirror.min.js,addon,bin,keymap,lib,mode,theme} $out/lib/node_modules/codemirror/
43− ln -s ${nodePackages."url-loader-^0.5.7"}/lib/node_modules/url-loader \
44− $out/lib/node_modules
45− '';
46−}
pkgs/servers/web-apps/codimd/CodeMirror/deps.jsondeleted−8
@@ -1,8 +0,0 @@
1−[ { "blint": "^1" }
2−, { "node-static": "0.6.0" }
3−, { "phantomjs-prebuilt": "^2.1.12" }
4−, { "rollup": "^0.41.0" }
5−, { "rollup-plugin-buble": "^0.15.0" }
6−, { "rollup-watch": "^3.2.0" }
7−, { "uglify-js": "^2.8.15" }
8−, { "url-loader": "^0.5.7" } ]
pkgs/servers/web-apps/codimd/CodeMirror/generate.shdeleted−7
@@ -1,7 +0,0 @@
1−#!/usr/bin/env nix-shell
2−#! nix-shell -i bash -p nodePackages.node2nix
3−
4−node2nix -8 -i deps.json \
5− -e ../../../../development/node-packages/node-env.nix \
6− --no-copy-node-env \
7− -c node.nix
pkgs/servers/web-apps/codimd/CodeMirror/node-packages.nixdeleted−1481
@@ -1,1481 +0,0 @@
1−# This file has been generated by node2nix 1.7.0. Do not edit!
2−
3−{nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}:
4−
5−let
6− sources = {
7− "acorn-3.3.0" = {
8− name = "acorn";
9− packageName = "acorn";
10− version = "3.3.0";
11− src = fetchurl {
12− url = "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz";
13− sha1 = "45e37fb39e8da3f25baee3ff5369e2bb5f22017a";
14− };
15− };
16− "acorn-5.7.3" = {
17− name = "acorn";
18− packageName = "acorn";
19− version = "5.7.3";
20− src = fetchurl {
21− url = "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz";
22− sha512 = "T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==";
23− };
24− };
25− "acorn-jsx-3.0.1" = {
26− name = "acorn-jsx";
27− packageName = "acorn-jsx";
28− version = "3.0.1";
29− src = fetchurl {
30− url = "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz";
31− sha1 = "afdf9488fb1ecefc8348f6fb22f464e32a58b36b";
32− };
33− };
34− "acorn-object-spread-1.0.0" = {
35− name = "acorn-object-spread";
36− packageName = "acorn-object-spread";
37− version = "1.0.0";
38− src = fetchurl {
39− url = "https://registry.npmjs.org/acorn-object-spread/-/acorn-object-spread-1.0.0.tgz";
40− sha1 = "48ead0f4a8eb16995a17a0db9ffc6acaada4ba68";
41− };
42− };
43− "ajv-6.10.0" = {
44− name = "ajv";
45− packageName = "ajv";
46− version = "6.10.0";
47− src = fetchurl {
48− url = "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz";
49− sha512 = "nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==";
50− };
51− };
52− "align-text-0.1.4" = {
53− name = "align-text";
54− packageName = "align-text";
55− version = "0.1.4";
56− src = fetchurl {
57− url = "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz";
58− sha1 = "0cd90a561093f35d0a99256c22b7069433fad117";
59− };
60− };
61− "ansi-regex-2.1.1" = {
62− name = "ansi-regex";
63− packageName = "ansi-regex";
64− version = "2.1.1";
65− src = fetchurl {
66− url = "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz";
67− sha1 = "c3b33ab5ee360d86e0e628f0468ae7ef27d654df";
68− };
69− };
70− "ansi-styles-1.0.0" = {
71− name = "ansi-styles";
72− packageName = "ansi-styles";
73− version = "1.0.0";
74− src = fetchurl {
75− url = "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz";
76− sha1 = "cb102df1c56f5123eab8b67cd7b98027a0279178";
77− };
78− };
79− "ansi-styles-2.2.1" = {
80− name = "ansi-styles";
81− packageName = "ansi-styles";
82− version = "2.2.1";
83− src = fetchurl {
84− url = "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz";
85− sha1 = "b432dd3358b634cf75e1e4664368240533c1ddbe";
86− };
87− };
88− "asn1-0.2.4" = {
89− name = "asn1";
90− packageName = "asn1";
91− version = "0.2.4";
92− src = fetchurl {
93− url = "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz";
94− sha512 = "jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==";
95− };
96− };
97− "assert-plus-1.0.0" = {
98− name = "assert-plus";
99− packageName = "assert-plus";
100− version = "1.0.0";
101− src = fetchurl {
102− url = "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz";
103− sha1 = "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525";
104− };
105− };
106− "asynckit-0.4.0" = {
107− name = "asynckit";
108− packageName = "asynckit";
109− version = "0.4.0";
110− src = fetchurl {
111− url = "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz";
112− sha1 = "c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79";
113− };
114− };
115− "aws-sign2-0.7.0" = {
116− name = "aws-sign2";
117− packageName = "aws-sign2";
118− version = "0.7.0";
119− src = fetchurl {
120− url = "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz";
121− sha1 = "b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8";
122− };
123− };
124− "aws4-1.8.0" = {
125− name = "aws4";
126− packageName = "aws4";
127− version = "1.8.0";
128− src = fetchurl {
129− url = "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz";
130− sha512 = "ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==";
131− };
132− };
133− "balanced-match-1.0.0" = {
134− name = "balanced-match";
135− packageName = "balanced-match";
136− version = "1.0.0";
137− src = fetchurl {
138− url = "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz";
139− sha1 = "89b4d199ab2bee49de164ea02b89ce462d71b767";
140− };
141− };
142− "bcrypt-pbkdf-1.0.2" = {
143− name = "bcrypt-pbkdf";
144− packageName = "bcrypt-pbkdf";
145− version = "1.0.2";
146− src = fetchurl {
147− url = "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz";
148− sha1 = "a4301d389b6a43f9b67ff3ca11a3f6637e360e9e";
149− };
150− };
151− "big.js-5.2.2" = {
152− name = "big.js";
153− packageName = "big.js";
154− version = "5.2.2";
155− src = fetchurl {
156− url = "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz";
157− sha512 = "vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==";
158− };
159− };
160− "brace-expansion-1.1.11" = {
161− name = "brace-expansion";
162− packageName = "brace-expansion";
163− version = "1.1.11";
164− src = fetchurl {
165− url = "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz";
166− sha512 = "iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==";
167− };
168− };
169− "buble-0.15.2" = {
170− name = "buble";
171− packageName = "buble";
172− version = "0.15.2";
173− src = fetchurl {
174− url = "https://registry.npmjs.org/buble/-/buble-0.15.2.tgz";
175− sha1 = "547fc47483f8e5e8176d82aa5ebccb183b02d613";
176− };
177− };
178− "buffer-from-1.1.1" = {
179− name = "buffer-from";
180− packageName = "buffer-from";
181− version = "1.1.1";
182− src = fetchurl {
183− url = "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz";
184− sha512 = "MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==";
185− };
186− };
187− "camelcase-1.2.1" = {
188− name = "camelcase";
189− packageName = "camelcase";
190− version = "1.2.1";
191− src = fetchurl {
192− url = "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz";
193− sha1 = "9bb5304d2e0b56698b2c758b08a3eaa9daa58a39";
194− };
195− };
196− "caseless-0.12.0" = {
197− name = "caseless";
198− packageName = "caseless";
199− version = "0.12.0";
200− src = fetchurl {
201− url = "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz";
202− sha1 = "1b681c21ff84033c826543090689420d187151dc";
203− };
204− };
205− "center-align-0.1.3" = {
206− name = "center-align";
207− packageName = "center-align";
208− version = "0.1.3";
209− src = fetchurl {
210− url = "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz";
211− sha1 = "aa0d32629b6ee972200411cbd4461c907bc2b7ad";
212− };
213− };
214− "chalk-0.4.0" = {
215− name = "chalk";
216− packageName = "chalk";
217− version = "0.4.0";
218− src = fetchurl {
219− url = "https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz";
220− sha1 = "5199a3ddcd0c1efe23bc08c1b027b06176e0c64f";
221− };
222− };
223− "chalk-1.1.3" = {
224− name = "chalk";
225− packageName = "chalk";
226− version = "1.1.3";
227− src = fetchurl {
228− url = "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz";
229− sha1 = "a8115c55e4a702fe4d150abd3872822a7e09fc98";
230− };
231− };
232− "cliui-2.1.0" = {
233− name = "cliui";
234− packageName = "cliui";
235− version = "2.1.0";
236− src = fetchurl {
237− url = "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz";
238− sha1 = "4b475760ff80264c762c3a1719032e91c7fea0d1";
239− };
240− };
241− "combined-stream-1.0.8" = {
242− name = "combined-stream";
243− packageName = "combined-stream";
244− version = "1.0.8";
245− src = fetchurl {
246− url = "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz";
247− sha512 = "FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==";
248− };
249− };
250− "concat-map-0.0.1" = {
251− name = "concat-map";
252− packageName = "concat-map";
253− version = "0.0.1";
254− src = fetchurl {
255− url = "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz";
256− sha1 = "d8a96bd77fd68df7793a73036a3ba0d5405d477b";
257− };
258− };
259− "concat-stream-1.6.2" = {
260− name = "concat-stream";
261− packageName = "concat-stream";
262− version = "1.6.2";
263− src = fetchurl {
264− url = "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz";
265− sha512 = "27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==";
266− };
267− };
268− "core-util-is-1.0.2" = {
269− name = "core-util-is";
270− packageName = "core-util-is";
271− version = "1.0.2";
272− src = fetchurl {
273− url = "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz";
274− sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7";
275− };
276− };
277− "dashdash-1.14.1" = {
278− name = "dashdash";
279− packageName = "dashdash";
280− version = "1.14.1";
281− src = fetchurl {
282− url = "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz";
283− sha1 = "853cfa0f7cbe2fed5de20326b8dd581035f6e2f0";
284− };
285− };
286− "debug-2.6.9" = {
287− name = "debug";
288− packageName = "debug";
289− version = "2.6.9";
290− src = fetchurl {
291− url = "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz";
292− sha512 = "bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==";
293− };
294− };
295− "decamelize-1.2.0" = {
296− name = "decamelize";
297− packageName = "decamelize";
298− version = "1.2.0";
299− src = fetchurl {
300− url = "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz";
301− sha1 = "f6534d15148269b20352e7bee26f501f9a191290";
302− };
303− };
304− "delayed-stream-1.0.0" = {
305− name = "delayed-stream";
306− packageName = "delayed-stream";
307− version = "1.0.0";
308− src = fetchurl {
309− url = "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz";
310− sha1 = "df3ae199acadfb7d440aaae0b29e2272b24ec619";
311− };
312− };
313− "ecc-jsbn-0.1.2" = {
314− name = "ecc-jsbn";
315− packageName = "ecc-jsbn";
316− version = "0.1.2";
317− src = fetchurl {
318− url = "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz";
319− sha1 = "3a83a904e54353287874c564b7549386849a98c9";
320− };
321− };
322− "emojis-list-2.1.0" = {
323− name = "emojis-list";
324− packageName = "emojis-list";
325− version = "2.1.0";
326− src = fetchurl {
327− url = "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz";
328− sha1 = "4daa4d9db00f9819880c79fa457ae5b09a1fd389";
329− };
330− };
331− "es6-promise-4.2.6" = {
332− name = "es6-promise";
333− packageName = "es6-promise";
334− version = "4.2.6";
335− src = fetchurl {
336− url = "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.6.tgz";
337− sha512 = "aRVgGdnmW2OiySVPUC9e6m+plolMAJKjZnQlCwNSuK5yQ0JN61DZSO1X1Ufd1foqWRAlig0rhduTCHe7sVtK5Q==";
338− };
339− };
340− "escape-string-regexp-1.0.5" = {
341− name = "escape-string-regexp";
342− packageName = "escape-string-regexp";
343− version = "1.0.5";
344− src = fetchurl {
345− url = "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz";
346− sha1 = "1b61c0562190a8dff6ae3bb2cf0200ca130b86d4";
347− };
348− };
349− "estree-walker-0.2.1" = {
350− name = "estree-walker";
351− packageName = "estree-walker";
352− version = "0.2.1";
353− src = fetchurl {
354− url = "https://registry.npmjs.org/estree-walker/-/estree-walker-0.2.1.tgz";
355− sha1 = "bdafe8095383d8414d5dc2ecf4c9173b6db9412e";
356− };
357− };
358− "extend-3.0.2" = {
359− name = "extend";
360− packageName = "extend";
361− version = "3.0.2";
362− src = fetchurl {
363− url = "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz";
364− sha512 = "fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==";
365− };
366− };
367− "extract-zip-1.6.7" = {
368− name = "extract-zip";
369− packageName = "extract-zip";
370− version = "1.6.7";
371− src = fetchurl {
372− url = "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.7.tgz";
373− sha1 = "a840b4b8af6403264c8db57f4f1a74333ef81fe9";
374− };
375− };
376− "extsprintf-1.3.0" = {
377− name = "extsprintf";
378− packageName = "extsprintf";
379− version = "1.3.0";
380− src = fetchurl {
381− url = "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz";
382− sha1 = "96918440e3041a7a414f8c52e3c574eb3c3e1e05";
383− };
384− };
385− "fast-deep-equal-2.0.1" = {
386− name = "fast-deep-equal";
387− packageName = "fast-deep-equal";
388− version = "2.0.1";
389− src = fetchurl {
390− url = "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz";
391− sha1 = "7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49";
392− };
393− };
394− "fast-json-stable-stringify-2.0.0" = {
395− name = "fast-json-stable-stringify";
396− packageName = "fast-json-stable-stringify";
397− version = "2.0.0";
398− src = fetchurl {
399− url = "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz";
400− sha1 = "d5142c0caee6b1189f87d3a76111064f86c8bbf2";
401− };
402− };
403− "fd-slicer-1.0.1" = {
404− name = "fd-slicer";
405− packageName = "fd-slicer";
406− version = "1.0.1";
407− src = fetchurl {
408− url = "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz";
409− sha1 = "8b5bcbd9ec327c5041bf9ab023fd6750f1177e65";
410− };
411− };
412− "forever-agent-0.6.1" = {
413− name = "forever-agent";
414− packageName = "forever-agent";
415− version = "0.6.1";
416− src = fetchurl {
417− url = "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz";
418− sha1 = "fbc71f0c41adeb37f96c577ad1ed42d8fdacca91";
419− };
420− };
421− "form-data-2.3.3" = {
422− name = "form-data";
423− packageName = "form-data";
424− version = "2.3.3";
425− src = fetchurl {
426− url = "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz";
427− sha512 = "1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==";
428− };
429− };
430− "fs-extra-1.0.0" = {
431− name = "fs-extra";
432− packageName = "fs-extra";
433− version = "1.0.0";
434− src = fetchurl {
435− url = "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz";
436− sha1 = "cd3ce5f7e7cb6145883fcae3191e9877f8587950";
437− };
438− };
439− "getpass-0.1.7" = {
440− name = "getpass";
441− packageName = "getpass";
442− version = "0.1.7";
443− src = fetchurl {
444− url = "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz";
445− sha1 = "5eff8e3e684d569ae4cb2b1282604e8ba62149fa";
446− };
447− };
448− "graceful-fs-4.1.15" = {
449− name = "graceful-fs";
450− packageName = "graceful-fs";
451− version = "4.1.15";
452− src = fetchurl {
453− url = "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz";
454− sha512 = "6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==";
455− };
456− };
457− "har-schema-2.0.0" = {
458− name = "har-schema";
459− packageName = "har-schema";
460− version = "2.0.0";
461− src = fetchurl {
462− url = "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz";
463− sha1 = "a94c2224ebcac04782a0d9035521f24735b7ec92";
464− };
465− };
466− "har-validator-5.1.3" = {
467− name = "har-validator";
468− packageName = "har-validator";
469− version = "5.1.3";
470− src = fetchurl {
471− url = "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz";
472− sha512 = "sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==";
473− };
474− };
475− "has-ansi-2.0.0" = {
476− name = "has-ansi";
477− packageName = "has-ansi";
478− version = "2.0.0";
479− src = fetchurl {
480− url = "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz";
481− sha1 = "34f5049ce1ecdf2b0649af3ef24e45ed35416d91";
482− };
483− };
484− "has-color-0.1.7" = {
485− name = "has-color";
486− packageName = "has-color";
487− version = "0.1.7";
488− src = fetchurl {
489− url = "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz";
490− sha1 = "67144a5260c34fc3cca677d041daf52fe7b78b2f";
491− };
492− };
493− "hasha-2.2.0" = {
494− name = "hasha";
495− packageName = "hasha";
496− version = "2.2.0";
497− src = fetchurl {
498− url = "https://registry.npmjs.org/hasha/-/hasha-2.2.0.tgz";
499− sha1 = "78d7cbfc1e6d66303fe79837365984517b2f6ee1";
500− };
501− };
502− "http-signature-1.2.0" = {
503− name = "http-signature";
504− packageName = "http-signature";
505− version = "1.2.0";
506− src = fetchurl {
507− url = "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz";
508− sha1 = "9aecd925114772f3d95b65a60abb8f7c18fbace1";
509− };
510− };
511− "inherits-2.0.3" = {
512− name = "inherits";
513− packageName = "inherits";
514− version = "2.0.3";
515− src = fetchurl {
516− url = "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz";
517− sha1 = "633c2c83e3da42a502f52466022480f4208261de";
518− };
519− };
520− "is-buffer-1.1.6" = {
521− name = "is-buffer";
522− packageName = "is-buffer";
523− version = "1.1.6";
524− src = fetchurl {
525− url = "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz";
526− sha512 = "NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==";
527− };
528− };
529− "is-stream-1.1.0" = {
530− name = "is-stream";
531− packageName = "is-stream";
532− version = "1.1.0";
533− src = fetchurl {
534− url = "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz";
535− sha1 = "12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44";
536− };
537− };
538− "is-typedarray-1.0.0" = {
539− name = "is-typedarray";
540− packageName = "is-typedarray";
541− version = "1.0.0";
542− src = fetchurl {
543− url = "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz";
544− sha1 = "e479c80858df0c1b11ddda6940f96011fcda4a9a";
545− };
546− };
547− "isarray-1.0.0" = {
548− name = "isarray";
549− packageName = "isarray";
550− version = "1.0.0";
551− src = fetchurl {
552− url = "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz";
553− sha1 = "bb935d48582cba168c06834957a54a3e07124f11";
554− };
555− };
556− "isexe-2.0.0" = {
557− name = "isexe";
558− packageName = "isexe";
559− version = "2.0.0";
560− src = fetchurl {
561− url = "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz";
562− sha1 = "e8fbf374dc556ff8947a10dcb0572d633f2cfa10";
563− };
564− };
565− "isstream-0.1.2" = {
566− name = "isstream";
567− packageName = "isstream";
568− version = "0.1.2";
569− src = fetchurl {
570− url = "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz";
571− sha1 = "47e63f7af55afa6f92e1500e690eb8b8529c099a";
572− };
573− };
574− "jsbn-0.1.1" = {
575− name = "jsbn";
576− packageName = "jsbn";
577− version = "0.1.1";
578− src = fetchurl {
579− url = "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz";
580− sha1 = "a5e654c2e5a2deb5f201d96cefbca80c0ef2f513";
581− };
582− };
583− "json-schema-0.2.3" = {
584− name = "json-schema";
585− packageName = "json-schema";
586− version = "0.2.3";
587− src = fetchurl {
588− url = "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz";
589− sha1 = "b480c892e59a2f05954ce727bd3f2a4e882f9e13";
590− };
591− };
592− "json-schema-traverse-0.4.1" = {
593− name = "json-schema-traverse";
594− packageName = "json-schema-traverse";
595− version = "0.4.1";
596− src = fetchurl {
597− url = "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz";
598− sha512 = "xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==";
599− };
600− };
601− "json-stringify-safe-5.0.1" = {
602− name = "json-stringify-safe";
603− packageName = "json-stringify-safe";
604− version = "5.0.1";
605− src = fetchurl {
606− url = "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz";
607− sha1 = "1296a2d58fd45f19a0f6ce01d65701e2c735b6eb";
608− };
609− };
610− "json5-1.0.1" = {
611− name = "json5";
612− packageName = "json5";
613− version = "1.0.1";
614− src = fetchurl {
615− url = "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz";
616− sha512 = "aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==";
617− };
618− };
619− "jsonfile-2.4.0" = {
620− name = "jsonfile";
621− packageName = "jsonfile";
622− version = "2.4.0";
623− src = fetchurl {
624− url = "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz";
625− sha1 = "3736a2b428b87bbda0cc83b53fa3d633a35c2ae8";
626− };
627− };
628− "jsprim-1.4.1" = {
629− name = "jsprim";
630− packageName = "jsprim";
631− version = "1.4.1";
632− src = fetchurl {
633− url = "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz";
634− sha1 = "313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2";
635− };
636− };
637− "kew-0.7.0" = {
638− name = "kew";
639− packageName = "kew";
640− version = "0.7.0";
641− src = fetchurl {
642− url = "https://registry.npmjs.org/kew/-/kew-0.7.0.tgz";
643− sha1 = "79d93d2d33363d6fdd2970b335d9141ad591d79b";
644− };
645− };
646− "kind-of-3.2.2" = {
647− name = "kind-of";
648− packageName = "kind-of";
649− version = "3.2.2";
650− src = fetchurl {
651− url = "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz";
652− sha1 = "31ea21a734bab9bbb0f32466d893aea51e4a3c64";
653− };
654− };
655− "klaw-1.3.1" = {
656− name = "klaw";
657− packageName = "klaw";
658− version = "1.3.1";
659− src = fetchurl {
660− url = "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz";
661− sha1 = "4088433b46b3b1ba259d78785d8e96f73ba02439";
662− };
663− };
664− "lazy-cache-1.0.4" = {
665− name = "lazy-cache";
666− packageName = "lazy-cache";
667− version = "1.0.4";
668− src = fetchurl {
669− url = "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz";
670− sha1 = "a1d78fc3a50474cb80845d3b3b6e1da49a446e8e";
671− };
672− };
673− "loader-utils-1.2.3" = {
674− name = "loader-utils";
675− packageName = "loader-utils";
676− version = "1.2.3";
677− src = fetchurl {
678− url = "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz";
679− sha512 = "fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==";
680− };
681− };
682− "longest-1.0.1" = {
683− name = "longest";
684− packageName = "longest";
685− version = "1.0.1";
686− src = fetchurl {
687− url = "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz";
688− sha1 = "30a0b2da38f73770e8294a0d22e6625ed77d0097";
689− };
690− };
691− "magic-string-0.14.0" = {
692− name = "magic-string";
693− packageName = "magic-string";
694− version = "0.14.0";
695− src = fetchurl {
696− url = "https://registry.npmjs.org/magic-string/-/magic-string-0.14.0.tgz";
697− sha1 = "57224aef1701caeed273b17a39a956e72b172462";
698− };
699− };
700− "mime-1.3.6" = {
701− name = "mime";
702− packageName = "mime";
703− version = "1.3.6";
704− src = fetchurl {
705− url = "https://registry.npmjs.org/mime/-/mime-1.3.6.tgz";
706− sha1 = "591d84d3653a6b0b4a3b9df8de5aa8108e72e5e0";
707− };
708− };
709− "mime-db-1.40.0" = {
710− name = "mime-db";
711− packageName = "mime-db";
712− version = "1.40.0";
713− src = fetchurl {
714− url = "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz";
715− sha512 = "jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==";
716− };
717− };
718− "mime-types-2.1.24" = {
719− name = "mime-types";
720− packageName = "mime-types";
721− version = "2.1.24";
722− src = fetchurl {
723− url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz";
724− sha512 = "WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==";
725− };
726− };
727− "minimatch-3.0.4" = {
728− name = "minimatch";
729− packageName = "minimatch";
730− version = "3.0.4";
731− src = fetchurl {
732− url = "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz";
733− sha512 = "yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==";
734− };
735− };
736− "minimist-0.0.8" = {
737− name = "minimist";
738− packageName = "minimist";
739− version = "0.0.8";
740− src = fetchurl {
741− url = "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz";
742− sha1 = "857fcabfc3397d2625b8228262e86aa7a011b05d";
743− };
744− };
745− "minimist-1.2.0" = {
746− name = "minimist";
747− packageName = "minimist";
748− version = "1.2.0";
749− src = fetchurl {
750− url = "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz";
751− sha1 = "a35008b20f41383eec1fb914f4cd5df79a264284";
752− };
753− };
754− "mkdirp-0.5.1" = {
755− name = "mkdirp";
756− packageName = "mkdirp";
757− version = "0.5.1";
758− src = fetchurl {
759− url = "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz";
760− sha1 = "30057438eac6cf7f8c4767f38648d6697d75c903";
761− };
762− };
763− "ms-2.0.0" = {
764− name = "ms";
765− packageName = "ms";
766− version = "2.0.0";
767− src = fetchurl {
768− url = "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz";
769− sha1 = "5608aeadfc00be6c2901df5f9861788de0d597c8";
770− };
771− };
772− "nomnom-1.8.1" = {
773− name = "nomnom";
774− packageName = "nomnom";
775− version = "1.8.1";
776− src = fetchurl {
777− url = "https://registry.npmjs.org/nomnom/-/nomnom-1.8.1.tgz";
778− sha1 = "2151f722472ba79e50a76fc125bb8c8f2e4dc2a7";
779− };
780− };
781− "oauth-sign-0.9.0" = {
782− name = "oauth-sign";
783− packageName = "oauth-sign";
784− version = "0.9.0";
785− src = fetchurl {
786− url = "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz";
787− sha512 = "fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==";
788− };
789− };
790− "os-homedir-1.0.2" = {
791− name = "os-homedir";
792− packageName = "os-homedir";
793− version = "1.0.2";
794− src = fetchurl {
795− url = "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz";
796− sha1 = "ffbc4988336e0e833de0c168c7ef152121aa7fb3";
797− };
798− };
799− "pend-1.2.0" = {
800− name = "pend";
801− packageName = "pend";
802− version = "1.2.0";
803− src = fetchurl {
804− url = "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz";
805− sha1 = "7a57eb550a6783f9115331fcf4663d5c8e007a50";
806− };
807− };
808− "performance-now-2.1.0" = {
809− name = "performance-now";
810− packageName = "performance-now";
811− version = "2.1.0";
812− src = fetchurl {
813− url = "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz";
814− sha1 = "6309f4e0e5fa913ec1c69307ae364b4b377c9e7b";
815− };
816− };
817− "pinkie-2.0.4" = {
818− name = "pinkie";
819− packageName = "pinkie";
820− version = "2.0.4";
821− src = fetchurl {
822− url = "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz";
823− sha1 = "72556b80cfa0d48a974e80e77248e80ed4f7f870";
824− };
825− };
826− "pinkie-promise-2.0.1" = {
827− name = "pinkie-promise";
828− packageName = "pinkie-promise";
829− version = "2.0.1";
830− src = fetchurl {
831− url = "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz";
832− sha1 = "2135d6dfa7a358c069ac9b178776288228450ffa";
833− };
834− };
835− "process-nextick-args-2.0.0" = {
836− name = "process-nextick-args";
837− packageName = "process-nextick-args";
838− version = "2.0.0";
839− src = fetchurl {
840− url = "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz";
841− sha512 = "MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==";
842− };
843− };
844− "progress-1.1.8" = {
845− name = "progress";
846− packageName = "progress";
847− version = "1.1.8";
848− src = fetchurl {
849− url = "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz";
850− sha1 = "e260c78f6161cdd9b0e56cc3e0a85de17c7a57be";
851− };
852− };
853− "psl-1.1.32" = {
854− name = "psl";
855− packageName = "psl";
856− version = "1.1.32";
857− src = fetchurl {
858− url = "https://registry.npmjs.org/psl/-/psl-1.1.32.tgz";
859− sha512 = "MHACAkHpihU/REGGPLj4sEfc/XKW2bheigvHO1dUqjaKigMp1C8+WLQYRGgeKFMsw5PMfegZcaN8IDXK/cD0+g==";
860− };
861− };
862− "punycode-1.4.1" = {
863− name = "punycode";
864− packageName = "punycode";
865− version = "1.4.1";
866− src = fetchurl {
867− url = "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz";
868− sha1 = "c0d5a63b2718800ad8e1eb0fa5269c84dd41845e";
869− };
870− };
871− "punycode-2.1.1" = {
872− name = "punycode";
873− packageName = "punycode";
874− version = "2.1.1";
875− src = fetchurl {
876− url = "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz";
877− sha512 = "XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==";
878− };
879− };
880− "qs-6.5.2" = {
881− name = "qs";
882− packageName = "qs";
883− version = "6.5.2";
884− src = fetchurl {
885− url = "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz";
886− sha512 = "N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==";
887− };
888− };
889− "readable-stream-2.3.6" = {
890− name = "readable-stream";
891− packageName = "readable-stream";
892− version = "2.3.6";
893− src = fetchurl {
894− url = "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz";
895− sha512 = "tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==";
896− };
897− };
898− "repeat-string-1.6.1" = {
899− name = "repeat-string";
900− packageName = "repeat-string";
901− version = "1.6.1";
902− src = fetchurl {
903− url = "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz";
904− sha1 = "8dcae470e1c88abc2d600fff4a776286da75e637";
905− };
906− };
907− "request-2.88.0" = {
908− name = "request";
909− packageName = "request";
910− version = "2.88.0";
911− src = fetchurl {
912− url = "https://registry.npmjs.org/request/-/request-2.88.0.tgz";
913− sha512 = "NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==";
914− };
915− };
916− "request-progress-2.0.1" = {
917− name = "request-progress";
918− packageName = "request-progress";
919− version = "2.0.1";
920− src = fetchurl {
921− url = "https://registry.npmjs.org/request-progress/-/request-progress-2.0.1.tgz";
922− sha1 = "5d36bb57961c673aa5b788dbc8141fdf23b44e08";
923− };
924− };
925− "require-relative-0.8.7" = {
926− name = "require-relative";
927− packageName = "require-relative";
928− version = "0.8.7";
929− src = fetchurl {
930− url = "https://registry.npmjs.org/require-relative/-/require-relative-0.8.7.tgz";
931− sha1 = "7999539fc9e047a37928fa196f8e1563dabd36de";
932− };
933− };
934− "right-align-0.1.3" = {
935− name = "right-align";
936− packageName = "right-align";
937− version = "0.1.3";
938− src = fetchurl {
939− url = "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz";
940− sha1 = "61339b722fe6a3515689210d24e14c96148613ef";
941− };
942− };
943− "rollup-pluginutils-1.5.2" = {
944− name = "rollup-pluginutils";
945− packageName = "rollup-pluginutils";
946− version = "1.5.2";
947− src = fetchurl {
948− url = "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-1.5.2.tgz";
949− sha1 = "1e156e778f94b7255bfa1b3d0178be8f5c552408";
950− };
951− };
952− "safe-buffer-5.1.2" = {
953− name = "safe-buffer";
954− packageName = "safe-buffer";
955− version = "5.1.2";
956− src = fetchurl {
957− url = "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz";
958− sha512 = "Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==";
959− };
960− };
961− "safer-buffer-2.1.2" = {
962− name = "safer-buffer";
963− packageName = "safer-buffer";
964− version = "2.1.2";
965− src = fetchurl {
966− url = "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz";
967− sha512 = "YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==";
968− };
969− };
970− "source-map-0.5.7" = {
971− name = "source-map";
972− packageName = "source-map";
973− version = "0.5.7";
974− src = fetchurl {
975− url = "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz";
976− sha1 = "8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc";
977− };
978− };
979− "source-map-support-0.4.18" = {
980− name = "source-map-support";
981− packageName = "source-map-support";
982− version = "0.4.18";
983− src = fetchurl {
984− url = "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz";
985− sha512 = "try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==";
986− };
987− };
988− "sshpk-1.16.1" = {
989− name = "sshpk";
990− packageName = "sshpk";
991− version = "1.16.1";
992− src = fetchurl {
993− url = "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz";
994− sha512 = "HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==";
995− };
996− };
997− "string_decoder-1.1.1" = {
998− name = "string_decoder";
999− packageName = "string_decoder";
1000− version = "1.1.1";
1001− src = fetchurl {
1002− url = "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz";
1003− sha512 = "n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==";
1004− };
1005− };
1006− "strip-ansi-0.1.1" = {
1007− name = "strip-ansi";
1008− packageName = "strip-ansi";
1009− version = "0.1.1";
1010− src = fetchurl {
1011− url = "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz";
1012− sha1 = "39e8a98d044d150660abe4a6808acf70bb7bc991";
1013− };
1014− };
1015− "strip-ansi-3.0.1" = {
1016− name = "strip-ansi";
1017− packageName = "strip-ansi";
1018− version = "3.0.1";
1019− src = fetchurl {
1020− url = "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz";
1021− sha1 = "6a385fb8853d952d5ff05d0e8aaf94278dc63dcf";
1022− };
1023− };
1024− "supports-color-2.0.0" = {
1025− name = "supports-color";
1026− packageName = "supports-color";
1027− version = "2.0.0";
1028− src = fetchurl {
1029− url = "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz";
1030− sha1 = "535d045ce6b6363fa40117084629995e9df324c7";
1031− };
1032− };
1033− "throttleit-1.0.0" = {
1034− name = "throttleit";
1035− packageName = "throttleit";
1036− version = "1.0.0";
1037− src = fetchurl {
1038− url = "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz";
1039− sha1 = "9e785836daf46743145a5984b6268d828528ac6c";
1040− };
1041− };
1042− "tough-cookie-2.4.3" = {
1043− name = "tough-cookie";
1044− packageName = "tough-cookie";
1045− version = "2.4.3";
1046− src = fetchurl {
1047− url = "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz";
1048− sha512 = "Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==";
1049− };
1050− };
1051− "tunnel-agent-0.6.0" = {
1052− name = "tunnel-agent";
1053− packageName = "tunnel-agent";
1054− version = "0.6.0";
1055− src = fetchurl {
1056− url = "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz";
1057− sha1 = "27a5dea06b36b04a0a9966774b290868f0fc40fd";
1058− };
1059− };
1060− "tweetnacl-0.14.5" = {
1061− name = "tweetnacl";
1062− packageName = "tweetnacl";
1063− version = "0.14.5";
1064− src = fetchurl {
1065− url = "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz";
1066− sha1 = "5ae68177f192d4456269d108afa93ff8743f4f64";
1067− };
1068− };
1069− "typedarray-0.0.6" = {
1070− name = "typedarray";
1071− packageName = "typedarray";
1072− version = "0.0.6";
1073− src = fetchurl {
1074− url = "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz";
1075− sha1 = "867ac74e3864187b1d3d47d996a78ec5c8830777";
1076− };
1077− };
1078− "uglify-to-browserify-1.0.2" = {
1079− name = "uglify-to-browserify";
1080− packageName = "uglify-to-browserify";
1081− version = "1.0.2";
1082− src = fetchurl {
1083− url = "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz";
1084− sha1 = "6e0924d6bda6b5afe349e39a6d632850a0f882b7";
1085− };
1086− };
1087− "underscore-1.6.0" = {
1088− name = "underscore";
1089− packageName = "underscore";
1090− version = "1.6.0";
1091− src = fetchurl {
1092− url = "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz";
1093− sha1 = "8b38b10cacdef63337b8b24e4ff86d45aea529a8";
1094− };
1095− };
1096− "uri-js-4.2.2" = {
1097− name = "uri-js";
1098− packageName = "uri-js";
1099− version = "4.2.2";
1100− src = fetchurl {
1101− url = "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz";
1102− sha512 = "KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==";
1103− };
1104− };
1105− "util-deprecate-1.0.2" = {
1106− name = "util-deprecate";
1107− packageName = "util-deprecate";
1108− version = "1.0.2";
1109− src = fetchurl {
1110− url = "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz";
1111− sha1 = "450d4dc9fa70de732762fbd2d4a28981419a0ccf";
1112− };
1113− };
1114− "uuid-3.3.2" = {
1115− name = "uuid";
1116− packageName = "uuid";
1117− version = "3.3.2";
1118− src = fetchurl {
1119− url = "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz";
1120− sha512 = "yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==";
1121− };
1122− };
1123− "verror-1.10.0" = {
1124− name = "verror";
1125− packageName = "verror";
1126− version = "1.10.0";
1127− src = fetchurl {
1128− url = "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz";
1129− sha1 = "3a105ca17053af55d6e270c1f8288682e18da400";
1130− };
1131− };
1132− "vlq-0.2.3" = {
1133− name = "vlq";
1134− packageName = "vlq";
1135− version = "0.2.3";
1136− src = fetchurl {
1137− url = "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz";
1138− sha512 = "DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==";
1139− };
1140− };
1141− "which-1.3.1" = {
1142− name = "which";
1143− packageName = "which";
1144− version = "1.3.1";
1145− src = fetchurl {
1146− url = "https://registry.npmjs.org/which/-/which-1.3.1.tgz";
1147− sha512 = "HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==";
1148− };
1149− };
1150− "window-size-0.1.0" = {
1151− name = "window-size";
1152− packageName = "window-size";
1153− version = "0.1.0";
1154− src = fetchurl {
1155− url = "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz";
1156− sha1 = "5438cd2ea93b202efa3a19fe8887aee7c94f9c9d";
1157− };
1158− };
1159− "wordwrap-0.0.2" = {
1160− name = "wordwrap";
1161− packageName = "wordwrap";
1162− version = "0.0.2";
1163− src = fetchurl {
1164− url = "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz";
1165− sha1 = "b79669bb42ecb409f83d583cad52ca17eaa1643f";
1166− };
1167− };
1168− "yargs-3.10.0" = {
1169− name = "yargs";
1170− packageName = "yargs";
1171− version = "3.10.0";
1172− src = fetchurl {
1173− url = "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz";
1174− sha1 = "f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1";
1175− };
1176− };
1177− "yauzl-2.4.1" = {
1178− name = "yauzl";
1179− packageName = "yauzl";
1180− version = "2.4.1";
1181− src = fetchurl {
1182− url = "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz";
1183− sha1 = "9528f442dab1b2284e58b4379bb194e22e0c4005";
1184− };
1185− };
1186− };
1187−in
1188−{
1189− "blint-^1" = nodeEnv.buildNodePackage {
1190− name = "blint";
1191− packageName = "blint";
1192− version = "1.0.3";
1193− src = fetchurl {
1194− url = "https://registry.npmjs.org/blint/-/blint-1.0.3.tgz";
1195− sha512 = "6RwH3oJYMujQNd38WWU+jUSRqWfECrmpfL8o3fn3Q3fE9nn5iAktLZJHGEHqeecownbZZwZneTLbaNbIWwU9/A==";
1196− };
1197− dependencies = [
1198− sources."acorn-5.7.3"
1199− sources."ansi-styles-1.0.0"
1200− sources."chalk-0.4.0"
1201− sources."has-color-0.1.7"
1202− sources."nomnom-1.8.1"
1203− sources."strip-ansi-0.1.1"
1204− sources."underscore-1.6.0"
1205− ];
1206− buildInputs = globalBuildInputs;
1207− meta = {
1208− description = "No-ceremony linter";
1209− homepage = http://github.com/marijnh/blint;
1210− };
1211− production = true;
1212− bypassCache = true;
1213− reconstructLock = true;
1214− };
1215− "node-static-0.6.0" = nodeEnv.buildNodePackage {
1216− name = "node-static";
1217− packageName = "node-static";
1218− version = "0.6.0";
1219− src = fetchurl {
1220− url = "https://registry.npmjs.org/node-static/-/node-static-0.6.0.tgz";
1221− sha1 = "e8543a897f3c82048220b39569284d44796eb1e2";
1222− };
1223− buildInputs = globalBuildInputs;
1224− meta = {
1225− description = "simple, compliant file streaming module for node";
1226− license = "MIT";
1227− };
1228− production = true;
1229− bypassCache = true;
1230− reconstructLock = true;
1231− };
1232− "phantomjs-prebuilt-^2.1.12" = nodeEnv.buildNodePackage {
1233− name = "phantomjs-prebuilt";
1234− packageName = "phantomjs-prebuilt";
1235− version = "2.1.16";
1236− src = fetchurl {
1237− url = "https://registry.npmjs.org/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.16.tgz";
1238− sha1 = "efd212a4a3966d3647684ea8ba788549be2aefef";
1239− };
1240− dependencies = [
1241− sources."ajv-6.10.0"
1242− sources."asn1-0.2.4"
1243− sources."assert-plus-1.0.0"
1244− sources."asynckit-0.4.0"
1245− sources."aws-sign2-0.7.0"
1246− sources."aws4-1.8.0"
1247− sources."bcrypt-pbkdf-1.0.2"
1248− sources."buffer-from-1.1.1"
1249− sources."caseless-0.12.0"
1250− sources."combined-stream-1.0.8"
1251− sources."concat-stream-1.6.2"
1252− sources."core-util-is-1.0.2"
1253− sources."dashdash-1.14.1"
1254− sources."debug-2.6.9"
1255− sources."delayed-stream-1.0.0"
1256− sources."ecc-jsbn-0.1.2"
1257− sources."es6-promise-4.2.6"
1258− sources."extend-3.0.2"
1259− sources."extract-zip-1.6.7"
1260− sources."extsprintf-1.3.0"
1261− sources."fast-deep-equal-2.0.1"
1262− sources."fast-json-stable-stringify-2.0.0"
1263− sources."fd-slicer-1.0.1"
1264− sources."forever-agent-0.6.1"
1265− sources."form-data-2.3.3"
1266− sources."fs-extra-1.0.0"
1267− sources."getpass-0.1.7"
1268− sources."graceful-fs-4.1.15"
1269− sources."har-schema-2.0.0"
1270− sources."har-validator-5.1.3"
1271− sources."hasha-2.2.0"
1272− sources."http-signature-1.2.0"
1273− sources."inherits-2.0.3"
1274− sources."is-stream-1.1.0"
1275− sources."is-typedarray-1.0.0"
1276− sources."isarray-1.0.0"
1277− sources."isexe-2.0.0"
1278− sources."isstream-0.1.2"
1279− sources."jsbn-0.1.1"
1280− sources."json-schema-0.2.3"
1281− sources."json-schema-traverse-0.4.1"
1282− sources."json-stringify-safe-5.0.1"
1283− sources."jsonfile-2.4.0"
1284− sources."jsprim-1.4.1"
1285− sources."kew-0.7.0"
1286− sources."klaw-1.3.1"
1287− sources."mime-db-1.40.0"
1288− sources."mime-types-2.1.24"
1289− sources."minimist-0.0.8"
1290− sources."mkdirp-0.5.1"
1291− sources."ms-2.0.0"
1292− sources."oauth-sign-0.9.0"
1293− sources."pend-1.2.0"
1294− sources."performance-now-2.1.0"
1295− sources."pinkie-2.0.4"
1296− sources."pinkie-promise-2.0.1"
1297− sources."process-nextick-args-2.0.0"
1298− sources."progress-1.1.8"
1299− sources."psl-1.1.32"
1300− sources."punycode-2.1.1"
1301− sources."qs-6.5.2"
1302− sources."readable-stream-2.3.6"
1303− sources."request-2.88.0"
1304− sources."request-progress-2.0.1"
1305− sources."safe-buffer-5.1.2"
1306− sources."safer-buffer-2.1.2"
1307− sources."sshpk-1.16.1"
1308− sources."string_decoder-1.1.1"
1309− sources."throttleit-1.0.0"
1310− (sources."tough-cookie-2.4.3" // {
1311− dependencies = [
1312− sources."punycode-1.4.1"
1313− ];
1314− })
1315− sources."tunnel-agent-0.6.0"
1316− sources."tweetnacl-0.14.5"
1317− sources."typedarray-0.0.6"
1318− sources."uri-js-4.2.2"
1319− sources."util-deprecate-1.0.2"
1320− sources."uuid-3.3.2"
1321− sources."verror-1.10.0"
1322− sources."which-1.3.1"
1323− sources."yauzl-2.4.1"
1324− ];
1325− buildInputs = globalBuildInputs;
1326− meta = {
1327− description = "Headless WebKit with JS API";
1328− homepage = https://github.com/Medium/phantomjs;
1329− license = "Apache-2.0";
1330− };
1331− production = true;
1332− bypassCache = true;
1333− reconstructLock = true;
1334− };
1335− "rollup-^0.41.0" = nodeEnv.buildNodePackage {
1336− name = "rollup";
1337− packageName = "rollup";
1338− version = "0.41.6";
1339− src = fetchurl {
1340− url = "https://registry.npmjs.org/rollup/-/rollup-0.41.6.tgz";
1341− sha1 = "e0d05497877a398c104d816d2733a718a7a94e2a";
1342− };
1343− dependencies = [
1344− sources."source-map-0.5.7"
1345− sources."source-map-support-0.4.18"
1346− ];
1347− buildInputs = globalBuildInputs;
1348− meta = {
1349− description = "Next-generation ES6 module bundler";
1350− homepage = https://github.com/rollup/rollup;
1351− license = "MIT";
1352− };
1353− production = true;
1354− bypassCache = true;
1355− reconstructLock = true;
1356− };
1357− "rollup-plugin-buble-^0.15.0" = nodeEnv.buildNodePackage {
1358− name = "rollup-plugin-buble";
1359− packageName = "rollup-plugin-buble";
1360− version = "0.15.0";
1361− src = fetchurl {
1362− url = "https://registry.npmjs.org/rollup-plugin-buble/-/rollup-plugin-buble-0.15.0.tgz";
1363− sha1 = "83c3e89c7fd2266c7918f41ba3980313519c7fd0";
1364− };
1365− dependencies = [
1366− sources."acorn-3.3.0"
1367− sources."acorn-jsx-3.0.1"
1368− sources."acorn-object-spread-1.0.0"
1369− sources."ansi-regex-2.1.1"
1370− sources."ansi-styles-2.2.1"
1371− sources."balanced-match-1.0.0"
1372− sources."brace-expansion-1.1.11"
1373− sources."buble-0.15.2"
1374− sources."chalk-1.1.3"
1375− sources."concat-map-0.0.1"
1376− sources."escape-string-regexp-1.0.5"
1377− sources."estree-walker-0.2.1"
1378− sources."has-ansi-2.0.0"
1379− sources."magic-string-0.14.0"
1380− sources."minimatch-3.0.4"
1381− sources."minimist-1.2.0"
1382− sources."os-homedir-1.0.2"
1383− sources."rollup-pluginutils-1.5.2"
1384− sources."strip-ansi-3.0.1"
1385− sources."supports-color-2.0.0"
1386− sources."vlq-0.2.3"
1387− ];
1388− buildInputs = globalBuildInputs;
1389− meta = {
1390− description = "Compile ES2015 with buble";
1391− homepage = "https://gitlab.com/rich-harris/rollup-plugin-buble#README";
1392− license = "MIT";
1393− };
1394− production = true;
1395− bypassCache = true;
1396− reconstructLock = true;
1397− };
1398− "rollup-watch-^3.2.0" = nodeEnv.buildNodePackage {
1399− name = "rollup-watch";
1400− packageName = "rollup-watch";
1401− version = "3.2.2";
1402− src = fetchurl {
1403− url = "https://registry.npmjs.org/rollup-watch/-/rollup-watch-3.2.2.tgz";
1404− sha1 = "5e574232e9ef36da9177f46946d8080cb267354b";
1405− };
1406− dependencies = [
1407− sources."require-relative-0.8.7"
1408− ];
1409− buildInputs = globalBuildInputs;
1410− meta = {
1411− description = "Watch files for changes and perform incremental rebuilds with Rollup";
1412− homepage = "https://github.com/rollup/rollup-watch#readme";
1413− license = "MIT";
1414− };
1415− production = true;
1416− bypassCache = true;
1417− reconstructLock = true;
1418− };
1419− "uglify-js-^2.8.15" = nodeEnv.buildNodePackage {
1420− name = "uglify-js";
1421− packageName = "uglify-js";
1422− version = "2.8.29";
1423− src = fetchurl {
1424− url = "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz";
1425− sha1 = "29c5733148057bb4e1f75df35b7a9cb72e6a59dd";
1426− };
1427− dependencies = [
1428− sources."align-text-0.1.4"
1429− sources."camelcase-1.2.1"
1430− sources."center-align-0.1.3"
1431− sources."cliui-2.1.0"
1432− sources."decamelize-1.2.0"
1433− sources."is-buffer-1.1.6"
1434− sources."kind-of-3.2.2"
1435− sources."lazy-cache-1.0.4"
1436− sources."longest-1.0.1"
1437− sources."repeat-string-1.6.1"
1438− sources."right-align-0.1.3"
1439− sources."source-map-0.5.7"
1440− sources."uglify-to-browserify-1.0.2"
1441− sources."window-size-0.1.0"
1442− sources."wordwrap-0.0.2"
1443− sources."yargs-3.10.0"
1444− ];
1445− buildInputs = globalBuildInputs;
1446− meta = {
1447− description = "JavaScript parser, mangler/compressor and beautifier toolkit";
1448− homepage = http://lisperator.net/uglifyjs;
1449− license = "BSD-2-Clause";
1450− };
1451− production = true;
1452− bypassCache = true;
1453− reconstructLock = true;
1454− };
1455− "url-loader-^0.5.7" = nodeEnv.buildNodePackage {
1456− name = "url-loader";
1457− packageName = "url-loader";
1458− version = "0.5.9";
1459− src = fetchurl {
1460− url = "https://registry.npmjs.org/url-loader/-/url-loader-0.5.9.tgz";
1461− sha512 = "B7QYFyvv+fOBqBVeefsxv6koWWtjmHaMFT6KZWti4KRw8YUD/hOU+3AECvXuzyVawIBx3z7zQRejXCDSO5kk1Q==";
1462− };
1463− dependencies = [
1464− sources."big.js-5.2.2"
1465− sources."emojis-list-2.1.0"
1466− sources."json5-1.0.1"
1467− sources."loader-utils-1.2.3"
1468− sources."mime-1.3.6"
1469− sources."minimist-1.2.0"
1470− ];
1471− buildInputs = globalBuildInputs;
1472− meta = {
1473− description = "url loader module for webpack";
1474− homepage = "https://github.com/webpack/url-loader#readme";
1475− license = "MIT";
1476− };
1477− production = true;
1478− bypassCache = true;
1479− reconstructLock = true;
1480− };
1481−}
pkgs/servers/web-apps/codimd/CodeMirror/node.nixdeleted−17
@@ -1,17 +0,0 @@
1−# This file has been generated by node2nix 1.7.0. Do not edit!
2−
3−{pkgs ? import <nixpkgs> {
4− inherit system;
5− }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
6−
7−let
8− nodeEnv = import ../../../../development/node-packages/node-env.nix {
9− inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
10− inherit nodejs;
11− libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
12− };
13−in
14−import ./node-packages.nix {
15− inherit (pkgs) fetchurl fetchgit;
16− inherit nodeEnv;
17−}
pkgs/servers/web-apps/codimd/default.nix+59−174
@@ -1,197 +1,82 @@
1−{ stdenv, pkgs, buildEnv, fetchFromGitHub, makeWrapper
2−, fetchpatch, nodejs-8_x, phantomjs2, runtimeShell }:
3−let
4− nodePackages = let
5− # Some packages fail to install with ENOTCACHED due to a mistakenly added
6− # package-lock.json that bundles optional dependencies not resolved with `node2nix.
7− # See also https://github.com/svanderburg/node2nix/issues/134
8− dontInstall = n: v:
9− if builtins.match ".*babel.*" n == null
10− then v
11− else v.override { dontNpmInstall = true; };
12−
13− packages = stdenv.lib.mapAttrs (dontInstall) (
14− import ./node.nix {
15− inherit pkgs;
16− system = stdenv.system;
17− }
18− );
19− in packages // {
20− "js-url-^2.3.0" = packages."js-url-^2.3.0".overrideAttrs (_: {
21− # Don't download chromium (this isn't needed anyway for our case).
22− PUPPETEER_SKIP_CHROMIUM_DOWNLOAD = "1";
23− });
1+{ stdenv, fetchFromGitHub, fetchpatch, makeWrapper
2+, which, nodejs, yarn2nix, python2, phantomjs2 }:
3+
4+yarn2nix.mkYarnPackage rec {
5+ name = "codimd";
6+ version = "1.4.0";
7+
8+ src = fetchFromGitHub {
9+ owner = "codimd";
10+ repo = "server";
11+ rev = version;
12+ sha256 = "0cljgc056p19pjzphwkcfbvgp642w3r6p626w2fl6m5kdk78qd1g";
2413 };
2514
26− addPhantomjs = (pkgs:
27− map (pkg: pkg.override ( oldAttrs: {
28− buildInputs = oldAttrs.buildInputs or [] ++ [ phantomjs2 ];
29− })) pkgs);
30−
31− drvName = drv: (builtins.parseDrvName drv).name;
32−
33− linkNodeDeps = ({ pkg, deps, name ? "" }:
34− let
35− targetModule = if name != "" then name else drvName pkg;
36− in nodePackages.${pkg}.override (oldAttrs: {
37− postInstall = ''
38− mkdir -p $out/lib/node_modules/${targetModule}/node_modules
39− ${stdenv.lib.concatStringsSep "\n" (map (dep: ''
40− ln -s ${nodePackages.${dep}}/lib/node_modules/${drvName dep} \
41− $out/lib/node_modules/${targetModule}/node_modules/${drvName dep}
42− '') deps
43− )}
44− '';
45− })
46− );
47−
48− filterNodePackagesToList = (filterPkgs: allPkgs:
49− stdenv.lib.mapAttrsToList (_: v: v) (
50− stdenv.lib.filterAttrs (n: _:
51− ! builtins.elem (drvName n) filterPkgs
52− ) allPkgs)
53− );
54−
55− # add phantomjs to buildInputs
56− pkgsWithPhantomjs = (addPhantomjs (map (
57− p: nodePackages.${p}
58− ) [
59− "js-url-^2.3.0"
60− "markdown-pdf-^8.0.0"
61− ]));
62−
63− # link extra dependencies to lib/node_modules
64− pkgsWithExtraDeps = map (args:
65− linkNodeDeps args ) [
66− { pkg = "select2-^3.5.2-browserify";
67− deps = [ "url-loader-^0.5.7" ]; }
68− { pkg = "ionicons-~2.0.1";
69− deps = [ "url-loader-^0.5.7" "file-loader-^0.9.0" ]; }
70− { pkg = "font-awesome-^4.7.0";
71− deps = [ "url-loader-^0.5.7" "file-loader-^0.9.0" ]; }
72− { pkg = "bootstrap-^3.3.7";
73− deps = [ "url-loader-^0.5.7" "file-loader-^0.9.0" ]; }
74− { pkg = "markdown-it-^8.2.2";
75− deps = [ "json-loader-^0.5.4" ]; }
76− { pkg = "markdown-it-emoji-^1.3.0";
77− deps = [ "json-loader-^0.5.4" ]; }
78− { pkg = "raphael-git+https://github.com/dmitrybaranovskiy/raphael";
79− deps = [ "eve-^0.5.4" ];
80− name = "raphael"; }
81− ];
82−
83− codemirror = pkgs.callPackage ./CodeMirror { };
84−
85− nodeEnv = buildEnv {
86− name = "codimd-env";
87− paths = pkgsWithPhantomjs ++ pkgsWithExtraDeps ++ [
88− codemirror
89−
90− # `js-sequence-diagrams` has been removed from the registry
91− # and replaced by a security holding package (the tarballs weren't published by
92− # upstream as upstream only supports bower,
93− # see https://github.com/bramp/js-sequence-diagrams/issues/212).
94− #
95− # As the tarballs are still there, we build this manually for now until codimd's upstream
96− # has resolved the issue.
97− (import ./js-sequence-diagrams {
98− inherit pkgs;
99− nodejs = nodejs-8_x;
100− extraNodePackages = {
101− lodash = nodePackages."lodash-^4.17.4";
102− eve = nodePackages."eve-^0.5.4";
103− };
104− })
105− ] ++ filterNodePackagesToList [
106− "bootstrap"
107− "codemirror-git+https://github.com/hackmdio/CodeMirror.git"
108− "font-awesome"
109− "ionicons"
110− "js-url"
111− "markdown-it"
112− "markdown-pdf"
113− "node-uuid"
114− "raphael-git+https://github.com/dmitrybaranovskiy/raphael"
115− "select2-browserify"
116− "url-loader"
117− ] nodePackages;
118− };
15+ nativeBuildInputs = [ which makeWrapper ];
16+ extraBuildInputs = [ python2 phantomjs2 ];
11917
120− name = "codimd-${version}";
121− version = "1.2.0";
18+ yarnNix = ./yarn.nix;
19+ yarnLock = ./yarn.lock;
20+ packageJSON = ./package.json;
12221
123− src = stdenv.mkDerivation {
124− name = "${name}-src";
125− inherit version;
22+ postConfigure = ''
23+ rm deps/CodiMD/node_modules
24+ cp -R "$node_modules" deps/CodiMD
25+ chmod -R u+w deps/CodiMD
26+ '';
12627
127− src = fetchFromGitHub {
128− owner = "hackmdio";
129− repo = "codimd";
130− rev = version;
131− sha256 = "003v90g5sxxjv5smxvz6y6bq2ny0xpxhsx2cdgkvj7jla243v48s";
132− };
28+ buildPhase = ''
29+ runHook preBuild
13330
134− dontBuild = true;
31+ cd deps/CodiMD
13532
136− installPhase = ''
137− mkdir $out
138− cp -R . $out
139− '';
140− };
141−in
142−stdenv.mkDerivation rec {
143− inherit name version src;
144−
145− nativeBuildInputs = [ makeWrapper ];
146− buildInputs = [ nodejs-8_x ];
147−
148− NODE_PATH = "${nodeEnv}/lib/node_modules";
149−
150− patches = [
151− (fetchpatch { # fixes for configurable paths
152− url = "https://patch-diff.githubusercontent.com/raw/hackmdio/codimd/pull/940.patch";
153− sha256 = "0w1cvnp3k1n8690gzlrfijisn182i0v8psjs3df394rfx2347xyp";
154− })
155− ];
156−
157− postPatch = ''
158− # due to the `dontNpmInstall` workaround, `node_modules/.bin` isn't created anymore.
159− substituteInPlace package.json \
160− --replace "webpack --config" "${nodejs-8_x}/bin/node ./node_modules/webpack/bin/webpack.js --config"
161− '';
33+ pushd node_modules/codemirror
34+ npm run install
35+ popd
36+
37+ pushd node_modules/sqlite3
38+ export OLD_HOME="$HOME"
39+ export HOME="$PWD"
40+ mkdir -p .node-gyp/${nodejs.version}
41+ echo 9 > .node-gyp/${nodejs.version}/installVersion
42+ ln -s ${nodejs}/include .node-gyp/${nodejs.version}
43+ npm run install
44+ export HOME="$OLD_HOME"
45+ unset OLD_HOME
46+ popd
47+
48+ pushd node_modules/phantomjs-prebuilt
49+ npm run install
50+ popd
16251
163− buildPhase = ''
164− ln -s ${nodeEnv}/lib/node_modules node_modules
16552 npm run build
53+
54+ runHook postBuild
16655 '';
16756
168− installPhase = ''
169− mkdir -p $out/bin
57+ dontInstall = true;
58+
59+ distPhase = ''
60+ runHook preDist
61+
62+ mkdir -p $out
63+ cp -R {app.js,bin,lib,locales,node_modules,package.json,public} $out
64+
17065 cat > $out/bin/codimd <<EOF
171− #!${runtimeShell}
172− ${nodejs-8_x}/bin/node $out/app.js
66+ #!${stdenv.shell}/bin/sh
67+ ${nodejs}/bin/node $out/app.js
17368 EOF
174− cp -R {app.js,bin,lib,locales,package.json,public} $out/
175− '';
176−
177− postFixup = ''
17869 chmod +x $out/bin/codimd
17970 wrapProgram $out/bin/codimd \
180− --set NODE_PATH "${nodeEnv}/lib/node_modules"
181− '';
71+ --set NODE_PATH "$out/lib/node_modules"
18272
183− passthru = {
184− sequelize = pkgs.writeScript "codimd-sequelize" ''
185− #!${pkgs.bash}/bin/bash -e
186− export NODE_PATH="${nodeEnv}/lib/node_modules"
187− exec -a "$0" "${nodeEnv}/lib/node_modules/sequelize-cli/bin/sequelize" "$@"
188− '';
189− };
73+ runHook postDist
74+ '';
19075
19176 meta = with stdenv.lib; {
19277 description = "Realtime collaborative markdown notes on all platforms";
19378 license = licenses.agpl3;
194− homepage = https://github.com/hackmdio/codimd;
79+ homepage = "https://github.com/codimd/server";
19580 maintainers = with maintainers; [ willibutz ma27 ];
19681 platforms = platforms.linux;
19782 };
pkgs/servers/web-apps/codimd/deps.jsondeleted−149
@@ -1,149 +0,0 @@
1−[ { "eve": "^0.5.4" }
2−
3−, { "babel-cli": "^6.18.0" }
4−, { "babel-core": "^6.21.0" }
5−, { "babel-loader": "^6.2.10" }
6−, { "babel-plugin-transform-runtime": "^6.15.0" }
7−, { "babel-polyfill": "^6.22.0" }
8−, { "babel-preset-es2015": "^6.18.0" }
9−, { "babel-runtime": "^6.20.0" }
10−, { "copy-webpack-plugin": "^4.0.1" }
11−, { "css-loader": "^0.26.1" }
12−, { "doctoc": "^1.3.0" }
13−, { "ejs-loader": "^0.3.0" }
14−, { "exports-loader": "^0.6.3" }
15−, { "expose": "^0.1.4" }
16−, { "expose-loader": "^0.7.1" }
17−, { "extract-text-webpack-plugin": "^1.0.1" }
18−, { "file-loader": "^0.9.0" }
19−, { "html-webpack-plugin": "^2.25.0" }
20−, { "imports-loader": "^0.7.0" }
21−, { "json-loader": "^0.5.4" }
22−, { "jsonlint": "^1.6.2" }
23−, { "less": "^2.7.1" }
24−, { "less-loader": "^2.2.3" }
25−, { "optimize-css-assets-webpack-plugin": "^1.3.0" }
26−, { "script-loader": "^0.7.0" }
27−, { "standard": "^9.0.1" }
28−, { "string-loader": "^0.0.1" }
29−, { "style-loader": "^0.13.1" }
30−, { "url-loader": "^0.5.7" }
31−, { "webpack": "^1.14.0" }
32−, { "webpack-parallel-uglify-plugin": "^0.2.0" }
33−
34−, { "Idle.Js": "git+https://github.com/shawnmclean/Idle.js" }
35−, { "archiver": "^2.1.1" }
36−, { "async": "^2.1.4" }
37−, { "aws-sdk": "^2.7.20" }
38−, { "base64url": "^3.0.0" }
39−, { "azure-storage": "^2.7.0" }
40−, { "blueimp-md5": "^2.6.0" }
41−, { "body-parser": "^1.15.2" }
42−, { "bootstrap": "^3.3.7" }
43−, { "bootstrap-validator": "^0.11.8" }
44−, { "chance": "^1.0.4" }
45−, { "cheerio": "^0.22.0" }
46−, { "codemirror": "git+https://github.com/hackmdio/CodeMirror.git" }
47−, { "compression": "^1.6.2" }
48−, { "connect-flash": "^0.1.1" }
49−, { "connect-session-sequelize": "^4.1.0" }
50−, { "cookie": "0.3.1" }
51−, { "cookie-parser": "1.4.3" }
52−, { "deep-freeze": "^0.0.1" }
53−, { "diff-match-patch": "git+https://github.com/hackmdio/diff-match-patch.git" }
54−, { "ejs": "^2.5.5" }
55−, { "emojify.js": "~1.1.0" }
56−, { "express": ">=4.14" }
57−, { "express-session": "^1.14.2" }
58−, { "file-saver": "^1.3.3" }
59−, { "flowchart.js": "^1.6.4" }
60−, { "font-awesome": "^4.7.0" }
61−, { "formidable": "^1.0.17" }
62−, { "gist-embed": "~2.6.0" }
63−, { "graceful-fs": "^4.1.11" }
64−, { "handlebars": "^4.0.6" }
65−, { "helmet": "^3.3.0" }
66−, { "highlight.js": "~9.12.0" }
67−, { "i18n": "^0.8.3" }
68−, { "imgur": "git+https://github.com/hackmdio/node-imgur.git" }
69−, { "ionicons": "~2.0.1" }
70−, { "jquery": "^3.1.1" }
71−, { "jquery-mousewheel": "^3.1.13" }
72−, { "jquery-ui": "^1.12.1" }
73−, { "js-cookie": "^2.1.3" }
74−, { "js-url": "^2.3.0" }
75−, { "js-yaml": "^3.7.0" }
76−, { "jsdom-nogyp": "^0.8.3" }
77−, { "keymaster": "^1.6.2" }
78−, { "list.js": "^1.5.0" }
79−, { "lodash": "^4.17.4" }
80−, { "lz-string": "1.4.4" }
81−, { "markdown-it": "^8.2.2" }
82−, { "markdown-it-abbr": "^1.0.4" }
83−, { "markdown-it-container": "^2.0.0" }
84−, { "markdown-it-deflist": "^2.0.1" }
85−, { "markdown-it-emoji": "^1.3.0" }
86−, { "markdown-it-footnote": "^3.0.1" }
87−, { "markdown-it-imsize": "^2.0.1" }
88−, { "markdown-it-ins": "^2.0.0" }
89−, { "markdown-it-mark": "^2.0.0" }
90−, { "markdown-it-mathjax": "^2.0.0" }
91−, { "markdown-it-regexp": "^0.4.0" }
92−, { "markdown-it-sub": "^1.0.0" }
93−, { "markdown-it-sup": "^1.0.0" }
94−, { "markdown-pdf": "^8.0.0" }
95−, { "mathjax": "~2.7.0" }
96−, { "mermaid": "~7.1.0" }
97−, { "mattermost": "^3.4.0" }
98−, { "meta-marked": "^0.4.2" }
99−, { "method-override": "^2.3.7" }
100−, { "minimist": "^1.2.0" }
101−, { "minio": "^6.0.0" }
102−, { "moment": "^2.17.1" }
103−, { "morgan": "^1.7.0" }
104−, { "mysql": "^2.12.0" }
105−, { "node-uuid": "^1.4.7" }
106−, { "octicons": "~4.4.0" }
107−, { "passport": "^0.4.0" }
108−, { "passport-dropbox-oauth2": "^1.1.0" }
109−, { "passport-facebook": "^2.1.1" }
110−, { "passport-github": "^1.1.0" }
111−, { "passport-gitlab2": "^4.0.0" }
112−, { "passport-google-oauth20": "^1.0.0" }
113−, { "passport-ldapauth": "^2.0.0" }
114−, { "passport-local": "^1.0.0" }
115−, { "passport-oauth2": "^1.4.0" }
116−, { "passport-twitter": "^1.0.4" }
117−, { "passport-saml": "^0.31.0" }
118−, { "passport.socketio": "^3.7.0" }
119−, { "pdfobject": "^2.0.201604172" }
120−, { "pg": "^6.1.2" }
121−, { "pg-hstore": "^2.3.2" }
122−, { "prismjs": "^1.6.0" }
123−, { "randomcolor": "^0.5.3" }
124−, { "raphael": "git+https://github.com/dmitrybaranovskiy/raphael" }
125−, { "readline-sync": "^1.4.7" }
126−, { "request": "^2.79.0" }
127−, { "reveal.js": "~3.6.0" }
128−, { "scrypt": "^6.0.3" }
129−, { "select2": "^3.5.2-browserify" }
130−, { "sequelize": "^3.28.0" }
131−, { "sequelize-cli": "^2.5.1" }
132−, { "shortid": "2.2.8" }
133−, { "socket.io": "~2.0.4" }
134−, { "socket.io-client": "~2.0.4" }
135−, { "spin.js": "^2.3.2" }
136−, { "sqlite3": "^4.0.1" }
137−, { "store": "^2.0.12" }
138−, { "string": "^3.3.3" }
139−, { "tedious": "^1.14.0" }
140−, { "to-markdown": "^3.0.3" }
141−, { "toobusy-js": "^0.5.1" }
142−, { "uuid": "^3.1.0" }
143−, { "uws": "~0.14.1" }
144−, { "validator": "^10.4.0" }
145−, { "velocity-animate": "^1.4.0" }
146−, { "visibilityjs": "^1.2.4" }
147−, { "viz.js": "^1.7.0" }
148−, { "winston": "^2.3.0" }
149−, { "xss": "^1.0.3" } ]
pkgs/servers/web-apps/codimd/generate.shdeleted−7
@@ -1,7 +0,0 @@
1−#!/usr/bin/env nix-shell
2−#! nix-shell -i bash -p nodePackages.node2nix
3−
4−node2nix -8 -i deps.json \
5− -e ../../../development/node-packages/node-env.nix \
6− --no-copy-node-env \
7− -c node.nix
pkgs/servers/web-apps/codimd/js-sequence-diagrams/default.nixdeleted−33
@@ -1,33 +0,0 @@
1−{ pkgs, nodejs, extraNodePackages }:
2−
3−let
4− nodeEnv = import ../../../../development/node-packages/node-env.nix {
5− inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
6− inherit nodejs;
7− libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
8− };
9−in
10− nodeEnv.buildNodePackage {
11− name = "js-sequence-diagrams";
12− packageName = "js-sequence-diagrams";
13− version = "1000000.0.6";
14− src = pkgs.fetchFromGitHub {
15− owner = "Moeditor";
16− repo = "js-sequence-diagrams";
17− rev = "4d46bc6229a3f93c9bcad561cab4924034f5456d";
18− sha256 = "09ri5cx5yq87p3nla06gs0xb2gifmsy0xhs0s5524xr4ya6pnivv";
19− };
20− dependencies = [ ];
21− dontNpmInstall = true;
22− meta = {
23− description = "Fucks NPM and draws simple SVG sequence diagrams from textual representation of the diagram";
24− homepage = "https://github.com/Moeditor/js-sequence-diagrams#readme";
25− license = "BSD-2-Clause";
26− };
27− production = true;
28− bypassCache = true;
29−
30− postInstall = builtins.concatStringsSep "\n" (pkgs.lib.mapAttrsToList (
31− name: pkg: "ln -s ${pkg}/lib/node_modules/${name} $out/lib/node_modules/${name}"
32− ) extraNodePackages);
33− }
pkgs/servers/web-apps/codimd/node-packages.nixdeleted−18775

This diff is too big to show here.

pkgs/servers/web-apps/codimd/node.nixdeleted−17

This diff is too big to show here.

pkgs/servers/web-apps/codimd/package.jsonnew file+211

This diff is too big to show here.

pkgs/servers/web-apps/codimd/yarn.locknew file+10951

This diff is too big to show here.

pkgs/servers/web-apps/codimd/yarn.nixnew file+12109

This diff is too big to show here.

pkgs/top-level/all-packages.nix+7−1

This diff is too big to show here.