Show More
@@ -1,269 +1,261 b'' | |||
|
1 | 1 | { system ? builtins.currentSystem |
|
2 | 2 | }: |
|
3 | 3 | |
|
4 | 4 | let |
|
5 | 5 | |
|
6 | 6 | pkgs = import <nixpkgs> { inherit system; }; |
|
7 | 7 | |
|
8 | 8 | inherit (pkgs) fetchurl fetchgit; |
|
9 | 9 | |
|
10 | 10 | buildPythonPackage = pkgs.python27Packages.buildPythonPackage; |
|
11 | 11 | python = pkgs.python27Packages.python; |
|
12 | 12 | |
|
13 | 13 | Jinja2 = buildPythonPackage rec { |
|
14 | 14 | name = "Jinja2-2.9.6"; |
|
15 | 15 | buildInputs = []; |
|
16 | 16 | doCheck = false; |
|
17 | 17 | propagatedBuildInputs = [MarkupSafe]; |
|
18 | 18 | src = fetchurl { |
|
19 | 19 | url = "https://pypi.python.org/packages/90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/Jinja2-2.9.6.tar.gz"; |
|
20 | 20 | md5 = "6411537324b4dba0956aaa8109f3c77b"; |
|
21 | 21 | }; |
|
22 | 22 | }; |
|
23 | 23 | |
|
24 | 24 | MarkupSafe = buildPythonPackage rec { |
|
25 | 25 | name = "MarkupSafe-1.0"; |
|
26 | 26 | buildInputs = []; |
|
27 | 27 | doCheck = false; |
|
28 | 28 | propagatedBuildInputs = []; |
|
29 | 29 | src = fetchurl { |
|
30 | 30 | url = "https://pypi.python.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz"; |
|
31 | 31 | md5 = "2fcedc9284d50e577b5192e8e3578355"; |
|
32 | 32 | }; |
|
33 | 33 | }; |
|
34 | 34 | |
|
35 | 35 | Pygments = buildPythonPackage { |
|
36 | 36 | name = "Pygments-2.2.0"; |
|
37 | 37 | buildInputs = []; |
|
38 | 38 | doCheck = false; |
|
39 | 39 | propagatedBuildInputs = []; |
|
40 | 40 | src = fetchurl { |
|
41 | 41 | url = "https://pypi.python.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz"; |
|
42 | 42 | md5 = "13037baca42f16917cbd5ad2fab50844"; |
|
43 | 43 | }; |
|
44 | 44 | }; |
|
45 | 45 | |
|
46 | 46 | Sphinx = buildPythonPackage (rec { |
|
47 | 47 | name = "Sphinx-1.6.5"; |
|
48 | 48 | src = fetchurl { |
|
49 | 49 | url = "https://pypi.python.org/packages/8b/7e/b188d9a3b9c938e736e02a74c1363c2888e095d770df2c72b4c312f9fdcb/Sphinx-1.6.5.tar.gz"; |
|
50 | 50 | md5 = "cd73118c21ec610432e63e6421ec54f1"; |
|
51 | 51 | }; |
|
52 | 52 | propagatedBuildInputs = [ |
|
53 | 53 | six |
|
54 | 54 | Jinja2 |
|
55 | 55 | Pygments |
|
56 | 56 | docutils |
|
57 | 57 | snowballstemmer |
|
58 | 58 | babel |
|
59 | 59 | alabaster |
|
60 | 60 | imagesize |
|
61 | 61 | requests |
|
62 | 62 | setuptools |
|
63 | 63 | sphinxcontrib-websupport |
|
64 | 64 | typing |
|
65 | 65 | |
|
66 | 66 | # special cases |
|
67 | 67 | pytz |
|
68 | 68 | sphinx_rtd_theme |
|
69 | 69 | |
|
70 | 70 | ]; |
|
71 | 71 | }); |
|
72 | 72 | |
|
73 | 73 | alabaster = buildPythonPackage rec { |
|
74 | 74 | name = "alabaster-0.7.10"; |
|
75 | 75 | buildInputs = []; |
|
76 | 76 | doCheck = false; |
|
77 | 77 | propagatedBuildInputs = []; |
|
78 | 78 | src = fetchurl { |
|
79 | 79 | url = "https://pypi.python.org/packages/d0/a5/e3a9ad3ee86aceeff71908ae562580643b955ea1b1d4f08ed6f7e8396bd7/alabaster-0.7.10.tar.gz"; |
|
80 | 80 | md5 = "7934dccf38801faa105f6e7b4784f493"; |
|
81 | 81 | }; |
|
82 | 82 | }; |
|
83 | 83 | |
|
84 | 84 | babel = buildPythonPackage { |
|
85 | 85 | name = "babel-2.5.1"; |
|
86 | 86 | buildInputs = []; |
|
87 | 87 | doCheck = false; |
|
88 | 88 | propagatedBuildInputs = [pytz]; |
|
89 | 89 | src = fetchurl { |
|
90 | 90 | url = "https://pypi.python.org/packages/5a/22/63f1dbb8514bb7e0d0c8a85cc9b14506599a075e231985f98afd70430e1f/Babel-2.5.1.tar.gz"; |
|
91 | 91 | md5 = "60228b3ce93a203357158b909afe8ae1"; |
|
92 | 92 | }; |
|
93 | 93 | }; |
|
94 | 94 | |
|
95 | 95 | certifi = buildPythonPackage { |
|
96 | 96 | name = "certifi-2017.11.5"; |
|
97 | 97 | buildInputs = []; |
|
98 | 98 | doCheck = false; |
|
99 | 99 | propagatedBuildInputs = []; |
|
100 | 100 | src = fetchurl { |
|
101 | 101 | url = "https://pypi.python.org/packages/23/3f/8be01c50ed24a4bd6b8da799839066ce0288f66f5e11f0367323467f0cbc/certifi-2017.11.5.tar.gz"; |
|
102 | 102 | md5 = "c15ac46ed1fe4b607ff3405928f9a992"; |
|
103 | 103 | }; |
|
104 | 104 | }; |
|
105 | 105 | |
|
106 | 106 | chardet = buildPythonPackage { |
|
107 | 107 | name = "chardet-3.0.4"; |
|
108 | 108 | buildInputs = []; |
|
109 | 109 | doCheck = false; |
|
110 | 110 | propagatedBuildInputs = []; |
|
111 | 111 | src = fetchurl { |
|
112 | 112 | url = "https://pypi.python.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz"; |
|
113 | 113 | md5 = "7dd1ba7f9c77e32351b0a0cfacf4055c"; |
|
114 | 114 | }; |
|
115 | 115 | }; |
|
116 | 116 | |
|
117 | 117 | docutils = buildPythonPackage { |
|
118 | 118 | name = "docutils-0.14"; |
|
119 | 119 | buildInputs = []; |
|
120 | 120 | doCheck = false; |
|
121 | 121 | propagatedBuildInputs = []; |
|
122 | 122 | src = fetchurl { |
|
123 | 123 | url = "https://pypi.python.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz"; |
|
124 | 124 | md5 = "c53768d63db3873b7d452833553469de"; |
|
125 | 125 | }; |
|
126 | 126 | }; |
|
127 | 127 | |
|
128 | 128 | idna = buildPythonPackage { |
|
129 | 129 | name = "idna-2.6"; |
|
130 | 130 | buildInputs = []; |
|
131 | 131 | doCheck = false; |
|
132 | 132 | propagatedBuildInputs = []; |
|
133 | 133 | src = fetchurl { |
|
134 | 134 | url = "https://pypi.python.org/packages/f4/bd/0467d62790828c23c47fc1dfa1b1f052b24efdf5290f071c7a91d0d82fd3/idna-2.6.tar.gz"; |
|
135 | 135 | md5 = "c706e2790b016bd0ed4edd2d4ba4d147"; |
|
136 | 136 | }; |
|
137 | 137 | }; |
|
138 | 138 | |
|
139 | 139 | imagesize = buildPythonPackage { |
|
140 | 140 | name = "imagesize-0.7.1"; |
|
141 | 141 | buildInputs = []; |
|
142 | 142 | doCheck = false; |
|
143 | 143 | propagatedBuildInputs = []; |
|
144 | 144 | src = fetchurl { |
|
145 | 145 | url = "https://pypi.python.org/packages/53/72/6c6f1e787d9cab2cc733cf042f125abec07209a58308831c9f292504e826/imagesize-0.7.1.tar.gz"; |
|
146 | 146 | md5 = "976148283286a6ba5f69b0f81aef8052"; |
|
147 | 147 | }; |
|
148 | 148 | }; |
|
149 | 149 | |
|
150 | 150 | pytz = buildPythonPackage { |
|
151 | 151 | name = "pytz-2017.3"; |
|
152 | 152 | buildInputs = []; |
|
153 | 153 | doCheck = false; |
|
154 | 154 | propagatedBuildInputs = []; |
|
155 | 155 | src = fetchurl { |
|
156 | 156 | url = "https://pypi.python.org/packages/60/88/d3152c234da4b2a1f7a989f89609ea488225eaea015bc16fbde2b3fdfefa/pytz-2017.3.zip"; |
|
157 | 157 | md5 = "7006b56c0d68a162d9fe57d4249c3171"; |
|
158 | 158 | }; |
|
159 | 159 | }; |
|
160 | 160 | |
|
161 | 161 | requests = buildPythonPackage { |
|
162 | 162 | name = "requests-2.18.4"; |
|
163 | 163 | buildInputs = []; |
|
164 | 164 | doCheck = false; |
|
165 | 165 | propagatedBuildInputs = [chardet idna urllib3 certifi]; |
|
166 | 166 | src = fetchurl { |
|
167 | 167 | url = "https://pypi.python.org/packages/b0/e1/eab4fc3752e3d240468a8c0b284607899d2fbfb236a56b7377a329aa8d09/requests-2.18.4.tar.gz"; |
|
168 | 168 | md5 = "081412b2ef79bdc48229891af13f4d82"; |
|
169 | 169 | }; |
|
170 | 170 | }; |
|
171 | 171 | |
|
172 | setuptools = buildPythonPackage { | |
|
173 | name = "setuptools-36.6.0"; | |
|
174 | buildInputs = []; | |
|
175 | doCheck = false; | |
|
176 | propagatedBuildInputs = []; | |
|
177 | src = fetchurl { | |
|
178 | url = "https://pypi.python.org/packages/45/29/8814bf414e7cd1031e1a3c8a4169218376e284ea2553cc0822a6ea1c2d78/setuptools-36.6.0.zip"; | |
|
179 | md5 = "74663b15117d9a2cc5295d76011e6fd1"; | |
|
180 | }; | |
|
181 | }; | |
|
182 | ||
|
183 | 172 | six = buildPythonPackage { |
|
184 | 173 | name = "six-1.11.0"; |
|
185 | 174 | buildInputs = []; |
|
186 | 175 | doCheck = false; |
|
187 | 176 | propagatedBuildInputs = []; |
|
188 | 177 | src = fetchurl { |
|
189 | 178 | url = "https://pypi.python.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz"; |
|
190 | 179 | md5 = "d12789f9baf7e9fb2524c0c64f1773f8"; |
|
191 | 180 | }; |
|
192 | 181 | }; |
|
193 | 182 | |
|
194 | 183 | snowballstemmer = buildPythonPackage { |
|
195 | 184 | name = "snowballstemmer-1.2.1"; |
|
196 | 185 | buildInputs = []; |
|
197 | 186 | doCheck = false; |
|
198 | 187 | propagatedBuildInputs = []; |
|
199 | 188 | src = fetchurl { |
|
200 | 189 | url = "https://pypi.python.org/packages/20/6b/d2a7cb176d4d664d94a6debf52cd8dbae1f7203c8e42426daa077051d59c/snowballstemmer-1.2.1.tar.gz"; |
|
201 | 190 | md5 = "643b019667a708a922172e33a99bf2fa"; |
|
202 | 191 | }; |
|
203 | 192 | }; |
|
204 | 193 | |
|
205 | 194 | sphinx-rtd-theme = buildPythonPackage { |
|
206 | 195 | name = "sphinx-rtd-theme-0.2.5b1"; |
|
207 | 196 | buildInputs = []; |
|
208 | 197 | doCheck = false; |
|
209 | 198 | propagatedBuildInputs = []; |
|
210 | 199 | src = fetchurl { |
|
211 | 200 | url = "https://pypi.python.org/packages/59/e4/9e3a74a3271e6734911d3f549e8439db53b8ac29adf10c8f698e6c86246b/sphinx_rtd_theme-0.2.5b1.tar.gz"; |
|
212 | 201 | md5 = "0923473a43bd2527f32151f195f2a521"; |
|
213 | 202 | }; |
|
214 | 203 | }; |
|
215 | 204 | |
|
216 | 205 | sphinxcontrib-websupport = buildPythonPackage { |
|
217 | 206 | name = "sphinxcontrib-websupport-1.0.1"; |
|
218 | 207 | buildInputs = []; |
|
219 | 208 | doCheck = false; |
|
220 | 209 | propagatedBuildInputs = []; |
|
221 | 210 | src = fetchurl { |
|
222 | 211 | url = "https://pypi.python.org/packages/c5/6b/f0630436b931ad4f8331a9399ca18a7d447f0fcc0c7178fb56b1aee68d01/sphinxcontrib-websupport-1.0.1.tar.gz"; |
|
223 | 212 | md5 = "84df26463b1ba65b07f926dbe2055665"; |
|
224 | 213 | }; |
|
225 | 214 | }; |
|
226 | 215 | |
|
227 | 216 | typing = buildPythonPackage { |
|
228 | 217 | name = "typing-3.6.2"; |
|
229 | 218 | buildInputs = []; |
|
230 | 219 | doCheck = false; |
|
231 | 220 | propagatedBuildInputs = []; |
|
232 | 221 | src = fetchurl { |
|
233 | 222 | url = "https://pypi.python.org/packages/ca/38/16ba8d542e609997fdcd0214628421c971f8c395084085354b11ff4ac9c3/typing-3.6.2.tar.gz"; |
|
234 | 223 | md5 = "143af0bf3afd1887622771f2f1ffe8e1"; |
|
235 | 224 | }; |
|
236 | 225 | }; |
|
237 | 226 | |
|
238 | 227 | urllib3 = buildPythonPackage { |
|
239 | 228 | name = "urllib3-1.22"; |
|
240 | 229 | buildInputs = []; |
|
241 | 230 | doCheck = false; |
|
242 | 231 | propagatedBuildInputs = []; |
|
243 | 232 | src = fetchurl { |
|
244 | 233 | url = "https://pypi.python.org/packages/ee/11/7c59620aceedcc1ef65e156cc5ce5a24ef87be4107c2b74458464e437a5d/urllib3-1.22.tar.gz"; |
|
245 | 234 | md5 = "0da7bed3fe94bf7dc59ae37885cc72f7"; |
|
246 | 235 | }; |
|
247 | 236 | }; |
|
248 | 237 | |
|
249 | 238 | |
|
250 | 239 | sphinx_rtd_theme = buildPythonPackage rec { |
|
251 | 240 | name = "sphinx-rtd-theme-0.2.5b1"; |
|
252 | 241 | buildInputs = []; |
|
253 | 242 | doCheck = false; |
|
254 | 243 | propagatedBuildInputs = []; |
|
255 | 244 | src = fetchurl { |
|
256 | 245 | url = "https://pypi.python.org/packages/59/e4/9e3a74a3271e6734911d3f549e8439db53b8ac29adf10c8f698e6c86246b/sphinx_rtd_theme-0.2.5b1.tar.gz"; |
|
257 | 246 | md5 = "0923473a43bd2527f32151f195f2a521"; |
|
258 | 247 | }; |
|
259 | 248 | |
|
260 | 249 | |
|
261 | 250 | }; |
|
251 | # Avoid that setuptools is replaced, this leads to trouble | |
|
252 | # with buildPythonPackage. | |
|
253 | setuptools = pkgs.python27Packages.setuptools; | |
|
262 | 254 | |
|
263 | 255 | in python.buildEnv.override { |
|
264 | 256 | inherit python; |
|
265 | 257 | extraLibs = [ |
|
266 | 258 | Sphinx |
|
267 | 259 | sphinx_rtd_theme |
|
268 | 260 | ]; |
|
269 | 261 | } |
General Comments 0
You need to be logged in to leave comments.
Login now