diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-09 10:03:16 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-09 10:56:07 +0200 |
commit | 1247e537b0c8e5ed780ab890cbce4612714a0fa7 (patch) | |
tree | c5160a45367b8c7dd4f8b5d9162d908517da041e /pkgs/webapps/etherpad-lite/modules/ep_ldapauth | |
parent | 803d2d9f35005f10eb43e4568b7f0444d3f9d6aa (diff) | |
download | Nix-1247e537b0c8e5ed780ab890cbce4612714a0fa7.tar.gz Nix-1247e537b0c8e5ed780ab890cbce4612714a0fa7.tar.zst Nix-1247e537b0c8e5ed780ab890cbce4612714a0fa7.zip |
Make etherpad derivation pure
It also moves .ep_initialized to /var/lib to allow proper
initialization.
Diffstat (limited to 'pkgs/webapps/etherpad-lite/modules/ep_ldapauth')
-rw-r--r-- | pkgs/webapps/etherpad-lite/modules/ep_ldapauth/node-packages.json | 1 | ||||
-rw-r--r-- | pkgs/webapps/etherpad-lite/modules/ep_ldapauth/node-packages.nix | 388 |
2 files changed, 389 insertions, 0 deletions
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_ldapauth/node-packages.json b/pkgs/webapps/etherpad-lite/modules/ep_ldapauth/node-packages.json new file mode 100644 index 0000000..cacc12a --- /dev/null +++ b/pkgs/webapps/etherpad-lite/modules/ep_ldapauth/node-packages.json | |||
@@ -0,0 +1 @@ | |||
[ "ep_ldapauth" ] | |||
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_ldapauth/node-packages.nix b/pkgs/webapps/etherpad-lite/modules/ep_ldapauth/node-packages.nix new file mode 100644 index 0000000..d294a8f --- /dev/null +++ b/pkgs/webapps/etherpad-lite/modules/ep_ldapauth/node-packages.nix | |||
@@ -0,0 +1,388 @@ | |||
1 | # This file has been generated by node2nix 1.6.0. Do not edit! | ||
2 | |||
3 | {nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}: | ||
4 | |||
5 | let | ||
6 | sources = { | ||
7 | "asn1-0.2.3" = { | ||
8 | name = "asn1"; | ||
9 | packageName = "asn1"; | ||
10 | version = "0.2.3"; | ||
11 | src = fetchurl { | ||
12 | url = "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz"; | ||
13 | sha1 = "dac8787713c9966849fc8180777ebe9c1ddf3b86"; | ||
14 | }; | ||
15 | }; | ||
16 | "assert-plus-0.1.5" = { | ||
17 | name = "assert-plus"; | ||
18 | packageName = "assert-plus"; | ||
19 | version = "0.1.5"; | ||
20 | src = fetchurl { | ||
21 | url = "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz"; | ||
22 | sha1 = "ee74009413002d84cec7219c6ac811812e723160"; | ||
23 | }; | ||
24 | }; | ||
25 | "assert-plus-1.0.0" = { | ||
26 | name = "assert-plus"; | ||
27 | packageName = "assert-plus"; | ||
28 | version = "1.0.0"; | ||
29 | src = fetchurl { | ||
30 | url = "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz"; | ||
31 | sha1 = "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"; | ||
32 | }; | ||
33 | }; | ||
34 | "async-stacktrace-0.0.2" = { | ||
35 | name = "async-stacktrace"; | ||
36 | packageName = "async-stacktrace"; | ||
37 | version = "0.0.2"; | ||
38 | src = fetchurl { | ||
39 | url = "https://registry.npmjs.org/async-stacktrace/-/async-stacktrace-0.0.2.tgz"; | ||
40 | sha1 = "8bbb9787e3b38c836c729a7e9d7c08630db5d1ef"; | ||
41 | }; | ||
42 | }; | ||
43 | "backoff-2.5.0" = { | ||
44 | name = "backoff"; | ||
45 | packageName = "backoff"; | ||
46 | version = "2.5.0"; | ||
47 | src = fetchurl { | ||
48 | url = "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz"; | ||
49 | sha1 = "f616eda9d3e4b66b8ca7fca79f695722c5f8e26f"; | ||
50 | }; | ||
51 | }; | ||
52 | "balanced-match-1.0.0" = { | ||
53 | name = "balanced-match"; | ||
54 | packageName = "balanced-match"; | ||
55 | version = "1.0.0"; | ||
56 | src = fetchurl { | ||
57 | url = "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz"; | ||
58 | sha1 = "89b4d199ab2bee49de164ea02b89ce462d71b767"; | ||
59 | }; | ||
60 | }; | ||
61 | "brace-expansion-1.1.11" = { | ||
62 | name = "brace-expansion"; | ||
63 | packageName = "brace-expansion"; | ||
64 | version = "1.1.11"; | ||
65 | src = fetchurl { | ||
66 | url = "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz"; | ||
67 | sha512 = "iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA=="; | ||
68 | }; | ||
69 | }; | ||
70 | "bunyan-1.8.12" = { | ||
71 | name = "bunyan"; | ||
72 | packageName = "bunyan"; | ||
73 | version = "1.8.12"; | ||
74 | src = fetchurl { | ||
75 | url = "https://registry.npmjs.org/bunyan/-/bunyan-1.8.12.tgz"; | ||
76 | sha1 = "f150f0f6748abdd72aeae84f04403be2ef113797"; | ||
77 | }; | ||
78 | }; | ||
79 | "concat-map-0.0.1" = { | ||
80 | name = "concat-map"; | ||
81 | packageName = "concat-map"; | ||
82 | version = "0.0.1"; | ||
83 | src = fetchurl { | ||
84 | url = "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"; | ||
85 | sha1 = "d8a96bd77fd68df7793a73036a3ba0d5405d477b"; | ||
86 | }; | ||
87 | }; | ||
88 | "core-util-is-1.0.2" = { | ||
89 | name = "core-util-is"; | ||
90 | packageName = "core-util-is"; | ||
91 | version = "1.0.2"; | ||
92 | src = fetchurl { | ||
93 | url = "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"; | ||
94 | sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7"; | ||
95 | }; | ||
96 | }; | ||
97 | "dashdash-1.14.1" = { | ||
98 | name = "dashdash"; | ||
99 | packageName = "dashdash"; | ||
100 | version = "1.14.1"; | ||
101 | src = fetchurl { | ||
102 | url = "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz"; | ||
103 | sha1 = "853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"; | ||
104 | }; | ||
105 | }; | ||
106 | "dtrace-provider-0.7.1" = { | ||
107 | name = "dtrace-provider"; | ||
108 | packageName = "dtrace-provider"; | ||
109 | version = "0.7.1"; | ||
110 | src = fetchurl { | ||
111 | url = "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.7.1.tgz"; | ||
112 | sha1 = "c06b308f2f10d5d5838aec9c571e5d588dc71d04"; | ||
113 | }; | ||
114 | }; | ||
115 | "dtrace-provider-0.8.7" = { | ||
116 | name = "dtrace-provider"; | ||
117 | packageName = "dtrace-provider"; | ||
118 | version = "0.8.7"; | ||
119 | src = fetchurl { | ||
120 | url = "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.8.7.tgz"; | ||
121 | sha1 = "dc939b4d3e0620cfe0c1cd803d0d2d7ed04ffd04"; | ||
122 | }; | ||
123 | }; | ||
124 | "extsprintf-1.2.0" = { | ||
125 | name = "extsprintf"; | ||
126 | packageName = "extsprintf"; | ||
127 | version = "1.2.0"; | ||
128 | src = fetchurl { | ||
129 | url = "https://registry.npmjs.org/extsprintf/-/extsprintf-1.2.0.tgz"; | ||
130 | sha1 = "5ad946c22f5b32ba7f8cd7426711c6e8a3fc2529"; | ||
131 | }; | ||
132 | }; | ||
133 | "glob-6.0.4" = { | ||
134 | name = "glob"; | ||
135 | packageName = "glob"; | ||
136 | version = "6.0.4"; | ||
137 | src = fetchurl { | ||
138 | url = "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz"; | ||
139 | sha1 = "0f08860f6a155127b2fadd4f9ce24b1aab6e4d22"; | ||
140 | }; | ||
141 | }; | ||
142 | "inflight-1.0.6" = { | ||
143 | name = "inflight"; | ||
144 | packageName = "inflight"; | ||
145 | version = "1.0.6"; | ||
146 | src = fetchurl { | ||
147 | url = "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz"; | ||
148 | sha1 = "49bd6331d7d02d0c09bc910a1075ba8165b56df9"; | ||
149 | }; | ||
150 | }; | ||
151 | "inherits-2.0.3" = { | ||
152 | name = "inherits"; | ||
153 | packageName = "inherits"; | ||
154 | version = "2.0.3"; | ||
155 | src = fetchurl { | ||
156 | url = "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz"; | ||
157 | sha1 = "633c2c83e3da42a502f52466022480f4208261de"; | ||
158 | }; | ||
159 | }; | ||
160 | "ldap-filter-0.2.2" = { | ||
161 | name = "ldap-filter"; | ||
162 | packageName = "ldap-filter"; | ||
163 | version = "0.2.2"; | ||
164 | src = fetchurl { | ||
165 | url = "https://registry.npmjs.org/ldap-filter/-/ldap-filter-0.2.2.tgz"; | ||
166 | sha1 = "f2b842be0b86da3352798505b31ebcae590d77d0"; | ||
167 | }; | ||
168 | }; | ||
169 | "ldapjs-1.0.1" = { | ||
170 | name = "ldapjs"; | ||
171 | packageName = "ldapjs"; | ||
172 | version = "1.0.1"; | ||
173 | src = fetchurl { | ||
174 | url = "https://registry.npmjs.org/ldapjs/-/ldapjs-1.0.1.tgz"; | ||
175 | sha1 = "352b812ae74b0a8e96549a4b896060eee1b9a546"; | ||
176 | }; | ||
177 | }; | ||
178 | "minimatch-3.0.4" = { | ||
179 | name = "minimatch"; | ||
180 | packageName = "minimatch"; | ||
181 | version = "3.0.4"; | ||
182 | src = fetchurl { | ||
183 | url = "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz"; | ||
184 | sha512 = "yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA=="; | ||
185 | }; | ||
186 | }; | ||
187 | "minimist-0.0.8" = { | ||
188 | name = "minimist"; | ||
189 | packageName = "minimist"; | ||
190 | version = "0.0.8"; | ||
191 | src = fetchurl { | ||
192 | url = "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz"; | ||
193 | sha1 = "857fcabfc3397d2625b8228262e86aa7a011b05d"; | ||
194 | }; | ||
195 | }; | ||
196 | "mkdirp-0.5.1" = { | ||
197 | name = "mkdirp"; | ||
198 | packageName = "mkdirp"; | ||
199 | version = "0.5.1"; | ||
200 | src = fetchurl { | ||
201 | url = "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz"; | ||
202 | sha1 = "30057438eac6cf7f8c4767f38648d6697d75c903"; | ||
203 | }; | ||
204 | }; | ||
205 | "moment-2.24.0" = { | ||
206 | name = "moment"; | ||
207 | packageName = "moment"; | ||
208 | version = "2.24.0"; | ||
209 | src = fetchurl { | ||
210 | url = "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz"; | ||
211 | sha512 = "bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="; | ||
212 | }; | ||
213 | }; | ||
214 | "mv-2.1.1" = { | ||
215 | name = "mv"; | ||
216 | packageName = "mv"; | ||
217 | version = "2.1.1"; | ||
218 | src = fetchurl { | ||
219 | url = "https://registry.npmjs.org/mv/-/mv-2.1.1.tgz"; | ||
220 | sha1 = "ae6ce0d6f6d5e0a4f7d893798d03c1ea9559b6a2"; | ||
221 | }; | ||
222 | }; | ||
223 | "nan-2.13.2" = { | ||
224 | name = "nan"; | ||
225 | packageName = "nan"; | ||
226 | version = "2.13.2"; | ||
227 | src = fetchurl { | ||
228 | url = "https://registry.npmjs.org/nan/-/nan-2.13.2.tgz"; | ||
229 | sha512 = "TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw=="; | ||
230 | }; | ||
231 | }; | ||
232 | "ncp-2.0.0" = { | ||
233 | name = "ncp"; | ||
234 | packageName = "ncp"; | ||
235 | version = "2.0.0"; | ||
236 | src = fetchurl { | ||
237 | url = "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz"; | ||
238 | sha1 = "195a21d6c46e361d2fb1281ba38b91e9df7bdbb3"; | ||
239 | }; | ||
240 | }; | ||
241 | "once-1.4.0" = { | ||
242 | name = "once"; | ||
243 | packageName = "once"; | ||
244 | version = "1.4.0"; | ||
245 | src = fetchurl { | ||
246 | url = "https://registry.npmjs.org/once/-/once-1.4.0.tgz"; | ||
247 | sha1 = "583b1aa775961d4b113ac17d9c50baef9dd76bd1"; | ||
248 | }; | ||
249 | }; | ||
250 | "path-is-absolute-1.0.1" = { | ||
251 | name = "path-is-absolute"; | ||
252 | packageName = "path-is-absolute"; | ||
253 | version = "1.0.1"; | ||
254 | src = fetchurl { | ||
255 | url = "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz"; | ||
256 | sha1 = "174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"; | ||
257 | }; | ||
258 | }; | ||
259 | "precond-0.2.3" = { | ||
260 | name = "precond"; | ||
261 | packageName = "precond"; | ||
262 | version = "0.2.3"; | ||
263 | src = fetchurl { | ||
264 | url = "https://registry.npmjs.org/precond/-/precond-0.2.3.tgz"; | ||
265 | sha1 = "aa9591bcaa24923f1e0f4849d240f47efc1075ac"; | ||
266 | }; | ||
267 | }; | ||
268 | "rimraf-2.4.5" = { | ||
269 | name = "rimraf"; | ||
270 | packageName = "rimraf"; | ||
271 | version = "2.4.5"; | ||
272 | src = fetchurl { | ||
273 | url = "https://registry.npmjs.org/rimraf/-/rimraf-2.4.5.tgz"; | ||
274 | sha1 = "ee710ce5d93a8fdb856fb5ea8ff0e2d75934b2da"; | ||
275 | }; | ||
276 | }; | ||
277 | "safe-json-stringify-1.2.0" = { | ||
278 | name = "safe-json-stringify"; | ||
279 | packageName = "safe-json-stringify"; | ||
280 | version = "1.2.0"; | ||
281 | src = fetchurl { | ||
282 | url = "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz"; | ||
283 | sha512 = "gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg=="; | ||
284 | }; | ||
285 | }; | ||
286 | "vasync-1.6.4" = { | ||
287 | name = "vasync"; | ||
288 | packageName = "vasync"; | ||
289 | version = "1.6.4"; | ||
290 | src = fetchurl { | ||
291 | url = "https://registry.npmjs.org/vasync/-/vasync-1.6.4.tgz"; | ||
292 | sha1 = "dfe93616ad0e7ae801b332a9d88bfc5cdc8e1d1f"; | ||
293 | }; | ||
294 | }; | ||
295 | "verror-1.10.0" = { | ||
296 | name = "verror"; | ||
297 | packageName = "verror"; | ||
298 | version = "1.10.0"; | ||
299 | src = fetchurl { | ||
300 | url = "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz"; | ||
301 | sha1 = "3a105ca17053af55d6e270c1f8288682e18da400"; | ||
302 | }; | ||
303 | }; | ||
304 | "verror-1.6.0" = { | ||
305 | name = "verror"; | ||
306 | packageName = "verror"; | ||
307 | version = "1.6.0"; | ||
308 | src = fetchurl { | ||
309 | url = "https://registry.npmjs.org/verror/-/verror-1.6.0.tgz"; | ||
310 | sha1 = "7d13b27b1facc2e2da90405eb5ea6e5bdd252ea5"; | ||
311 | }; | ||
312 | }; | ||
313 | "wrappy-1.0.2" = { | ||
314 | name = "wrappy"; | ||
315 | packageName = "wrappy"; | ||
316 | version = "1.0.2"; | ||
317 | src = fetchurl { | ||
318 | url = "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"; | ||
319 | sha1 = "b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"; | ||
320 | }; | ||
321 | }; | ||
322 | }; | ||
323 | in | ||
324 | { | ||
325 | ep_ldapauth = nodeEnv.buildNodePackage { | ||
326 | name = "ep_ldapauth"; | ||
327 | packageName = "ep_ldapauth"; | ||
328 | version = "0.3.0"; | ||
329 | src = fetchurl { | ||
330 | url = "https://registry.npmjs.org/ep_ldapauth/-/ep_ldapauth-0.3.0.tgz"; | ||
331 | sha1 = "8b34ea34b20ae97d53d753cc7d1f6f191800e3b0"; | ||
332 | }; | ||
333 | dependencies = [ | ||
334 | sources."asn1-0.2.3" | ||
335 | sources."assert-plus-1.0.0" | ||
336 | sources."async-stacktrace-0.0.2" | ||
337 | sources."backoff-2.5.0" | ||
338 | sources."balanced-match-1.0.0" | ||
339 | sources."brace-expansion-1.1.11" | ||
340 | (sources."bunyan-1.8.12" // { | ||
341 | dependencies = [ | ||
342 | sources."dtrace-provider-0.8.7" | ||
343 | ]; | ||
344 | }) | ||
345 | sources."concat-map-0.0.1" | ||
346 | sources."core-util-is-1.0.2" | ||
347 | sources."dashdash-1.14.1" | ||
348 | sources."dtrace-provider-0.7.1" | ||
349 | sources."extsprintf-1.2.0" | ||
350 | sources."glob-6.0.4" | ||
351 | sources."inflight-1.0.6" | ||
352 | sources."inherits-2.0.3" | ||
353 | (sources."ldap-filter-0.2.2" // { | ||
354 | dependencies = [ | ||
355 | sources."assert-plus-0.1.5" | ||
356 | ]; | ||
357 | }) | ||
358 | sources."ldapjs-1.0.1" | ||
359 | sources."minimatch-3.0.4" | ||
360 | sources."minimist-0.0.8" | ||
361 | sources."mkdirp-0.5.1" | ||
362 | sources."moment-2.24.0" | ||
363 | sources."mv-2.1.1" | ||
364 | sources."nan-2.13.2" | ||
365 | sources."ncp-2.0.0" | ||
366 | sources."once-1.4.0" | ||
367 | sources."path-is-absolute-1.0.1" | ||
368 | sources."precond-0.2.3" | ||
369 | sources."rimraf-2.4.5" | ||
370 | sources."safe-json-stringify-1.2.0" | ||
371 | (sources."vasync-1.6.4" // { | ||
372 | dependencies = [ | ||
373 | sources."verror-1.6.0" | ||
374 | ]; | ||
375 | }) | ||
376 | sources."verror-1.10.0" | ||
377 | sources."wrappy-1.0.2" | ||
378 | ]; | ||
379 | buildInputs = globalBuildInputs; | ||
380 | meta = { | ||
381 | description = "Hooks into etherpad lite auth to provide LDAP authentication."; | ||
382 | homepage = "https://github.com/tykeal/ep_ldapauth#readme"; | ||
383 | license = "GPL-2.0"; | ||
384 | }; | ||
385 | production = true; | ||
386 | bypassCache = true; | ||
387 | }; | ||
388 | } | ||