Show More
The requested changes are too big and content was truncated. Show full diff
@@ -0,0 +1,3 b'' | |||
|
1 | [pip2nix] | |
|
2 | requirements = ., -r ./requirements.txt | |
|
3 | output = ./python-packages.nix |
This diff has been collapsed as it changes many lines, (1082 lines changed) Show them Hide them | |||
@@ -0,0 +1,1082 b'' | |||
|
1 | { | |
|
2 | Jinja2 = super.buildPythonPackage { | |
|
3 | name = "Jinja2-2.8"; | |
|
4 | buildInputs = with self; []; | |
|
5 | doCheck = false; | |
|
6 | propagatedBuildInputs = with self; [MarkupSafe]; | |
|
7 | src = fetchurl { | |
|
8 | url = "https://pypi.python.org/packages/f2/2f/0b98b06a345a761bec91a079ccae392d282690c2d8272e708f4d10829e22/Jinja2-2.8.tar.gz"; | |
|
9 | md5 = "edb51693fe22c53cee5403775c71a99e"; | |
|
10 | }; | |
|
11 | meta = { | |
|
12 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
13 | }; | |
|
14 | }; | |
|
15 | Mako = super.buildPythonPackage { | |
|
16 | name = "Mako-1.0.4"; | |
|
17 | buildInputs = with self; []; | |
|
18 | doCheck = false; | |
|
19 | propagatedBuildInputs = with self; [MarkupSafe]; | |
|
20 | src = fetchurl { | |
|
21 | url = "https://pypi.python.org/packages/7a/ae/925434246ee90b42e8ef57d3b30a0ab7caf9a2de3e449b876c56dcb48155/Mako-1.0.4.tar.gz"; | |
|
22 | md5 = "c5fc31a323dd4990683d2f2da02d4e20"; | |
|
23 | }; | |
|
24 | meta = { | |
|
25 | license = [ pkgs.lib.licenses.mit ]; | |
|
26 | }; | |
|
27 | }; | |
|
28 | MarkupSafe = super.buildPythonPackage { | |
|
29 | name = "MarkupSafe-0.23"; | |
|
30 | buildInputs = with self; []; | |
|
31 | doCheck = false; | |
|
32 | propagatedBuildInputs = with self; []; | |
|
33 | src = fetchurl { | |
|
34 | url = "https://pypi.python.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz"; | |
|
35 | md5 = "f5ab3deee4c37cd6a922fb81e730da6e"; | |
|
36 | }; | |
|
37 | meta = { | |
|
38 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
39 | }; | |
|
40 | }; | |
|
41 | PasteDeploy = super.buildPythonPackage { | |
|
42 | name = "PasteDeploy-1.5.2"; | |
|
43 | buildInputs = with self; []; | |
|
44 | doCheck = false; | |
|
45 | propagatedBuildInputs = with self; []; | |
|
46 | src = fetchurl { | |
|
47 | url = "https://pypi.python.org/packages/0f/90/8e20cdae206c543ea10793cbf4136eb9a8b3f417e04e40a29d72d9922cbd/PasteDeploy-1.5.2.tar.gz"; | |
|
48 | md5 = "352b7205c78c8de4987578d19431af3b"; | |
|
49 | }; | |
|
50 | meta = { | |
|
51 | license = [ pkgs.lib.licenses.mit ]; | |
|
52 | }; | |
|
53 | }; | |
|
54 | SQLAlchemy = super.buildPythonPackage { | |
|
55 | name = "SQLAlchemy-1.0.12"; | |
|
56 | buildInputs = with self; []; | |
|
57 | doCheck = false; | |
|
58 | propagatedBuildInputs = with self; []; | |
|
59 | src = fetchurl { | |
|
60 | url = "https://pypi.python.org/packages/5c/52/9b48cd58eac58cae2a27923ff34c783f390b95413ff65669a86e98f80829/SQLAlchemy-1.0.12.tar.gz"; | |
|
61 | md5 = "6d19ef29883bbebdcac6613cf391cac4"; | |
|
62 | }; | |
|
63 | meta = { | |
|
64 | license = [ pkgs.lib.licenses.mit ]; | |
|
65 | }; | |
|
66 | }; | |
|
67 | WebOb = super.buildPythonPackage { | |
|
68 | name = "WebOb-1.6.1"; | |
|
69 | buildInputs = with self; []; | |
|
70 | doCheck = false; | |
|
71 | propagatedBuildInputs = with self; []; | |
|
72 | src = fetchurl { | |
|
73 | url = "https://pypi.python.org/packages/5d/c7/7c1565b188d8d32bf3657a24b9d71621e35ba20ec4179a0a7f9803511099/WebOb-1.6.1.tar.gz"; | |
|
74 | md5 = "04049d82e9d12dd91f6f46f54cc826aa"; | |
|
75 | }; | |
|
76 | meta = { | |
|
77 | license = [ pkgs.lib.licenses.mit ]; | |
|
78 | }; | |
|
79 | }; | |
|
80 | alembic = super.buildPythonPackage { | |
|
81 | name = "alembic-0.8.6"; | |
|
82 | buildInputs = with self; []; | |
|
83 | doCheck = false; | |
|
84 | propagatedBuildInputs = with self; [SQLAlchemy Mako python-editor]; | |
|
85 | src = fetchurl { | |
|
86 | url = "https://pypi.python.org/packages/d2/c3/fdb752aa39832d056aeac958f35f1fb9fb9397a52bdab9248adcbd9f17d9/alembic-0.8.6.tar.gz"; | |
|
87 | md5 = "6517b160e576cedf9b7625a18a9bc594"; | |
|
88 | }; | |
|
89 | meta = { | |
|
90 | license = [ pkgs.lib.licenses.mit ]; | |
|
91 | }; | |
|
92 | }; | |
|
93 | amqp = super.buildPythonPackage { | |
|
94 | name = "amqp-1.4.9"; | |
|
95 | buildInputs = with self; []; | |
|
96 | doCheck = false; | |
|
97 | propagatedBuildInputs = with self; []; | |
|
98 | src = fetchurl { | |
|
99 | url = "https://pypi.python.org/packages/cc/a4/f265c6f9a7eb1dd45d36d9ab775520e07ff575b11ad21156f9866da047b2/amqp-1.4.9.tar.gz"; | |
|
100 | md5 = "df57dde763ba2dea25b3fa92dfe43c19"; | |
|
101 | }; | |
|
102 | meta = { | |
|
103 | license = [ pkgs.lib.licenses.bsdOriginal { fullName = "LGPL"; } { fullName = "GNU Library or Lesser General Public License (LGPL)"; } ]; | |
|
104 | }; | |
|
105 | }; | |
|
106 | anyjson = super.buildPythonPackage { | |
|
107 | name = "anyjson-0.3.3"; | |
|
108 | buildInputs = with self; []; | |
|
109 | doCheck = false; | |
|
110 | propagatedBuildInputs = with self; []; | |
|
111 | src = fetchurl { | |
|
112 | url = "https://pypi.python.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz"; | |
|
113 | md5 = "2ea28d6ec311aeeebaf993cb3008b27c"; | |
|
114 | }; | |
|
115 | meta = { | |
|
116 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
117 | }; | |
|
118 | }; | |
|
119 | appenlight = super.buildPythonPackage { | |
|
120 | name = "appenlight-0.9.0"; | |
|
121 | buildInputs = with self; []; | |
|
122 | doCheck = false; | |
|
123 | propagatedBuildInputs = with self; [repoze.sendmail pyramid pyramid-tm pyramid-debugtoolbar pyramid-authstack SQLAlchemy alembic webhelpers2 transaction zope.sqlalchemy pyramid-mailer redis redlock-py pyramid-jinja2 psycopg2 wtforms celery formencode psutil ziggurat-foundations bcrypt appenlight-client markdown colander defusedxml dogpile.cache pyramid-redis-sessions simplejson waitress gunicorn requests requests-oauthlib gevent gevent-websocket pygments lxml paginate paginate-sqlalchemy pyelasticsearch six mock itsdangerous camplight jira python-dateutil authomatic cryptography webassets]; | |
|
124 | src = ./.; | |
|
125 | meta = { | |
|
126 | license = [ { fullName = "AGPLv3, and Commercial License"; } ]; | |
|
127 | }; | |
|
128 | }; | |
|
129 | appenlight-client = super.buildPythonPackage { | |
|
130 | name = "appenlight-client-0.6.17"; | |
|
131 | buildInputs = with self; []; | |
|
132 | doCheck = false; | |
|
133 | propagatedBuildInputs = with self; [WebOb requests six]; | |
|
134 | src = fetchurl { | |
|
135 | url = "https://pypi.python.org/packages/af/86/1075f162d6534080f7f6ed9d8a83254e8f0be90c0a3e7ead9feffbe4423f/appenlight_client-0.6.17.tar.gz"; | |
|
136 | md5 = "2f4d8229ce2dba607a9077210857e0e5"; | |
|
137 | }; | |
|
138 | meta = { | |
|
139 | license = [ pkgs.lib.licenses.bsdOriginal { fullName = "DFSG approved"; } ]; | |
|
140 | }; | |
|
141 | }; | |
|
142 | authomatic = super.buildPythonPackage { | |
|
143 | name = "authomatic-0.1.0.post1"; | |
|
144 | buildInputs = with self; []; | |
|
145 | doCheck = false; | |
|
146 | propagatedBuildInputs = with self; []; | |
|
147 | src = fetchurl { | |
|
148 | url = "https://pypi.python.org/packages/08/1a/8a930461e604c2d5a7a871e1ac59fa82ccf994c32e807230c8d2fb07815a/Authomatic-0.1.0.post1.tar.gz"; | |
|
149 | md5 = "be3f3ce08747d776aae6d6cc8dcb49a9"; | |
|
150 | }; | |
|
151 | meta = { | |
|
152 | license = [ pkgs.lib.licenses.mit ]; | |
|
153 | }; | |
|
154 | }; | |
|
155 | bcrypt = super.buildPythonPackage { | |
|
156 | name = "bcrypt-2.0.0"; | |
|
157 | buildInputs = with self; []; | |
|
158 | doCheck = false; | |
|
159 | propagatedBuildInputs = with self; [cffi six]; | |
|
160 | src = fetchurl { | |
|
161 | url = "https://pypi.python.org/packages/11/7d/4c7980d04314466de42ea804db71995c9b3a2a47dc79a63c51f1be0cfd50/bcrypt-2.0.0.tar.gz"; | |
|
162 | md5 = "e7fb17be46904cdb2ae6a062859ee58c"; | |
|
163 | }; | |
|
164 | meta = { | |
|
165 | license = [ pkgs.lib.licenses.asl20 ]; | |
|
166 | }; | |
|
167 | }; | |
|
168 | billiard = super.buildPythonPackage { | |
|
169 | name = "billiard-3.3.0.23"; | |
|
170 | buildInputs = with self; []; | |
|
171 | doCheck = false; | |
|
172 | propagatedBuildInputs = with self; []; | |
|
173 | src = fetchurl { | |
|
174 | url = "https://pypi.python.org/packages/64/a6/d7b6fb7bd0a4680a41f1d4b27061c7b768c673070ba8ac116f865de4e7ca/billiard-3.3.0.23.tar.gz"; | |
|
175 | md5 = "6ee416e1e7c8d8164ce29d7377cca6a4"; | |
|
176 | }; | |
|
177 | meta = { | |
|
178 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
179 | }; | |
|
180 | }; | |
|
181 | camplight = super.buildPythonPackage { | |
|
182 | name = "camplight-0.9.6"; | |
|
183 | buildInputs = with self; []; | |
|
184 | doCheck = false; | |
|
185 | propagatedBuildInputs = with self; [requests]; | |
|
186 | src = fetchurl { | |
|
187 | url = "https://pypi.python.org/packages/60/df/bed89a1f1d06632b192eff09a8fa75f85e0080ff70229c8145fbc3b2afa8/camplight-0.9.6.tar.gz"; | |
|
188 | md5 = "716cc7a4ea30da34ae4fcbfe2784ce59"; | |
|
189 | }; | |
|
190 | meta = { | |
|
191 | license = [ pkgs.lib.licenses.mit ]; | |
|
192 | }; | |
|
193 | }; | |
|
194 | celery = super.buildPythonPackage { | |
|
195 | name = "celery-3.1.23"; | |
|
196 | buildInputs = with self; []; | |
|
197 | doCheck = false; | |
|
198 | propagatedBuildInputs = with self; [pytz billiard kombu]; | |
|
199 | src = fetchurl { | |
|
200 | url = "https://pypi.python.org/packages/ea/a6/6da0bac3ea8abbc2763fd2664af2955702f97f140f2d7277069445532b7c/celery-3.1.23.tar.gz"; | |
|
201 | md5 = "c6f10f956a49424d553ab1391ab39ab2"; | |
|
202 | }; | |
|
203 | meta = { | |
|
204 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
205 | }; | |
|
206 | }; | |
|
207 | certifi = super.buildPythonPackage { | |
|
208 | name = "certifi-2016.8.31"; | |
|
209 | buildInputs = with self; []; | |
|
210 | doCheck = false; | |
|
211 | propagatedBuildInputs = with self; []; | |
|
212 | src = fetchurl { | |
|
213 | url = "https://pypi.python.org/packages/1c/d1/0133a5084f0d17db0270c6061e824a11b0e417d743f5ff4c594f4090ed89/certifi-2016.8.31.tar.gz"; | |
|
214 | md5 = "2f22d484a36d38d98be74f9eeb2846ec"; | |
|
215 | }; | |
|
216 | meta = { | |
|
217 | license = [ pkgs.lib.licenses.isc ]; | |
|
218 | }; | |
|
219 | }; | |
|
220 | cffi = super.buildPythonPackage { | |
|
221 | name = "cffi-1.8.2"; | |
|
222 | buildInputs = with self; []; | |
|
223 | doCheck = false; | |
|
224 | propagatedBuildInputs = with self; [pycparser]; | |
|
225 | src = fetchurl { | |
|
226 | url = "https://pypi.python.org/packages/b8/21/9d6f08d2d36a0a8c84623646b4ed5a07023d868823361a086b021fb21172/cffi-1.8.2.tar.gz"; | |
|
227 | md5 = "538f307b6c5169bba41fbfda2b070762"; | |
|
228 | }; | |
|
229 | meta = { | |
|
230 | license = [ pkgs.lib.licenses.mit ]; | |
|
231 | }; | |
|
232 | }; | |
|
233 | colander = super.buildPythonPackage { | |
|
234 | name = "colander-1.2"; | |
|
235 | buildInputs = with self; []; | |
|
236 | doCheck = false; | |
|
237 | propagatedBuildInputs = with self; [translationstring iso8601]; | |
|
238 | src = fetchurl { | |
|
239 | url = "https://pypi.python.org/packages/14/23/c9ceba07a6a1dc0eefbb215fc0dc64aabc2b22ee756bc0f0c13278fa0887/colander-1.2.tar.gz"; | |
|
240 | md5 = "83db21b07936a0726e588dae1914b9ed"; | |
|
241 | }; | |
|
242 | meta = { | |
|
243 | license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
|
244 | }; | |
|
245 | }; | |
|
246 | cryptography = super.buildPythonPackage { | |
|
247 | name = "cryptography-1.2.3"; | |
|
248 | buildInputs = with self; []; | |
|
249 | doCheck = false; | |
|
250 | propagatedBuildInputs = with self; [idna pyasn1 six setuptools enum34 ipaddress cffi]; | |
|
251 | src = fetchurl { | |
|
252 | url = "https://pypi.python.org/packages/8b/7d/9df253f059c8d9a9389f06df5d6301b0725a44dbf055a1f7aff8e455746a/cryptography-1.2.3.tar.gz"; | |
|
253 | md5 = "5474d2b3e8c7555a60852e48d2743f85"; | |
|
254 | }; | |
|
255 | meta = { | |
|
256 | license = [ pkgs.lib.licenses.bsdOriginal { fullName = "BSD or Apache License, Version 2.0"; } pkgs.lib.licenses.asl20 ]; | |
|
257 | }; | |
|
258 | }; | |
|
259 | defusedxml = super.buildPythonPackage { | |
|
260 | name = "defusedxml-0.4.1"; | |
|
261 | buildInputs = with self; []; | |
|
262 | doCheck = false; | |
|
263 | propagatedBuildInputs = with self; []; | |
|
264 | src = fetchurl { | |
|
265 | url = "https://pypi.python.org/packages/09/3b/b1afa9649f48517d027e99413fec54f387f648c90156b3cf6451c8cd45f9/defusedxml-0.4.1.tar.gz"; | |
|
266 | md5 = "230a5eff64f878b392478e30376d673a"; | |
|
267 | }; | |
|
268 | meta = { | |
|
269 | license = [ pkgs.lib.licenses.psfl ]; | |
|
270 | }; | |
|
271 | }; | |
|
272 | dogpile.cache = super.buildPythonPackage { | |
|
273 | name = "dogpile.cache-0.5.7"; | |
|
274 | buildInputs = with self; []; | |
|
275 | doCheck = false; | |
|
276 | propagatedBuildInputs = with self; [dogpile.core]; | |
|
277 | src = fetchurl { | |
|
278 | url = "https://pypi.python.org/packages/07/74/2a83bedf758156d9c95d112691bbad870d3b77ccbcfb781b4ef836ea7d96/dogpile.cache-0.5.7.tar.gz"; | |
|
279 | md5 = "3e58ce41af574aab41d78e9c4190f194"; | |
|
280 | }; | |
|
281 | meta = { | |
|
282 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
283 | }; | |
|
284 | }; | |
|
285 | dogpile.core = super.buildPythonPackage { | |
|
286 | name = "dogpile.core-0.4.1"; | |
|
287 | buildInputs = with self; []; | |
|
288 | doCheck = false; | |
|
289 | propagatedBuildInputs = with self; []; | |
|
290 | src = fetchurl { | |
|
291 | url = "https://pypi.python.org/packages/0e/77/e72abc04c22aedf874301861e5c1e761231c288b5de369c18be8f4b5c9bb/dogpile.core-0.4.1.tar.gz"; | |
|
292 | md5 = "01cb19f52bba3e95c9b560f39341f045"; | |
|
293 | }; | |
|
294 | meta = { | |
|
295 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
296 | }; | |
|
297 | }; | |
|
298 | elasticsearch = super.buildPythonPackage { | |
|
299 | name = "elasticsearch-1.9.0"; | |
|
300 | buildInputs = with self; []; | |
|
301 | doCheck = false; | |
|
302 | propagatedBuildInputs = with self; [urllib3]; | |
|
303 | src = fetchurl { | |
|
304 | url = "https://pypi.python.org/packages/13/9b/540e311b31a10c2a904acfb08030c656047e5c7ba479d35df2799e5dccfe/elasticsearch-1.9.0.tar.gz"; | |
|
305 | md5 = "3550390baea1639479f79758d66ab032"; | |
|
306 | }; | |
|
307 | meta = { | |
|
308 | license = [ pkgs.lib.licenses.asl20 ]; | |
|
309 | }; | |
|
310 | }; | |
|
311 | enum34 = super.buildPythonPackage { | |
|
312 | name = "enum34-1.1.6"; | |
|
313 | buildInputs = with self; []; | |
|
314 | doCheck = false; | |
|
315 | propagatedBuildInputs = with self; []; | |
|
316 | src = fetchurl { | |
|
317 | url = "https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz"; | |
|
318 | md5 = "5f13a0841a61f7fc295c514490d120d0"; | |
|
319 | }; | |
|
320 | meta = { | |
|
321 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
322 | }; | |
|
323 | }; | |
|
324 | formencode = super.buildPythonPackage { | |
|
325 | name = "formencode-1.3.0"; | |
|
326 | buildInputs = with self; []; | |
|
327 | doCheck = false; | |
|
328 | propagatedBuildInputs = with self; []; | |
|
329 | src = fetchurl { | |
|
330 | url = "https://pypi.python.org/packages/99/5b/f71f36b81b42291a70f61104d0eeb1a30be856a052ebe032c37b45db840c/FormEncode-1.3.0.zip"; | |
|
331 | md5 = "6df12d60bf3179402f2c2efd1129eb74"; | |
|
332 | }; | |
|
333 | meta = { | |
|
334 | license = [ pkgs.lib.licenses.psfl ]; | |
|
335 | }; | |
|
336 | }; | |
|
337 | gevent = super.buildPythonPackage { | |
|
338 | name = "gevent-1.1.1"; | |
|
339 | buildInputs = with self; []; | |
|
340 | doCheck = false; | |
|
341 | propagatedBuildInputs = with self; [greenlet]; | |
|
342 | src = fetchurl { | |
|
343 | url = "https://pypi.python.org/packages/12/dc/0b2e57823225de86f6e111a65d212c9e3b64847dddaa19691a6cb94b0b2e/gevent-1.1.1.tar.gz"; | |
|
344 | md5 = "1532f5396ab4d07a231f1935483be7c3"; | |
|
345 | }; | |
|
346 | meta = { | |
|
347 | license = [ pkgs.lib.licenses.mit ]; | |
|
348 | }; | |
|
349 | }; | |
|
350 | gevent-websocket = super.buildPythonPackage { | |
|
351 | name = "gevent-websocket-0.9.5"; | |
|
352 | buildInputs = with self; []; | |
|
353 | doCheck = false; | |
|
354 | propagatedBuildInputs = with self; [gevent]; | |
|
355 | src = fetchurl { | |
|
356 | url = "https://pypi.python.org/packages/de/93/6bc86ddd65435a56a2f2ea7cc908d92fea894fc08e364156656e71cc1435/gevent-websocket-0.9.5.tar.gz"; | |
|
357 | md5 = "03a8473b9a61426b0ef6094319141389"; | |
|
358 | }; | |
|
359 | meta = { | |
|
360 | license = [ { fullName = "Copyright 2011-2013 Jeffrey Gelens <jeffrey@noppo.pro>"; } pkgs.lib.licenses.asl20 ]; | |
|
361 | }; | |
|
362 | }; | |
|
363 | greenlet = super.buildPythonPackage { | |
|
364 | name = "greenlet-0.4.10"; | |
|
365 | buildInputs = with self; []; | |
|
366 | doCheck = false; | |
|
367 | propagatedBuildInputs = with self; []; | |
|
368 | src = fetchurl { | |
|
369 | url = "https://pypi.python.org/packages/67/62/ca2a95648666eaa2ffeb6a9b3964f21d419ae27f82f2e66b53da5b943fc4/greenlet-0.4.10.zip"; | |
|
370 | md5 = "bed0c4b3b896702131f4d5c72f87c41d"; | |
|
371 | }; | |
|
372 | meta = { | |
|
373 | license = [ pkgs.lib.licenses.mit ]; | |
|
374 | }; | |
|
375 | }; | |
|
376 | gunicorn = super.buildPythonPackage { | |
|
377 | name = "gunicorn-19.4.5"; | |
|
378 | buildInputs = with self; []; | |
|
379 | doCheck = false; | |
|
380 | propagatedBuildInputs = with self; []; | |
|
381 | src = fetchurl { | |
|
382 | url = "https://pypi.python.org/packages/1e/67/95248e17050822ab436c8a43dbfc0625a8545775737e33b66508cffad278/gunicorn-19.4.5.tar.gz"; | |
|
383 | md5 = "ce45c2dccba58784694dd77f23d9a677"; | |
|
384 | }; | |
|
385 | meta = { | |
|
386 | license = [ pkgs.lib.licenses.mit ]; | |
|
387 | }; | |
|
388 | }; | |
|
389 | idna = super.buildPythonPackage { | |
|
390 | name = "idna-2.1"; | |
|
391 | buildInputs = with self; []; | |
|
392 | doCheck = false; | |
|
393 | propagatedBuildInputs = with self; []; | |
|
394 | src = fetchurl { | |
|
395 | url = "https://pypi.python.org/packages/fb/84/8c27516fbaa8147acd2e431086b473c453c428e24e8fb99a1d89ce381851/idna-2.1.tar.gz"; | |
|
396 | md5 = "f6473caa9c5e0cc1ad3fd5d04c3c114b"; | |
|
397 | }; | |
|
398 | meta = { | |
|
399 | license = [ pkgs.lib.licenses.bsdOriginal { fullName = "BSD-like"; } ]; | |
|
400 | }; | |
|
401 | }; | |
|
402 | ipaddress = super.buildPythonPackage { | |
|
403 | name = "ipaddress-1.0.17"; | |
|
404 | buildInputs = with self; []; | |
|
405 | doCheck = false; | |
|
406 | propagatedBuildInputs = with self; []; | |
|
407 | src = fetchurl { | |
|
408 | url = "https://pypi.python.org/packages/bb/26/3b64955ff73f9e3155079b9ed31812afdfa5333b5c76387454d651ef593a/ipaddress-1.0.17.tar.gz"; | |
|
409 | md5 = "8bbf0326719fafb1f453921ef96729fe"; | |
|
410 | }; | |
|
411 | meta = { | |
|
412 | license = [ pkgs.lib.licenses.psfl ]; | |
|
413 | }; | |
|
414 | }; | |
|
415 | iso8601 = super.buildPythonPackage { | |
|
416 | name = "iso8601-0.1.11"; | |
|
417 | buildInputs = with self; []; | |
|
418 | doCheck = false; | |
|
419 | propagatedBuildInputs = with self; []; | |
|
420 | src = fetchurl { | |
|
421 | url = "https://pypi.python.org/packages/c0/75/c9209ee4d1b5975eb8c2cba4428bde6b61bd55664a98290dd015cdb18e98/iso8601-0.1.11.tar.gz"; | |
|
422 | md5 = "b06d11cd14a64096f907086044f0fe38"; | |
|
423 | }; | |
|
424 | meta = { | |
|
425 | license = [ pkgs.lib.licenses.mit ]; | |
|
426 | }; | |
|
427 | }; | |
|
428 | itsdangerous = super.buildPythonPackage { | |
|
429 | name = "itsdangerous-0.24"; | |
|
430 | buildInputs = with self; []; | |
|
431 | doCheck = false; | |
|
432 | propagatedBuildInputs = with self; []; | |
|
433 | src = fetchurl { | |
|
434 | url = "https://pypi.python.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz"; | |
|
435 | md5 = "a3d55aa79369aef5345c036a8a26307f"; | |
|
436 | }; | |
|
437 | meta = { | |
|
438 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
439 | }; | |
|
440 | }; | |
|
441 | jira = super.buildPythonPackage { | |
|
442 | name = "jira-1.0.7"; | |
|
443 | buildInputs = with self; []; | |
|
444 | doCheck = false; | |
|
445 | propagatedBuildInputs = with self; [requests requests-oauthlib tlslite six requests-toolbelt]; | |
|
446 | src = fetchurl { | |
|
447 | url = "https://pypi.python.org/packages/4e/36/4f0ab121c3510fce29743c31e2f47e99c2be68ee4441ad395366489351b0/jira-1.0.7.tar.gz"; | |
|
448 | md5 = "cb1d3f1e1b7a388932ad5d961bf2c56d"; | |
|
449 | }; | |
|
450 | meta = { | |
|
451 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
452 | }; | |
|
453 | }; | |
|
454 | kombu = super.buildPythonPackage { | |
|
455 | name = "kombu-3.0.35"; | |
|
456 | buildInputs = with self; []; | |
|
457 | doCheck = false; | |
|
458 | propagatedBuildInputs = with self; [anyjson amqp]; | |
|
459 | src = fetchurl { | |
|
460 | url = "https://pypi.python.org/packages/5f/4f/3859b52f6d465d0d4a767516c924ee4f0e1387498ac8d0c30d9942da3762/kombu-3.0.35.tar.gz"; | |
|
461 | md5 = "6483ac8ba7109ec606f5cb9bd084b6ef"; | |
|
462 | }; | |
|
463 | meta = { | |
|
464 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
465 | }; | |
|
466 | }; | |
|
467 | lxml = super.buildPythonPackage { | |
|
468 | name = "lxml-3.6.0"; | |
|
469 | buildInputs = with self; []; | |
|
470 | doCheck = false; | |
|
471 | propagatedBuildInputs = with self; []; | |
|
472 | src = fetchurl { | |
|
473 | url = "https://pypi.python.org/packages/11/1b/fe6904151b37a0d6da6e60c13583945f8ce3eae8ebd0ec763ce546358947/lxml-3.6.0.tar.gz"; | |
|
474 | md5 = "5957cc384bd6e83934be35c057ec03b6"; | |
|
475 | }; | |
|
476 | meta = { | |
|
477 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
478 | }; | |
|
479 | }; | |
|
480 | markdown = super.buildPythonPackage { | |
|
481 | name = "markdown-2.5"; | |
|
482 | buildInputs = with self; []; | |
|
483 | doCheck = false; | |
|
484 | propagatedBuildInputs = with self; []; | |
|
485 | src = fetchurl { | |
|
486 | url = "https://pypi.python.org/packages/16/7f/034572fbc66f76a626156c9500349f5b384ca1f38194318ddde32bc2fcb0/Markdown-2.5.zip"; | |
|
487 | md5 = "053e5614f7efc06ac0fcd6954678096c"; | |
|
488 | }; | |
|
489 | meta = { | |
|
490 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
491 | }; | |
|
492 | }; | |
|
493 | mock = super.buildPythonPackage { | |
|
494 | name = "mock-1.0.1"; | |
|
495 | buildInputs = with self; []; | |
|
496 | doCheck = false; | |
|
497 | propagatedBuildInputs = with self; []; | |
|
498 | src = fetchurl { | |
|
499 | url = "https://pypi.python.org/packages/15/45/30273ee91feb60dabb8fbb2da7868520525f02cf910279b3047182feed80/mock-1.0.1.zip"; | |
|
500 | md5 = "869f08d003c289a97c1a6610faf5e913"; | |
|
501 | }; | |
|
502 | meta = { | |
|
503 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
504 | }; | |
|
505 | }; | |
|
506 | oauthlib = super.buildPythonPackage { | |
|
507 | name = "oauthlib-2.0.0"; | |
|
508 | buildInputs = with self; []; | |
|
509 | doCheck = false; | |
|
510 | propagatedBuildInputs = with self; []; | |
|
511 | src = fetchurl { | |
|
512 | url = "https://pypi.python.org/packages/ce/92/7f07412a4f04e55c1e83a09c6fd48075b5df96c1dbd4078c3407c5be1dff/oauthlib-2.0.0.tar.gz"; | |
|
513 | md5 = "79b83aa677fc45d1ea28deab7445b4ca"; | |
|
514 | }; | |
|
515 | meta = { | |
|
516 | license = [ pkgs.lib.licenses.bsdOriginal { fullName = "OSI Approved"; } ]; | |
|
517 | }; | |
|
518 | }; | |
|
519 | paginate = super.buildPythonPackage { | |
|
520 | name = "paginate-0.5.4"; | |
|
521 | buildInputs = with self; []; | |
|
522 | doCheck = false; | |
|
523 | propagatedBuildInputs = with self; []; | |
|
524 | src = fetchurl { | |
|
525 | url = "https://pypi.python.org/packages/52/2e/2c3a5647d3f7583355743d73841d03c8b50b97983a478a8f82d3cb9f4a5f/paginate-0.5.4.tar.gz"; | |
|
526 | md5 = "91fdb133f85ac73c6616feba38976e95"; | |
|
527 | }; | |
|
528 | meta = { | |
|
529 | license = [ pkgs.lib.licenses.mit ]; | |
|
530 | }; | |
|
531 | }; | |
|
532 | paginate-sqlalchemy = super.buildPythonPackage { | |
|
533 | name = "paginate-sqlalchemy-0.2.0"; | |
|
534 | buildInputs = with self; []; | |
|
535 | doCheck = false; | |
|
536 | propagatedBuildInputs = with self; [SQLAlchemy paginate]; | |
|
537 | src = fetchurl { | |
|
538 | url = "https://pypi.python.org/packages/25/64/fe572514615971fc235e95798ae0e2ee3beeccf43272c623a0a6b082d2d6/paginate_sqlalchemy-0.2.0.tar.gz"; | |
|
539 | md5 = "4ca097c4132f43cd72c6a1795b6bbb5d"; | |
|
540 | }; | |
|
541 | meta = { | |
|
542 | license = [ pkgs.lib.licenses.mit ]; | |
|
543 | }; | |
|
544 | }; | |
|
545 | passlib = super.buildPythonPackage { | |
|
546 | name = "passlib-1.6.5"; | |
|
547 | buildInputs = with self; []; | |
|
548 | doCheck = false; | |
|
549 | propagatedBuildInputs = with self; []; | |
|
550 | src = fetchurl { | |
|
551 | url = "https://pypi.python.org/packages/1e/59/d1a50836b29c87a1bde9442e1846aa11e1548491cbee719e51b45a623e75/passlib-1.6.5.tar.gz"; | |
|
552 | md5 = "d2edd6c42cde136a538b48d90a06ad67"; | |
|
553 | }; | |
|
554 | meta = { | |
|
555 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
556 | }; | |
|
557 | }; | |
|
558 | psutil = super.buildPythonPackage { | |
|
559 | name = "psutil-2.1.2"; | |
|
560 | buildInputs = with self; []; | |
|
561 | doCheck = false; | |
|
562 | propagatedBuildInputs = with self; []; | |
|
563 | src = fetchurl { | |
|
564 | url = "https://pypi.python.org/packages/53/6a/8051b913b2f94eb00fd045fe9e14a7182b6e7f088b12c308edd7616a559b/psutil-2.1.2.tar.gz"; | |
|
565 | md5 = "1969c9b3e256f5ce8fb90c5d0124233e"; | |
|
566 | }; | |
|
567 | meta = { | |
|
568 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
569 | }; | |
|
570 | }; | |
|
571 | psycopg2 = super.buildPythonPackage { | |
|
572 | name = "psycopg2-2.6.1"; | |
|
573 | buildInputs = with self; []; | |
|
574 | doCheck = false; | |
|
575 | propagatedBuildInputs = with self; []; | |
|
576 | src = fetchurl { | |
|
577 | url = "https://pypi.python.org/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz"; | |
|
578 | md5 = "842b44f8c95517ed5b792081a2370da1"; | |
|
579 | }; | |
|
580 | meta = { | |
|
581 | license = [ pkgs.lib.licenses.zpt21 { fullName = "GNU Library or Lesser General Public License (LGPL)"; } { fullName = "LGPL with exceptions or ZPL"; } ]; | |
|
582 | }; | |
|
583 | }; | |
|
584 | pyasn1 = super.buildPythonPackage { | |
|
585 | name = "pyasn1-0.1.9"; | |
|
586 | buildInputs = with self; []; | |
|
587 | doCheck = false; | |
|
588 | propagatedBuildInputs = with self; []; | |
|
589 | src = fetchurl { | |
|
590 | url = "https://pypi.python.org/packages/f7/83/377e3dd2e95f9020dbd0dfd3c47aaa7deebe3c68d3857a4e51917146ae8b/pyasn1-0.1.9.tar.gz"; | |
|
591 | md5 = "f00a02a631d4016818659d1cc38d229a"; | |
|
592 | }; | |
|
593 | meta = { | |
|
594 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
595 | }; | |
|
596 | }; | |
|
597 | pycparser = super.buildPythonPackage { | |
|
598 | name = "pycparser-2.14"; | |
|
599 | buildInputs = with self; []; | |
|
600 | doCheck = false; | |
|
601 | propagatedBuildInputs = with self; []; | |
|
602 | src = fetchurl { | |
|
603 | url = "https://pypi.python.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz"; | |
|
604 | md5 = "a2bc8d28c923b4fe2b2c3b4b51a4f935"; | |
|
605 | }; | |
|
606 | meta = { | |
|
607 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
608 | }; | |
|
609 | }; | |
|
610 | pyelasticsearch = super.buildPythonPackage { | |
|
611 | name = "pyelasticsearch-1.4"; | |
|
612 | buildInputs = with self; []; | |
|
613 | doCheck = false; | |
|
614 | propagatedBuildInputs = with self; [certifi elasticsearch urllib3 simplejson six]; | |
|
615 | src = fetchurl { | |
|
616 | url = "https://pypi.python.org/packages/2f/3a/7643cfcfc4cbdbb20ada800bbd54ac9705d0c047d7b8f8d5eeeb3047b4eb/pyelasticsearch-1.4.tar.gz"; | |
|
617 | md5 = "ed61ebb7b253364e55b4923d11e17049"; | |
|
618 | }; | |
|
619 | meta = { | |
|
620 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
621 | }; | |
|
622 | }; | |
|
623 | pygments = super.buildPythonPackage { | |
|
624 | name = "pygments-2.1.3"; | |
|
625 | buildInputs = with self; []; | |
|
626 | doCheck = false; | |
|
627 | propagatedBuildInputs = with self; []; | |
|
628 | src = fetchurl { | |
|
629 | url = "https://pypi.python.org/packages/b8/67/ab177979be1c81bc99c8d0592ef22d547e70bb4c6815c383286ed5dec504/Pygments-2.1.3.tar.gz"; | |
|
630 | md5 = "ed3fba2467c8afcda4d317e4ef2c6150"; | |
|
631 | }; | |
|
632 | meta = { | |
|
633 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
634 | }; | |
|
635 | }; | |
|
636 | pyramid = super.buildPythonPackage { | |
|
637 | name = "pyramid-1.7.3"; | |
|
638 | buildInputs = with self; []; | |
|
639 | doCheck = false; | |
|
640 | propagatedBuildInputs = with self; [setuptools WebOb repoze.lru zope.interface zope.deprecation venusian translationstring PasteDeploy]; | |
|
641 | src = fetchurl { | |
|
642 | url = "https://pypi.python.org/packages/9c/6d/9b9f9acf22c5d221f25cf6756645bce9ea54ee741466197674fe77f2eee3/pyramid-1.7.3.tar.gz"; | |
|
643 | md5 = "5f154c8c352ef013e6e412be02bbb576"; | |
|
644 | }; | |
|
645 | meta = { | |
|
646 | license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
|
647 | }; | |
|
648 | }; | |
|
649 | pyramid-authstack = super.buildPythonPackage { | |
|
650 | name = "pyramid-authstack-1.0.1"; | |
|
651 | buildInputs = with self; []; | |
|
652 | doCheck = false; | |
|
653 | propagatedBuildInputs = with self; [pyramid zope.interface]; | |
|
654 | src = fetchurl { | |
|
655 | url = "https://pypi.python.org/packages/01/4b/e84cb8fda19f0f03f96231195fd074212b9291f732aa07f90edcfb21ff34/pyramid_authstack-1.0.1.tar.gz"; | |
|
656 | md5 = "8e199862b5a5cd6385f7d5209cee2f12"; | |
|
657 | }; | |
|
658 | meta = { | |
|
659 | license = [ pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.mit ]; | |
|
660 | }; | |
|
661 | }; | |
|
662 | pyramid-debugtoolbar = super.buildPythonPackage { | |
|
663 | name = "pyramid-debugtoolbar-3.0.4"; | |
|
664 | buildInputs = with self; []; | |
|
665 | doCheck = false; | |
|
666 | propagatedBuildInputs = with self; [pyramid pyramid-mako repoze.lru pygments]; | |
|
667 | src = fetchurl { | |
|
668 | url = "https://pypi.python.org/packages/b0/c5/aae5d99983600146875d471aab9142b925fd3596e6e637f6c35d158d09cc/pyramid_debugtoolbar-3.0.4.tar.gz"; | |
|
669 | md5 = "51ff68a733ae994641027f10116e519d"; | |
|
670 | }; | |
|
671 | meta = { | |
|
672 | license = [ { fullName = "Repoze Public License"; } pkgs.lib.licenses.bsdOriginal ]; | |
|
673 | }; | |
|
674 | }; | |
|
675 | pyramid-jinja2 = super.buildPythonPackage { | |
|
676 | name = "pyramid-jinja2-2.6.2"; | |
|
677 | buildInputs = with self; []; | |
|
678 | doCheck = false; | |
|
679 | propagatedBuildInputs = with self; [pyramid zope.deprecation Jinja2 MarkupSafe]; | |
|
680 | src = fetchurl { | |
|
681 | url = "https://pypi.python.org/packages/37/00/ac38702305dcf08fe1f1d6d882e8e2d957543bc96c62de52d99d43433c23/pyramid_jinja2-2.6.2.tar.gz"; | |
|
682 | md5 = "10ca075934ebf8f52acfc9898991966d"; | |
|
683 | }; | |
|
684 | meta = { | |
|
685 | license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
|
686 | }; | |
|
687 | }; | |
|
688 | pyramid-mailer = super.buildPythonPackage { | |
|
689 | name = "pyramid-mailer-0.14.1"; | |
|
690 | buildInputs = with self; []; | |
|
691 | doCheck = false; | |
|
692 | propagatedBuildInputs = with self; [pyramid repoze.sendmail]; | |
|
693 | src = fetchurl { | |
|
694 | url = "https://pypi.python.org/packages/43/02/a32823750dbdee4280090843d5788cc550ab6f24f23fcabbeb7f912bf5fe/pyramid_mailer-0.14.1.tar.gz"; | |
|
695 | md5 = "a589801afdc4a3d64337e4cbd2fc7cdb"; | |
|
696 | }; | |
|
697 | meta = { | |
|
698 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
699 | }; | |
|
700 | }; | |
|
701 | pyramid-mako = super.buildPythonPackage { | |
|
702 | name = "pyramid-mako-1.0.2"; | |
|
703 | buildInputs = with self; []; | |
|
704 | doCheck = false; | |
|
705 | propagatedBuildInputs = with self; [pyramid Mako]; | |
|
706 | src = fetchurl { | |
|
707 | url = "https://pypi.python.org/packages/f1/92/7e69bcf09676d286a71cb3bbb887b16595b96f9ba7adbdc239ffdd4b1eb9/pyramid_mako-1.0.2.tar.gz"; | |
|
708 | md5 = "ee25343a97eb76bd90abdc2a774eb48a"; | |
|
709 | }; | |
|
710 | meta = { | |
|
711 | license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
|
712 | }; | |
|
713 | }; | |
|
714 | pyramid-redis-sessions = super.buildPythonPackage { | |
|
715 | name = "pyramid-redis-sessions-1.0.1"; | |
|
716 | buildInputs = with self; []; | |
|
717 | doCheck = false; | |
|
718 | propagatedBuildInputs = with self; [redis pyramid]; | |
|
719 | src = fetchurl { | |
|
720 | url = "https://pypi.python.org/packages/45/9b/905fd70bb603b61819d525efe7626342ad5f8d033e25fbaedbc53f458c37/pyramid_redis_sessions-1.0.1.tar.gz"; | |
|
721 | md5 = "a39bbfd36f61685eac32d5f4010d3fef"; | |
|
722 | }; | |
|
723 | meta = { | |
|
724 | license = [ { fullName = "FreeBSD"; } ]; | |
|
725 | }; | |
|
726 | }; | |
|
727 | pyramid-tm = super.buildPythonPackage { | |
|
728 | name = "pyramid-tm-0.12"; | |
|
729 | buildInputs = with self; []; | |
|
730 | doCheck = false; | |
|
731 | propagatedBuildInputs = with self; [pyramid transaction]; | |
|
732 | src = fetchurl { | |
|
733 | url = "https://pypi.python.org/packages/3e/0b/a0fd3856c8ca2b30f20fcd26627b9cf9d91cd2cfabae42aee3441b2441c5/pyramid_tm-0.12.tar.gz"; | |
|
734 | md5 = "6e5f4449706855fdb7c63d2190e0209b"; | |
|
735 | }; | |
|
736 | meta = { | |
|
737 | license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
|
738 | }; | |
|
739 | }; | |
|
740 | python-dateutil = super.buildPythonPackage { | |
|
741 | name = "python-dateutil-2.5.3"; | |
|
742 | buildInputs = with self; []; | |
|
743 | doCheck = false; | |
|
744 | propagatedBuildInputs = with self; [six]; | |
|
745 | src = fetchurl { | |
|
746 | url = "https://pypi.python.org/packages/3e/f5/aad82824b369332a676a90a8c0d1e608b17e740bbb6aeeebca726f17b902/python-dateutil-2.5.3.tar.gz"; | |
|
747 | md5 = "05ffc6d2cc85a7fd93bb245807f715ef"; | |
|
748 | }; | |
|
749 | meta = { | |
|
750 | license = [ pkgs.lib.licenses.bsdOriginal { fullName = "Simplified BSD"; } ]; | |
|
751 | }; | |
|
752 | }; | |
|
753 | python-editor = super.buildPythonPackage { | |
|
754 | name = "python-editor-1.0.1"; | |
|
755 | buildInputs = with self; []; | |
|
756 | doCheck = false; | |
|
757 | propagatedBuildInputs = with self; []; | |
|
758 | src = fetchurl { | |
|
759 | url = "https://pypi.python.org/packages/2b/c0/df7b87d5cf016f82eab3b05cd35f53287c1178ad8c42bfb6fa61b89b22f6/python-editor-1.0.1.tar.gz"; | |
|
760 | md5 = "e1fa63535b40e022fa4fd646fd8b511a"; | |
|
761 | }; | |
|
762 | meta = { | |
|
763 | license = [ pkgs.lib.licenses.asl20 { fullName = "Apache"; } ]; | |
|
764 | }; | |
|
765 | }; | |
|
766 | pytz = super.buildPythonPackage { | |
|
767 | name = "pytz-2016.6.1"; | |
|
768 | buildInputs = with self; []; | |
|
769 | doCheck = false; | |
|
770 | propagatedBuildInputs = with self; []; | |
|
771 | src = fetchurl { | |
|
772 | url = "https://pypi.python.org/packages/5d/8e/6635d8f3f9f48c03bb925fab543383089858271f9cfd1216b83247e8df94/pytz-2016.6.1.tar.gz"; | |
|
773 | md5 = "b6c28a3b968bc1d8badfb61b93874e03"; | |
|
774 | }; | |
|
775 | meta = { | |
|
776 | license = [ pkgs.lib.licenses.mit ]; | |
|
777 | }; | |
|
778 | }; | |
|
779 | redis = super.buildPythonPackage { | |
|
780 | name = "redis-2.10.5"; | |
|
781 | buildInputs = with self; []; | |
|
782 | doCheck = false; | |
|
783 | propagatedBuildInputs = with self; []; | |
|
784 | src = fetchurl { | |
|
785 | url = "https://pypi.python.org/packages/68/44/5efe9e98ad83ef5b742ce62a15bea609ed5a0d1caf35b79257ddb324031a/redis-2.10.5.tar.gz"; | |
|
786 | md5 = "3b26c2b9703b4b56b30a1ad508e31083"; | |
|
787 | }; | |
|
788 | meta = { | |
|
789 | license = [ pkgs.lib.licenses.mit ]; | |
|
790 | }; | |
|
791 | }; | |
|
792 | redlock-py = super.buildPythonPackage { | |
|
793 | name = "redlock-py-1.0.8"; | |
|
794 | buildInputs = with self; []; | |
|
795 | doCheck = false; | |
|
796 | propagatedBuildInputs = with self; [redis]; | |
|
797 | src = fetchurl { | |
|
798 | url = "https://pypi.python.org/packages/7c/40/29e1730f771b5d27e3c77b5426b6a67a3642868bf8bd592dfa6639feda98/redlock-py-1.0.8.tar.gz"; | |
|
799 | md5 = "7f8fe8ddefbe35deaa64d67ebdf1c58e"; | |
|
800 | }; | |
|
801 | meta = { | |
|
802 | license = [ pkgs.lib.licenses.mit ]; | |
|
803 | }; | |
|
804 | }; | |
|
805 | repoze.lru = super.buildPythonPackage { | |
|
806 | name = "repoze.lru-0.6"; | |
|
807 | buildInputs = with self; []; | |
|
808 | doCheck = false; | |
|
809 | propagatedBuildInputs = with self; []; | |
|
810 | src = fetchurl { | |
|
811 | url = "https://pypi.python.org/packages/6e/1e/aa15cc90217e086dc8769872c8778b409812ff036bf021b15795638939e4/repoze.lru-0.6.tar.gz"; | |
|
812 | md5 = "2c3b64b17a8e18b405f55d46173e14dd"; | |
|
813 | }; | |
|
814 | meta = { | |
|
815 | license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
|
816 | }; | |
|
817 | }; | |
|
818 | repoze.sendmail = super.buildPythonPackage { | |
|
819 | name = "repoze.sendmail-4.1"; | |
|
820 | buildInputs = with self; []; | |
|
821 | doCheck = false; | |
|
822 | propagatedBuildInputs = with self; [setuptools zope.interface transaction]; | |
|
823 | src = fetchurl { | |
|
824 | url = "https://pypi.python.org/packages/6b/3a/501a897c036c7b728b02a2695998055755e9e71c7e135abdcf200958965e/repoze.sendmail-4.1.tar.gz"; | |
|
825 | md5 = "81d15f1f03cc67d6f56f2091c594ef57"; | |
|
826 | }; | |
|
827 | meta = { | |
|
828 | license = [ pkgs.lib.licenses.zpt21 ]; | |
|
829 | }; | |
|
830 | }; | |
|
831 | requests = super.buildPythonPackage { | |
|
832 | name = "requests-2.9.1"; | |
|
833 | buildInputs = with self; []; | |
|
834 | doCheck = false; | |
|
835 | propagatedBuildInputs = with self; []; | |
|
836 | src = fetchurl { | |
|
837 | url = "https://pypi.python.org/packages/f9/6d/07c44fb1ebe04d069459a189e7dab9e4abfe9432adcd4477367c25332748/requests-2.9.1.tar.gz"; | |
|
838 | md5 = "0b7f480d19012ec52bab78292efd976d"; | |
|
839 | }; | |
|
840 | meta = { | |
|
841 | license = [ pkgs.lib.licenses.asl20 ]; | |
|
842 | }; | |
|
843 | }; | |
|
844 | requests-oauthlib = super.buildPythonPackage { | |
|
845 | name = "requests-oauthlib-0.6.1"; | |
|
846 | buildInputs = with self; []; | |
|
847 | doCheck = false; | |
|
848 | propagatedBuildInputs = with self; [oauthlib requests]; | |
|
849 | src = fetchurl { | |
|
850 | url = "https://pypi.python.org/packages/f9/98/a1aaae4bbcde0e98d6d853c4f08bd52f20b0005cefb881679bcdf7ea7a00/requests-oauthlib-0.6.1.tar.gz"; | |
|
851 | md5 = "f159bc7675ebe6a2d76798f4c00c5bf8"; | |
|
852 | }; | |
|
853 | meta = { | |
|
854 | license = [ pkgs.lib.licenses.isc pkgs.lib.licenses.bsdOriginal ]; | |
|
855 | }; | |
|
856 | }; | |
|
857 | requests-toolbelt = super.buildPythonPackage { | |
|
858 | name = "requests-toolbelt-0.7.0"; | |
|
859 | buildInputs = with self; []; | |
|
860 | doCheck = false; | |
|
861 | propagatedBuildInputs = with self; [requests]; | |
|
862 | src = fetchurl { | |
|
863 | url = "https://pypi.python.org/packages/59/78/1d391d30ebf74079a8e4de6ab66fdca5362903ef2df64496f4697e9bb626/requests-toolbelt-0.7.0.tar.gz"; | |
|
864 | md5 = "bfe2009905f460f4764c32cfbbf4205f"; | |
|
865 | }; | |
|
866 | meta = { | |
|
867 | license = [ pkgs.lib.licenses.asl20 ]; | |
|
868 | }; | |
|
869 | }; | |
|
870 | setuptools = super.buildPythonPackage { | |
|
871 | name = "setuptools-27.2.0"; | |
|
872 | buildInputs = with self; []; | |
|
873 | doCheck = false; | |
|
874 | propagatedBuildInputs = with self; []; | |
|
875 | src = fetchurl { | |
|
876 | url = "https://pypi.python.org/packages/87/ba/54197971d107bc06f5f3fbdc0d728a7ae0b10cafca46acfddba65a0899d8/setuptools-27.2.0.tar.gz"; | |
|
877 | md5 = "b39715612fdc0372dbfd7b3fcf5d4fe5"; | |
|
878 | }; | |
|
879 | meta = { | |
|
880 | license = [ pkgs.lib.licenses.mit ]; | |
|
881 | }; | |
|
882 | }; | |
|
883 | simplejson = super.buildPythonPackage { | |
|
884 | name = "simplejson-3.8.2"; | |
|
885 | buildInputs = with self; []; | |
|
886 | doCheck = false; | |
|
887 | propagatedBuildInputs = with self; []; | |
|
888 | src = fetchurl { | |
|
889 | url = "https://pypi.python.org/packages/f0/07/26b519e6ebb03c2a74989f7571e6ae6b82e9d7d81b8de6fcdbfc643c7b58/simplejson-3.8.2.tar.gz"; | |
|
890 | md5 = "53b1371bbf883b129a12d594a97e9a18"; | |
|
891 | }; | |
|
892 | meta = { | |
|
893 | license = [ { fullName = "Academic Free License (AFL)"; } pkgs.lib.licenses.mit ]; | |
|
894 | }; | |
|
895 | }; | |
|
896 | six = super.buildPythonPackage { | |
|
897 | name = "six-1.9.0"; | |
|
898 | buildInputs = with self; []; | |
|
899 | doCheck = false; | |
|
900 | propagatedBuildInputs = with self; []; | |
|
901 | src = fetchurl { | |
|
902 | url = "https://pypi.python.org/packages/16/64/1dc5e5976b17466fd7d712e59cbe9fb1e18bec153109e5ba3ed6c9102f1a/six-1.9.0.tar.gz"; | |
|
903 | md5 = "476881ef4012262dfc8adc645ee786c4"; | |
|
904 | }; | |
|
905 | meta = { | |
|
906 | license = [ pkgs.lib.licenses.mit ]; | |
|
907 | }; | |
|
908 | }; | |
|
909 | tlslite = super.buildPythonPackage { | |
|
910 | name = "tlslite-0.4.9"; | |
|
911 | buildInputs = with self; []; | |
|
912 | doCheck = false; | |
|
913 | propagatedBuildInputs = with self; []; | |
|
914 | src = fetchurl { | |
|
915 | url = "https://pypi.python.org/packages/92/2b/7904cf913d9bf150b3e408a92c9cb5ce0b97a9ec19f998af48bf4c607f0e/tlslite-0.4.9.tar.gz"; | |
|
916 | md5 = "9f3b3797f595dd66cd36a65c83a87869"; | |
|
917 | }; | |
|
918 | meta = { | |
|
919 | license = [ { fullName = "public domain and BSD"; } ]; | |
|
920 | }; | |
|
921 | }; | |
|
922 | transaction = super.buildPythonPackage { | |
|
923 | name = "transaction-1.4.3"; | |
|
924 | buildInputs = with self; []; | |
|
925 | doCheck = false; | |
|
926 | propagatedBuildInputs = with self; [zope.interface]; | |
|
927 | src = fetchurl { | |
|
928 | url = "https://pypi.python.org/packages/9d/9d/afb5c4904fb41edc14029744ff030ac0596846262bda6145edf23791c880/transaction-1.4.3.tar.gz"; | |
|
929 | md5 = "b4ca5983c9e3a0808ff5ff7648092c76"; | |
|
930 | }; | |
|
931 | meta = { | |
|
932 | license = [ pkgs.lib.licenses.zpt21 ]; | |
|
933 | }; | |
|
934 | }; | |
|
935 | translationstring = super.buildPythonPackage { | |
|
936 | name = "translationstring-1.3"; | |
|
937 | buildInputs = with self; []; | |
|
938 | doCheck = false; | |
|
939 | propagatedBuildInputs = with self; []; | |
|
940 | src = fetchurl { | |
|
941 | url = "https://pypi.python.org/packages/5e/eb/bee578cc150b44c653b63f5ebe258b5d0d812ddac12497e5f80fcad5d0b4/translationstring-1.3.tar.gz"; | |
|
942 | md5 = "a4b62e0f3c189c783a1685b3027f7c90"; | |
|
943 | }; | |
|
944 | meta = { | |
|
945 | license = [ { fullName = "BSD-like (http://repoze.org/license.html)"; } ]; | |
|
946 | }; | |
|
947 | }; | |
|
948 | urllib3 = super.buildPythonPackage { | |
|
949 | name = "urllib3-1.17"; | |
|
950 | buildInputs = with self; []; | |
|
951 | doCheck = false; | |
|
952 | propagatedBuildInputs = with self; []; | |
|
953 | src = fetchurl { | |
|
954 | url = "https://pypi.python.org/packages/c2/79/8851583070bac203561d21b9478340535893f587759608156aaca60a615a/urllib3-1.17.tar.gz"; | |
|
955 | md5 = "12d5520f0fffed0e65cb66b5bdc6ddec"; | |
|
956 | }; | |
|
957 | meta = { | |
|
958 | license = [ pkgs.lib.licenses.mit ]; | |
|
959 | }; | |
|
960 | }; | |
|
961 | venusian = super.buildPythonPackage { | |
|
962 | name = "venusian-1.0"; | |
|
963 | buildInputs = with self; []; | |
|
964 | doCheck = false; | |
|
965 | propagatedBuildInputs = with self; []; | |
|
966 | src = fetchurl { | |
|
967 | url = "https://pypi.python.org/packages/86/20/1948e0dfc4930ddde3da8c33612f6a5717c0b4bc28f591a5c5cf014dd390/venusian-1.0.tar.gz"; | |
|
968 | md5 = "dccf2eafb7113759d60c86faf5538756"; | |
|
969 | }; | |
|
970 | meta = { | |
|
971 | license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
|
972 | }; | |
|
973 | }; | |
|
974 | waitress = super.buildPythonPackage { | |
|
975 | name = "waitress-1.0.0"; | |
|
976 | buildInputs = with self; []; | |
|
977 | doCheck = false; | |
|
978 | propagatedBuildInputs = with self; []; | |
|
979 | src = fetchurl { | |
|
980 | url = "https://pypi.python.org/packages/a5/c3/264a56b2470de29f35dda8369886663303c8a2294673b2e6b9975e59f471/waitress-1.0.0.tar.gz"; | |
|
981 | md5 = "b900c4d793e218d77742f47ece58dd43"; | |
|
982 | }; | |
|
983 | meta = { | |
|
984 | license = [ pkgs.lib.licenses.zpt21 ]; | |
|
985 | }; | |
|
986 | }; | |
|
987 | webassets = super.buildPythonPackage { | |
|
988 | name = "webassets-0.11.1"; | |
|
989 | buildInputs = with self; []; | |
|
990 | doCheck = false; | |
|
991 | propagatedBuildInputs = with self; []; | |
|
992 | src = fetchurl { | |
|
993 | url = "https://pypi.python.org/packages/0e/97/f0cd013a3ae074672e9fdfa8629e4071b5cc420a2c82bef5622a87631d1c/webassets-0.11.1.tar.gz"; | |
|
994 | md5 = "6acca51bd12fbdc0399ab1a9b67a1599"; | |
|
995 | }; | |
|
996 | meta = { | |
|
997 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
998 | }; | |
|
999 | }; | |
|
1000 | webhelpers2 = super.buildPythonPackage { | |
|
1001 | name = "webhelpers2-2.0"; | |
|
1002 | buildInputs = with self; []; | |
|
1003 | doCheck = false; | |
|
1004 | propagatedBuildInputs = with self; [MarkupSafe six]; | |
|
1005 | src = fetchurl { | |
|
1006 | url = "https://pypi.python.org/packages/ff/30/56342c6ea522439e3662427c8d7b5e5b390dff4ff2dc92d8afcb8ab68b75/WebHelpers2-2.0.tar.gz"; | |
|
1007 | md5 = "0f6b68d70c12ee0aed48c00b24da13d3"; | |
|
1008 | }; | |
|
1009 | meta = { | |
|
1010 | license = [ pkgs.lib.licenses.mit ]; | |
|
1011 | }; | |
|
1012 | }; | |
|
1013 | wtforms = super.buildPythonPackage { | |
|
1014 | name = "wtforms-2.1"; | |
|
1015 | buildInputs = with self; []; | |
|
1016 | doCheck = false; | |
|
1017 | propagatedBuildInputs = with self; []; | |
|
1018 | src = fetchurl { | |
|
1019 | url = "https://pypi.python.org/packages/bf/91/2e553b86c55e9cf2f33265de50e052441fb753af46f5f20477fe9c61280e/WTForms-2.1.zip"; | |
|
1020 | md5 = "6938a541fafd1a1ae2f6b9b88588eef2"; | |
|
1021 | }; | |
|
1022 | meta = { | |
|
1023 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
1024 | }; | |
|
1025 | }; | |
|
1026 | ziggurat-foundations = super.buildPythonPackage { | |
|
1027 | name = "ziggurat-foundations-0.6.8"; | |
|
1028 | buildInputs = with self; []; | |
|
1029 | doCheck = false; | |
|
1030 | propagatedBuildInputs = with self; [SQLAlchemy passlib paginate paginate-sqlalchemy alembic six]; | |
|
1031 | src = fetchurl { | |
|
1032 | url = "https://pypi.python.org/packages/b2/3c/f9a0112a30424a58fccdd357338b4559fdda9e1bb3c9611b1ad263abf49e/ziggurat_foundations-0.6.8.tar.gz"; | |
|
1033 | md5 = "d2cc7201667b0e01099456a77726179c"; | |
|
1034 | }; | |
|
1035 | meta = { | |
|
1036 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
1037 | }; | |
|
1038 | }; | |
|
1039 | zope.deprecation = super.buildPythonPackage { | |
|
1040 | name = "zope.deprecation-4.1.2"; | |
|
1041 | buildInputs = with self; []; | |
|
1042 | doCheck = false; | |
|
1043 | propagatedBuildInputs = with self; [setuptools]; | |
|
1044 | src = fetchurl { | |
|
1045 | url = "https://pypi.python.org/packages/c1/d3/3919492d5e57d8dd01b36f30b34fc8404a30577392b1eb817c303499ad20/zope.deprecation-4.1.2.tar.gz"; | |
|
1046 | md5 = "e9a663ded58f4f9f7881beb56cae2782"; | |
|
1047 | }; | |
|
1048 | meta = { | |
|
1049 | license = [ pkgs.lib.licenses.zpt21 ]; | |
|
1050 | }; | |
|
1051 | }; | |
|
1052 | zope.interface = super.buildPythonPackage { | |
|
1053 | name = "zope.interface-4.3.2"; | |
|
1054 | buildInputs = with self; []; | |
|
1055 | doCheck = false; | |
|
1056 | propagatedBuildInputs = with self; [setuptools]; | |
|
1057 | src = fetchurl { | |
|
1058 | url = "https://pypi.python.org/packages/38/1b/d55c39f2cf442bd9fb2c59760ed058c84b57d25c680819c25f3aff741e1f/zope.interface-4.3.2.tar.gz"; | |
|
1059 | md5 = "5f7e15a5bcdfa3c6c0e93ffe45caf87c"; | |
|
1060 | }; | |
|
1061 | meta = { | |
|
1062 | license = [ pkgs.lib.licenses.zpt21 ]; | |
|
1063 | }; | |
|
1064 | }; | |
|
1065 | zope.sqlalchemy = super.buildPythonPackage { | |
|
1066 | name = "zope.sqlalchemy-0.7.6"; | |
|
1067 | buildInputs = with self; []; | |
|
1068 | doCheck = false; | |
|
1069 | propagatedBuildInputs = with self; [setuptools SQLAlchemy transaction zope.interface]; | |
|
1070 | src = fetchurl { | |
|
1071 | url = "https://pypi.python.org/packages/d0/e0/5df0d7f9f1955e2e2edecbb1367cf1fa76bc2f84d700661ffd4161c7e2e9/zope.sqlalchemy-0.7.6.zip"; | |
|
1072 | md5 = "0f5bf14679951e59007e090b6922688c"; | |
|
1073 | }; | |
|
1074 | meta = { | |
|
1075 | license = [ pkgs.lib.licenses.zpt21 ]; | |
|
1076 | }; | |
|
1077 | }; | |
|
1078 | ||
|
1079 | ### Test requirements | |
|
1080 | ||
|
1081 | ||
|
1082 | } |
@@ -0,0 +1,23 b'' | |||
|
1 | { fetchbower, buildEnv }: | |
|
2 | buildEnv { name = "bower-env"; ignoreCollisions = true; paths = [ | |
|
3 | (fetchbower "angular" "1.5.5" "1.5.5" "01l5z4ympm61akrxqaahmd869625nxzdwkmgbibbwhgm9ir99r60") | |
|
4 | (fetchbower "angular-resource" "1.5.5" "1.5.5" "022p70clz5xrj0jgslk6hhbbvb787mz42i0gnbi06r7m4x7k38i9") | |
|
5 | (fetchbower "angular-cookies" "1.5.5" "1.5.5" "18xxvfhja5mk8kwk59m6ay8qfybvafczyfn1hv6jh004xvq0aq95") | |
|
6 | (fetchbower "angular-sanitize" "1.5.5" "1.5.5" "02khk0dp7shia2v2d8marb2paq6rldxbfhsmab7cg9b36a9d166p") | |
|
7 | (fetchbower "angular-animate" "1.5.5" "1.5.5" "1kphsab56wibivkqwxkscrym1blcfs5lims12c6fpsajjqmamcbn") | |
|
8 | (fetchbower "angular-touch" "1.5.5" "1.5.5" "1m9f9d5lkscgl4x7d3jmwiri752cy9dk8k1xpa7hbz2i7gv3mh45") | |
|
9 | (fetchbower "angular-route" "1.5.5" "1.5.5" "0r7j864mdglm3cn6jw8zf2p8a4g1bfzir41986ngqr2dawyk1dld") | |
|
10 | (fetchbower "angular-messages" "1.5.5" "1.5.5" "0rr1ki0ci1bfz4rs0kdyrpwpy3m2ljzy1q764r823lg0qw53lfvn") | |
|
11 | (fetchbower "angular-mocks" "1.5.5" "1.5.5" "17vmjlgsp56qjaszi6n5d3czzzj78cpmlwgai8mrp28b8jhyj5m2") | |
|
12 | (fetchbower "angular-scenario" "1.5.5" "1.5.5" "04bkr6krx2lkazkibch79lvyhmmygk364pcbgpbaj6f27bq3qvvx") | |
|
13 | (fetchbower "angular-bootstrap" "1.3.2" "1.3.2" "0b9kr2926643ryfkmhn0hiv78a82q12qgwyadw2la5ajdkv80pvj") | |
|
14 | (fetchbower "angular-ui-router" "1.0.0-alpha.5" "1.0.0-alpha.5" "0y552x57y3l0z86r3x5yx0p54fhxih7wwdsshqn41ym347wa3nh9") | |
|
15 | (fetchbower "angular-toArrayFilter" "1.0.1" "1.0.1" "06cpx3sap45wnq1fx0g0l0mx83xaym6ijslim9by8h0z7fif3b1x") | |
|
16 | (fetchbower "d3" "3.5.0" "3.5.0" "08abpzas36471dr2ifgwwafnv8s9kr2ppb3zkrbg4yg1f7g8ilxy") | |
|
17 | (fetchbower "c3" "0.4.11" "0.4.11" "0nmzn4pmyk8xjhp3b0c9b67az2ps9zan18k7sjlij1izf4m89dsd") | |
|
18 | (fetchbower "underscore" "1.6.0" "~1.6.0" "0pxb8fn2nd5r9285vaf3vs2m6yzw72s3358fdh8w5kc6j53brs84") | |
|
19 | (fetchbower "json-human" "0.1.1" "*" "0qgcqgjkv1pcpggiwbm17vj93x5ar78988dc5nbnkhd2xazz4xk5") | |
|
20 | (fetchbower "moment" "2.8.4" "~2.8.1" "028996rd13ffn0x0q5skdx3nqm0k9yym8v88rl9c6g6h4v9js10m") | |
|
21 | (fetchbower "angular-smart-table" "2.1.8" "v2.1.8" "1dm29cvpi4njr0m298vvnj4h7xvxjk7y6vii3b5ii43bq6v9yw60") | |
|
22 | (fetchbower "ment.io" "0.9.24" "0.9.24" "0n1w43h5j6c4i2wrmqpkfszg16dbm8lzx7ai59sv5h5gacidr0xp") | |
|
23 | ]; } |
@@ -0,0 +1,15 b'' | |||
|
1 | # This file has been generated by node2nix 1.0.0. Do not edit! | |
|
2 | ||
|
3 | {pkgs ? import <nixpkgs> { | |
|
4 | inherit system; | |
|
5 | }, system ? builtins.currentSystem}: | |
|
6 | ||
|
7 | let | |
|
8 | nodeEnv = import ./node-env.nix { | |
|
9 | inherit (pkgs) stdenv python utillinux runCommand writeTextFile nodejs; | |
|
10 | }; | |
|
11 | in | |
|
12 | import ./node-packages.nix { | |
|
13 | inherit (pkgs) fetchurl fetchgit; | |
|
14 | inherit nodeEnv; | |
|
15 | } |
@@ -0,0 +1,292 b'' | |||
|
1 | # This file originates from node2nix | |
|
2 | ||
|
3 | {stdenv, python, nodejs, utillinux, runCommand, writeTextFile}: | |
|
4 | ||
|
5 | let | |
|
6 | # Create a tar wrapper that filters all the 'Ignoring unknown extended header keyword' noise | |
|
7 | tarWrapper = runCommand "tarWrapper" {} '' | |
|
8 | mkdir -p $out/bin | |
|
9 | ||
|
10 | cat > $out/bin/tar <<EOF | |
|
11 | #! ${stdenv.shell} -e | |
|
12 | $(type -p tar) "\$@" --warning=no-unknown-keyword | |
|
13 | EOF | |
|
14 | ||
|
15 | chmod +x $out/bin/tar | |
|
16 | ''; | |
|
17 | ||
|
18 | # Function that generates a TGZ file from a NPM project | |
|
19 | buildNodeSourceDist = | |
|
20 | { name, version, src, ... }: | |
|
21 | ||
|
22 | stdenv.mkDerivation { | |
|
23 | name = "node-tarball-${name}-${version}"; | |
|
24 | inherit src; | |
|
25 | buildInputs = [ nodejs ]; | |
|
26 | buildPhase = '' | |
|
27 | export HOME=$TMPDIR | |
|
28 | tgzFile=$(npm pack) | |
|
29 | ''; | |
|
30 | installPhase = '' | |
|
31 | mkdir -p $out/tarballs | |
|
32 | mv $tgzFile $out/tarballs | |
|
33 | mkdir -p $out/nix-support | |
|
34 | echo "file source-dist $out/tarballs/$tgzFile" >> $out/nix-support/hydra-build-products | |
|
35 | ''; | |
|
36 | }; | |
|
37 | ||
|
38 | includeDependencies = {dependencies}: | |
|
39 | stdenv.lib.optionalString (dependencies != []) | |
|
40 | (stdenv.lib.concatMapStrings (dependency: | |
|
41 | '' | |
|
42 | # Bundle the dependencies of the package | |
|
43 | mkdir -p node_modules | |
|
44 | cd node_modules | |
|
45 | ||
|
46 | # Only include dependencies if they don't exist. They may also be bundled in the package. | |
|
47 | if [ ! -e "${dependency.name}" ] | |
|
48 | then | |
|
49 | ${composePackage dependency} | |
|
50 | fi | |
|
51 | ||
|
52 | cd .. | |
|
53 | '' | |
|
54 | ) dependencies); | |
|
55 | ||
|
56 | # Recursively composes the dependencies of a package | |
|
57 | composePackage = { name, packageName, src, dependencies ? [], ... }@args: | |
|
58 | let | |
|
59 | fixImpureDependencies = writeTextFile { | |
|
60 | name = "fixDependencies.js"; | |
|
61 | text = '' | |
|
62 | var fs = require('fs'); | |
|
63 | var url = require('url'); | |
|
64 | ||
|
65 | /* | |
|
66 | * Replaces an impure version specification by * | |
|
67 | */ | |
|
68 | function replaceImpureVersionSpec(versionSpec) { | |
|
69 | var parsedUrl = url.parse(versionSpec); | |
|
70 | ||
|
71 | if(versionSpec == "latest" || versionSpec == "unstable" || | |
|
72 | versionSpec.substr(0, 2) == ".." || dependency.substr(0, 2) == "./" || dependency.substr(0, 2) == "~/" || dependency.substr(0, 1) == '/') | |
|
73 | return '*'; | |
|
74 | else if(parsedUrl.protocol == "git:" || parsedUrl.protocol == "git+ssh:" || parsedUrl.protocol == "git+http:" || parsedUrl.protocol == "git+https:" || | |
|
75 | parsedUrl.protocol == "http:" || parsedUrl.protocol == "https:") | |
|
76 | return '*'; | |
|
77 | else | |
|
78 | return versionSpec; | |
|
79 | } | |
|
80 | ||
|
81 | var packageObj = JSON.parse(fs.readFileSync('./package.json')); | |
|
82 | ||
|
83 | /* Replace dependencies */ | |
|
84 | if(packageObj.dependencies !== undefined) { | |
|
85 | for(var dependency in packageObj.dependencies) { | |
|
86 | var versionSpec = packageObj.dependencies[dependency]; | |
|
87 | packageObj.dependencies[dependency] = replaceImpureVersionSpec(versionSpec); | |
|
88 | } | |
|
89 | } | |
|
90 | ||
|
91 | /* Replace development dependencies */ | |
|
92 | if(packageObj.devDependencies !== undefined) { | |
|
93 | for(var dependency in packageObj.devDependencies) { | |
|
94 | var versionSpec = packageObj.devDependencies[dependency]; | |
|
95 | packageObj.devDependencies[dependency] = replaceImpureVersionSpec(versionSpec); | |
|
96 | } | |
|
97 | } | |
|
98 | ||
|
99 | /* Replace optional dependencies */ | |
|
100 | if(packageObj.optionalDependencies !== undefined) { | |
|
101 | for(var dependency in packageObj.optionalDependencies) { | |
|
102 | var versionSpec = packageObj.optionalDependencies[dependency]; | |
|
103 | packageObj.optionalDependencies[dependency] = replaceImpureVersionSpec(versionSpec); | |
|
104 | } | |
|
105 | } | |
|
106 | ||
|
107 | /* Write the fixed JSON file */ | |
|
108 | fs.writeFileSync("package.json", JSON.stringify(packageObj)); | |
|
109 | ''; | |
|
110 | }; | |
|
111 | in | |
|
112 | '' | |
|
113 | DIR=$(pwd) | |
|
114 | cd $TMPDIR | |
|
115 | ||
|
116 | unpackFile ${src} | |
|
117 | ||
|
118 | # Make the base dir in which the target dependency resides first | |
|
119 | mkdir -p "$(dirname "$DIR/${packageName}")" | |
|
120 | ||
|
121 | if [ -f "${src}" ] | |
|
122 | then | |
|
123 | # Figure out what directory has been unpacked | |
|
124 | packageDir=$(find . -type d -maxdepth 1 | tail -1) | |
|
125 | ||
|
126 | # Restore write permissions to make building work | |
|
127 | chmod -R u+w "$packageDir" | |
|
128 | ||
|
129 | # Move the extracted tarball into the output folder | |
|
130 | mv "$packageDir" "$DIR/${packageName}" | |
|
131 | elif [ -d "${src}" ] | |
|
132 | then | |
|
133 | # Restore write permissions to make building work | |
|
134 | chmod -R u+w $strippedName | |
|
135 | ||
|
136 | # Move the extracted directory into the output folder | |
|
137 | mv $strippedName "$DIR/${packageName}" | |
|
138 | fi | |
|
139 | ||
|
140 | # Unset the stripped name to not confuse the next unpack step | |
|
141 | unset strippedName | |
|
142 | ||
|
143 | # Some version specifiers (latest, unstable, URLs, file paths) force NPM to make remote connections or consult paths outside the Nix store. | |
|
144 | # The following JavaScript replaces these by * to prevent that | |
|
145 | cd "$DIR/${packageName}" | |
|
146 | node ${fixImpureDependencies} | |
|
147 | ||
|
148 | # Include the dependencies of the package | |
|
149 | ${includeDependencies { inherit dependencies; }} | |
|
150 | cd .. | |
|
151 | ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} | |
|
152 | ''; | |
|
153 | ||
|
154 | # Extract the Node.js source code which is used to compile packages with | |
|
155 | # native bindings | |
|
156 | nodeSources = runCommand "node-sources" {} '' | |
|
157 | tar --no-same-owner --no-same-permissions -xf ${nodejs.src} | |
|
158 | mv node-* $out | |
|
159 | ''; | |
|
160 | ||
|
161 | # Builds and composes an NPM package including all its dependencies | |
|
162 | buildNodePackage = { name, packageName, version, dependencies ? [], production ? true, npmFlags ? "", dontNpmInstall ? false, preRebuild ? "", ... }@args: | |
|
163 | ||
|
164 | stdenv.lib.makeOverridable stdenv.mkDerivation (builtins.removeAttrs args [ "dependencies" ] // { | |
|
165 | name = "node-${name}-${version}"; | |
|
166 | buildInputs = [ tarWrapper python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ args.buildInputs or []; | |
|
167 | dontStrip = args.dontStrip or true; # Striping may fail a build for some package deployments | |
|
168 | ||
|
169 | inherit dontNpmInstall preRebuild; | |
|
170 | ||
|
171 | unpackPhase = args.unpackPhase or "true"; | |
|
172 | ||
|
173 | buildPhase = args.buildPhase or "true"; | |
|
174 | ||
|
175 | compositionScript = composePackage args; | |
|
176 | passAsFile = [ "compositionScript" ]; | |
|
177 | ||
|
178 | installPhase = args.installPhase or '' | |
|
179 | # Create and enter a root node_modules/ folder | |
|
180 | mkdir -p $out/lib/node_modules | |
|
181 | cd $out/lib/node_modules | |
|
182 | ||
|
183 | # Compose the package and all its dependencies | |
|
184 | source $compositionScriptPath | |
|
185 | ||
|
186 | # Patch the shebangs of the bundled modules to prevent them from | |
|
187 | # calling executables outside the Nix store as much as possible | |
|
188 | patchShebangs . | |
|
189 | ||
|
190 | # Deploy the Node.js package by running npm install. Since the | |
|
191 | # dependencies have been provided already by ourselves, it should not | |
|
192 | # attempt to install them again, which is good, because we want to make | |
|
193 | # it Nix's responsibility. If it needs to install any dependencies | |
|
194 | # anyway (e.g. because the dependency parameters are | |
|
195 | # incomplete/incorrect), it fails. | |
|
196 | # | |
|
197 | # The other responsibilities of NPM are kept -- version checks, build | |
|
198 | # steps, postprocessing etc. | |
|
199 | ||
|
200 | export HOME=$TMPDIR | |
|
201 | cd "${packageName}" | |
|
202 | runHook preRebuild | |
|
203 | npm --registry http://www.example.com --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild | |
|
204 | ||
|
205 | if [ "$dontNpmInstall" != "1" ] | |
|
206 | then | |
|
207 | npm --registry http://www.example.com --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} install | |
|
208 | fi | |
|
209 | ||
|
210 | # Create symlink to the deployed executable folder, if applicable | |
|
211 | if [ -d "$out/lib/node_modules/.bin" ] | |
|
212 | then | |
|
213 | ln -s $out/lib/node_modules/.bin $out/bin | |
|
214 | fi | |
|
215 | ||
|
216 | # Create symlinks to the deployed manual page folders, if applicable | |
|
217 | if [ -d "$out/lib/node_modules/${packageName}/man" ] | |
|
218 | then | |
|
219 | mkdir -p $out/share | |
|
220 | for dir in "$out/lib/node_modules/${packageName}/man/"* | |
|
221 | do | |
|
222 | mkdir -p $out/share/man/$(basename "$dir") | |
|
223 | for page in "$dir"/* | |
|
224 | do | |
|
225 | ln -s $page $out/share/man/$(basename "$dir") | |
|
226 | done | |
|
227 | done | |
|
228 | fi | |
|
229 | ''; | |
|
230 | }); | |
|
231 | ||
|
232 | # Builds a development shell | |
|
233 | buildNodeShell = { name, packageName, version, src, dependencies ? [], production ? true, npmFlags ? "", dontNpmInstall ? false, ... }@args: | |
|
234 | let | |
|
235 | nodeDependencies = stdenv.mkDerivation { | |
|
236 | name = "node-dependencies-${name}-${version}"; | |
|
237 | ||
|
238 | buildInputs = [ tarWrapper python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ args.buildInputs or []; | |
|
239 | ||
|
240 | includeScript = includeDependencies { inherit dependencies; }; | |
|
241 | passAsFile = [ "includeScript" ]; | |
|
242 | ||
|
243 | buildCommand = '' | |
|
244 | mkdir -p $out/lib | |
|
245 | cd $out/lib | |
|
246 | source $includeScriptPath | |
|
247 | ||
|
248 | # Create fake package.json to make the npm commands work properly | |
|
249 | cat > package.json <<EOF | |
|
250 | { | |
|
251 | "name": "${packageName}", | |
|
252 | "version": "${version}" | |
|
253 | } | |
|
254 | EOF | |
|
255 | ||
|
256 | # Patch the shebangs of the bundled modules to prevent them from | |
|
257 | # calling executables outside the Nix store as much as possible | |
|
258 | patchShebangs . | |
|
259 | ||
|
260 | export HOME=$TMPDIR | |
|
261 | npm --registry http://www.example.com --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild | |
|
262 | ||
|
263 | ${stdenv.lib.optionalString (!dontNpmInstall) '' | |
|
264 | npm --registry http://www.example.com --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} install | |
|
265 | ''} | |
|
266 | ||
|
267 | ln -s $out/lib/node_modules/.bin $out/bin | |
|
268 | ''; | |
|
269 | }; | |
|
270 | in | |
|
271 | stdenv.mkDerivation { | |
|
272 | name = "node-shell-${name}-${version}"; | |
|
273 | ||
|
274 | buildInputs = [ python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ args.buildInputs or []; | |
|
275 | buildCommand = '' | |
|
276 | mkdir -p $out/bin | |
|
277 | cat > $out/bin/shell <<EOF | |
|
278 | #! ${stdenv.shell} -e | |
|
279 | $shellHook | |
|
280 | exec ${stdenv.shell} | |
|
281 | EOF | |
|
282 | chmod +x $out/bin/shell | |
|
283 | ''; | |
|
284 | ||
|
285 | # Provide the dependencies in a development shell through the NODE_PATH environment variable | |
|
286 | inherit nodeDependencies; | |
|
287 | shellHook = stdenv.lib.optionalString (dependencies != []) '' | |
|
288 | export NODE_PATH=$nodeDependencies/lib/node_modules | |
|
289 | ''; | |
|
290 | }; | |
|
291 | in | |
|
292 | { inherit buildNodeSourceDist buildNodePackage buildNodeShell; } |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
General Comments 0
You need to be logged in to leave comments.
Login now