Show More
@@ -0,0 +1,3 b'' | |||
|
1 | [pip2nix] | |
|
2 | requirements = -r ./requirements_docs.txt | |
|
3 | output = ./python-packages-generated.nix |
@@ -0,0 +1,221 b'' | |||
|
1 | # Generated by pip2nix 0.8.0.dev1 | |
|
2 | # See https://github.com/johbo/pip2nix | |
|
3 | ||
|
4 | { pkgs, fetchurl, fetchgit, fetchhg }: | |
|
5 | ||
|
6 | self: super: { | |
|
7 | "alabaster" = super.buildPythonPackage { | |
|
8 | name = "alabaster-0.7.11"; | |
|
9 | doCheck = false; | |
|
10 | src = fetchurl { | |
|
11 | url = "https://files.pythonhosted.org/packages/3f/46/9346ea429931d80244ab7f11c4fce83671df0b7ae5a60247a2b588592c46/alabaster-0.7.11.tar.gz"; | |
|
12 | sha256 = "1mvm69xsn5xf1jc45kdq1mn0yq0pfn54mv2jcww4s1vwqx6iyfxn"; | |
|
13 | }; | |
|
14 | }; | |
|
15 | "babel" = super.buildPythonPackage { | |
|
16 | name = "babel-2.6.0"; | |
|
17 | doCheck = false; | |
|
18 | propagatedBuildInputs = [ | |
|
19 | self."pytz" | |
|
20 | ]; | |
|
21 | src = fetchurl { | |
|
22 | url = "https://files.pythonhosted.org/packages/be/cc/9c981b249a455fa0c76338966325fc70b7265521bad641bf2932f77712f4/Babel-2.6.0.tar.gz"; | |
|
23 | sha256 = "08rxmbx2s4irp0w0gmn498vns5xy0fagm0fg33xa772jiks51flc"; | |
|
24 | }; | |
|
25 | }; | |
|
26 | "certifi" = super.buildPythonPackage { | |
|
27 | name = "certifi-2018.8.24"; | |
|
28 | doCheck = false; | |
|
29 | src = fetchurl { | |
|
30 | url = "https://files.pythonhosted.org/packages/e1/0f/f8d5e939184547b3bdc6128551b831a62832713aa98c2ccdf8c47ecc7f17/certifi-2018.8.24.tar.gz"; | |
|
31 | sha256 = "0f0nhrj9mlrf79iway4578wrsgmjh0fmacl9zv8zjckdy7b90rip"; | |
|
32 | }; | |
|
33 | }; | |
|
34 | "chardet" = super.buildPythonPackage { | |
|
35 | name = "chardet-3.0.4"; | |
|
36 | doCheck = false; | |
|
37 | src = fetchurl { | |
|
38 | url = "https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz"; | |
|
39 | sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4"; | |
|
40 | }; | |
|
41 | }; | |
|
42 | "docutils" = super.buildPythonPackage { | |
|
43 | name = "docutils-0.14"; | |
|
44 | doCheck = false; | |
|
45 | src = fetchurl { | |
|
46 | url = "https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz"; | |
|
47 | sha256 = "0x22fs3pdmr42kvz6c654756wja305qv6cx1zbhwlagvxgr4xrji"; | |
|
48 | }; | |
|
49 | }; | |
|
50 | "idna" = super.buildPythonPackage { | |
|
51 | name = "idna-2.7"; | |
|
52 | doCheck = false; | |
|
53 | src = fetchurl { | |
|
54 | url = "https://files.pythonhosted.org/packages/65/c4/80f97e9c9628f3cac9b98bfca0402ede54e0563b56482e3e6e45c43c4935/idna-2.7.tar.gz"; | |
|
55 | sha256 = "05jam7d31767dr12x0rbvvs8lxnpb1mhdb2zdlfxgh83z6k3hjk8"; | |
|
56 | }; | |
|
57 | }; | |
|
58 | "imagesize" = super.buildPythonPackage { | |
|
59 | name = "imagesize-1.1.0"; | |
|
60 | doCheck = false; | |
|
61 | src = fetchurl { | |
|
62 | url = "https://files.pythonhosted.org/packages/41/f5/3cf63735d54aa9974e544aa25858d8f9670ac5b4da51020bbfc6aaade741/imagesize-1.1.0.tar.gz"; | |
|
63 | sha256 = "1dg3wn7qpwmhgqc0r9na2ding1wif9q5spz3j9zn2riwphc2k0zk"; | |
|
64 | }; | |
|
65 | }; | |
|
66 | "jinja2" = super.buildPythonPackage { | |
|
67 | name = "jinja2-2.9.6"; | |
|
68 | doCheck = false; | |
|
69 | propagatedBuildInputs = [ | |
|
70 | self."markupsafe" | |
|
71 | ]; | |
|
72 | src = fetchurl { | |
|
73 | url = "https://files.pythonhosted.org/packages/90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/Jinja2-2.9.6.tar.gz"; | |
|
74 | sha256 = "1zzrkywhziqffrzks14kzixz7nd4yh2vc0fb04a68vfd2ai03anx"; | |
|
75 | }; | |
|
76 | }; | |
|
77 | "markupsafe" = super.buildPythonPackage { | |
|
78 | name = "markupsafe-1.0"; | |
|
79 | doCheck = false; | |
|
80 | src = fetchurl { | |
|
81 | url = "https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz"; | |
|
82 | sha256 = "0rdn1s8x9ni7ss8rfiacj7x1085lx8mh2zdwqslnw8xc3l4nkgm6"; | |
|
83 | }; | |
|
84 | }; | |
|
85 | "packaging" = super.buildPythonPackage { | |
|
86 | name = "packaging-17.1"; | |
|
87 | doCheck = false; | |
|
88 | propagatedBuildInputs = [ | |
|
89 | self."pyparsing" | |
|
90 | self."six" | |
|
91 | ]; | |
|
92 | src = fetchurl { | |
|
93 | url = "https://files.pythonhosted.org/packages/77/32/439f47be99809c12ef2da8b60a2c47987786d2c6c9205549dd6ef95df8bd/packaging-17.1.tar.gz"; | |
|
94 | sha256 = "0nrpayk8kij1zm9sjnk38ldz3a6705ggvw8ljylqbrb4vmqbf6gh"; | |
|
95 | }; | |
|
96 | }; | |
|
97 | "pygments" = super.buildPythonPackage { | |
|
98 | name = "pygments-2.2.0"; | |
|
99 | doCheck = false; | |
|
100 | src = fetchurl { | |
|
101 | url = "https://files.pythonhosted.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz"; | |
|
102 | sha256 = "1k78qdvir1yb1c634nkv6rbga8wv4289xarghmsbbvzhvr311bnv"; | |
|
103 | }; | |
|
104 | }; | |
|
105 | "pyparsing" = super.buildPythonPackage { | |
|
106 | name = "pyparsing-2.2.0"; | |
|
107 | doCheck = false; | |
|
108 | src = fetchurl { | |
|
109 | url = "https://files.pythonhosted.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz"; | |
|
110 | sha256 = "016b9gh606aa44sq92jslm89bg874ia0yyiyb643fa6dgbsbqch8"; | |
|
111 | }; | |
|
112 | }; | |
|
113 | "pytz" = super.buildPythonPackage { | |
|
114 | name = "pytz-2018.4"; | |
|
115 | doCheck = false; | |
|
116 | src = fetchurl { | |
|
117 | url = "https://files.pythonhosted.org/packages/10/76/52efda4ef98e7544321fd8d5d512e11739c1df18b0649551aeccfb1c8376/pytz-2018.4.tar.gz"; | |
|
118 | sha256 = "0jgpqx3kk2rhv81j1izjxvmx8d0x7hzs1857pgqnixic5wq2ar60"; | |
|
119 | }; | |
|
120 | }; | |
|
121 | "requests" = super.buildPythonPackage { | |
|
122 | name = "requests-2.19.1"; | |
|
123 | doCheck = false; | |
|
124 | propagatedBuildInputs = [ | |
|
125 | self."chardet" | |
|
126 | self."idna" | |
|
127 | self."urllib3" | |
|
128 | self."certifi" | |
|
129 | ]; | |
|
130 | src = fetchurl { | |
|
131 | url = "https://files.pythonhosted.org/packages/54/1f/782a5734931ddf2e1494e4cd615a51ff98e1879cbe9eecbdfeaf09aa75e9/requests-2.19.1.tar.gz"; | |
|
132 | sha256 = "0snf8xxdzsgh1x2zv3vilvbrv9jbpmnfagzzb1rjmmvflckdh8pc"; | |
|
133 | }; | |
|
134 | }; | |
|
135 | "setuptools" = super.buildPythonPackage { | |
|
136 | name = "setuptools-40.2.0"; | |
|
137 | doCheck = false; | |
|
138 | src = fetchurl { | |
|
139 | url = "https://files.pythonhosted.org/packages/ef/1d/201c13e353956a1c840f5d0fbf0461bd45bbd678ea4843ebf25924e8984c/setuptools-40.2.0.zip"; | |
|
140 | sha256 = "19ng5m7kigllg3x96c91y3a2k28g6kwnbb1v4warrnp4xma1v227"; | |
|
141 | }; | |
|
142 | }; | |
|
143 | "six" = super.buildPythonPackage { | |
|
144 | name = "six-1.11.0"; | |
|
145 | doCheck = false; | |
|
146 | src = fetchurl { | |
|
147 | url = "https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz"; | |
|
148 | sha256 = "1scqzwc51c875z23phj48gircqjgnn3af8zy2izjwmnlxrxsgs3h"; | |
|
149 | }; | |
|
150 | }; | |
|
151 | "snowballstemmer" = super.buildPythonPackage { | |
|
152 | name = "snowballstemmer-1.2.1"; | |
|
153 | doCheck = false; | |
|
154 | src = fetchurl { | |
|
155 | url = "https://files.pythonhosted.org/packages/20/6b/d2a7cb176d4d664d94a6debf52cd8dbae1f7203c8e42426daa077051d59c/snowballstemmer-1.2.1.tar.gz"; | |
|
156 | sha256 = "0a0idq4y5frv7qsg2x62jd7rd272749xk4x99misf5rcifk2d7wi"; | |
|
157 | }; | |
|
158 | }; | |
|
159 | "sphinx" = super.buildPythonPackage { | |
|
160 | name = "sphinx-1.7.8"; | |
|
161 | doCheck = false; | |
|
162 | propagatedBuildInputs = [ | |
|
163 | self."six" | |
|
164 | self."jinja2" | |
|
165 | self."pygments" | |
|
166 | self."docutils" | |
|
167 | self."snowballstemmer" | |
|
168 | self."babel" | |
|
169 | self."alabaster" | |
|
170 | self."imagesize" | |
|
171 | self."requests" | |
|
172 | self."setuptools" | |
|
173 | self."packaging" | |
|
174 | self."sphinxcontrib-websupport" | |
|
175 | self."typing" | |
|
176 | ]; | |
|
177 | src = fetchurl { | |
|
178 | url = "https://files.pythonhosted.org/packages/ac/54/4ef326d0c654da1ed91341a7a1f43efc18a8c770ddd2b8e45df97cb79d82/Sphinx-1.7.8.tar.gz"; | |
|
179 | sha256 = "1ryz0w4c31930f1br2sjwrxwx9cmsy7cqdb0d81g98n9bj250w50"; | |
|
180 | }; | |
|
181 | }; | |
|
182 | "sphinx-rtd-theme" = super.buildPythonPackage { | |
|
183 | name = "sphinx-rtd-theme-0.4.1"; | |
|
184 | doCheck = false; | |
|
185 | propagatedBuildInputs = [ | |
|
186 | self."sphinx" | |
|
187 | ]; | |
|
188 | src = fetchurl { | |
|
189 | url = "https://files.pythonhosted.org/packages/f2/b0/a1933d792b806118ddbca6699f2e2c844d9b1b16e84a89d7effd5cd2a800/sphinx_rtd_theme-0.4.1.tar.gz"; | |
|
190 | sha256 = "1xkyqam8dzbjaymdyvkiif85m4y3jf8crdiwlgcfp8gqcj57aj9v"; | |
|
191 | }; | |
|
192 | }; | |
|
193 | "sphinxcontrib-websupport" = super.buildPythonPackage { | |
|
194 | name = "sphinxcontrib-websupport-1.1.0"; | |
|
195 | doCheck = false; | |
|
196 | src = fetchurl { | |
|
197 | url = "https://files.pythonhosted.org/packages/07/7a/e74b06dce85555ffee33e1d6b7381314169ebf7e31b62c18fcb2815626b7/sphinxcontrib-websupport-1.1.0.tar.gz"; | |
|
198 | sha256 = "1ff3ix76xi1y6m99qxhaq5161ix9swwzydilvdya07mgbcvpzr4x"; | |
|
199 | }; | |
|
200 | }; | |
|
201 | "typing" = super.buildPythonPackage { | |
|
202 | name = "typing-3.6.6"; | |
|
203 | doCheck = false; | |
|
204 | src = fetchurl { | |
|
205 | url = "https://files.pythonhosted.org/packages/bf/9b/2bf84e841575b633d8d91ad923e198a415e3901f228715524689495b4317/typing-3.6.6.tar.gz"; | |
|
206 | sha256 = "0ba9acs4awx15bf9v3nrs781msbd2nx826906nj6fqks2bvca9s0"; | |
|
207 | }; | |
|
208 | }; | |
|
209 | "urllib3" = super.buildPythonPackage { | |
|
210 | name = "urllib3-1.23"; | |
|
211 | doCheck = false; | |
|
212 | src = fetchurl { | |
|
213 | url = "https://files.pythonhosted.org/packages/3c/d2/dc5471622bd200db1cd9319e02e71bc655e9ea27b8e0ce65fc69de0dac15/urllib3-1.23.tar.gz"; | |
|
214 | sha256 = "1bvbd35q3zdcd7gsv38fwpizy7p06dr0154g5gfybrvnbvhwb2m6"; | |
|
215 | }; | |
|
216 | }; | |
|
217 | ||
|
218 | ### Test requirements | |
|
219 | ||
|
220 | ||
|
221 | } |
@@ -1,4 +1,9 b'' | |||
|
1 | # generating packages | |
|
2 | nix-shell pkgs/shell-generate.nix | |
|
3 | cd docs | |
|
4 | pip2nix generate | |
|
5 | ||
|
1 | 6 | # building the docs |
|
2 | 7 | cd docs |
|
3 | 8 | nix-build default.nix -o result |
|
4 | make clean html No newline at end of file | |
|
9 | make clean html |
@@ -32,6 +32,7 b' import common' | |||
|
32 | 32 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
|
33 | 33 | # ones. |
|
34 | 34 | extensions = [ |
|
35 | 'sphinx.ext.autodoc', | |
|
35 | 36 | 'sphinx.ext.intersphinx', |
|
36 | 37 | 'sphinx.ext.todo', |
|
37 | 38 | 'sphinx.ext.imgmath' |
@@ -42,13 +43,6 b' intersphinx_mapping = {' | |||
|
42 | 43 | 'control': ('https://docs.rhodecode.com/RhodeCode-Control/', None), |
|
43 | 44 | } |
|
44 | 45 | |
|
45 | if tags.has('dev'): | |
|
46 | intersphinx_mapping.update({ | |
|
47 | 'enterprise': ('https://ci.rhodecode.com/documentation/Momentum/', None), | |
|
48 | 'control': ('https://ci.rhodecode.com/documentation/Control/', None), | |
|
49 | }) | |
|
50 | ||
|
51 | ||
|
52 | 46 | # Add any paths that contain templates here, relative to this directory. |
|
53 | 47 | templates_path = ['_templates'] |
|
54 | 48 | |
@@ -65,11 +59,12 b" master_doc = 'index'" | |||
|
65 | 59 | # |version| and |release|, also used in various other places throughout the |
|
66 | 60 | # built documents. |
|
67 | 61 | |
|
68 | # TODO: johbo: Move into common package for documentation utilities | |
|
62 | ||
|
69 | 63 | def _get_version(): |
|
70 | 64 | with open('../rhodecode/VERSION') as f: |
|
71 | 65 | return f.read().strip() |
|
72 | 66 | |
|
67 | ||
|
73 | 68 | # The full version, including alpha/beta/rc tags. |
|
74 | 69 | release = _get_version() |
|
75 | 70 | # The short X.Y version. |
@@ -5,54 +5,163 b' let' | |||
|
5 | 5 | |
|
6 | 6 | pkgs = import <nixpkgs> { inherit system; }; |
|
7 | 7 | |
|
8 |
inherit (pkgs) fetchurl |
|
|
8 | inherit (pkgs) fetchurl; | |
|
9 | 9 | |
|
10 | 10 | buildPythonPackage = pkgs.python27Packages.buildPythonPackage; |
|
11 | 11 | python = pkgs.python27Packages.python; |
|
12 | 12 | |
|
13 | Jinja2 = buildPythonPackage rec { | |
|
14 | name = "Jinja2-2.9.6"; | |
|
15 | buildInputs = []; | |
|
13 | ||
|
14 | alabaster = buildPythonPackage { | |
|
15 | name = "alabaster-0.7.11"; | |
|
16 | doCheck = false; | |
|
17 | src = fetchurl { | |
|
18 | url = "https://files.pythonhosted.org/packages/3f/46/9346ea429931d80244ab7f11c4fce83671df0b7ae5a60247a2b588592c46/alabaster-0.7.11.tar.gz"; | |
|
19 | sha256 = "1mvm69xsn5xf1jc45kdq1mn0yq0pfn54mv2jcww4s1vwqx6iyfxn"; | |
|
20 | }; | |
|
21 | }; | |
|
22 | babel = buildPythonPackage { | |
|
23 | name = "babel-2.6.0"; | |
|
16 | 24 | doCheck = false; |
|
17 |
propagatedBuildInputs = [ |
|
|
25 | propagatedBuildInputs = [ | |
|
26 | pytz | |
|
27 | ]; | |
|
18 | 28 | src = fetchurl { |
|
19 | url = "https://pypi.python.org/packages/90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/Jinja2-2.9.6.tar.gz"; | |
|
20 | md5 = "6411537324b4dba0956aaa8109f3c77b"; | |
|
29 | url = "https://files.pythonhosted.org/packages/be/cc/9c981b249a455fa0c76338966325fc70b7265521bad641bf2932f77712f4/Babel-2.6.0.tar.gz"; | |
|
30 | sha256 = "08rxmbx2s4irp0w0gmn498vns5xy0fagm0fg33xa772jiks51flc"; | |
|
31 | }; | |
|
32 | }; | |
|
33 | certifi = buildPythonPackage { | |
|
34 | name = "certifi-2018.8.24"; | |
|
35 | doCheck = false; | |
|
36 | src = fetchurl { | |
|
37 | url = "https://files.pythonhosted.org/packages/e1/0f/f8d5e939184547b3bdc6128551b831a62832713aa98c2ccdf8c47ecc7f17/certifi-2018.8.24.tar.gz"; | |
|
38 | sha256 = "0f0nhrj9mlrf79iway4578wrsgmjh0fmacl9zv8zjckdy7b90rip"; | |
|
21 | 39 | }; |
|
22 | 40 | }; |
|
23 | ||
|
24 | MarkupSafe = buildPythonPackage rec { | |
|
25 | name = "MarkupSafe-1.0"; | |
|
26 | buildInputs = []; | |
|
41 | chardet = buildPythonPackage { | |
|
42 | name = "chardet-3.0.4"; | |
|
43 | doCheck = false; | |
|
44 | src = fetchurl { | |
|
45 | url = "https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz"; | |
|
46 | sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4"; | |
|
47 | }; | |
|
48 | }; | |
|
49 | docutils = buildPythonPackage { | |
|
50 | name = "docutils-0.14"; | |
|
51 | doCheck = false; | |
|
52 | src = fetchurl { | |
|
53 | url = "https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz"; | |
|
54 | sha256 = "0x22fs3pdmr42kvz6c654756wja305qv6cx1zbhwlagvxgr4xrji"; | |
|
55 | }; | |
|
56 | }; | |
|
57 | idna = buildPythonPackage { | |
|
58 | name = "idna-2.7"; | |
|
27 | 59 | doCheck = false; |
|
28 | propagatedBuildInputs = []; | |
|
60 | src = fetchurl { | |
|
61 | url = "https://files.pythonhosted.org/packages/65/c4/80f97e9c9628f3cac9b98bfca0402ede54e0563b56482e3e6e45c43c4935/idna-2.7.tar.gz"; | |
|
62 | sha256 = "05jam7d31767dr12x0rbvvs8lxnpb1mhdb2zdlfxgh83z6k3hjk8"; | |
|
63 | }; | |
|
64 | }; | |
|
65 | imagesize = buildPythonPackage { | |
|
66 | name = "imagesize-1.1.0"; | |
|
67 | doCheck = false; | |
|
29 | 68 | src = fetchurl { |
|
30 | url = "https://pypi.python.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz"; | |
|
31 | md5 = "2fcedc9284d50e577b5192e8e3578355"; | |
|
69 | url = "https://files.pythonhosted.org/packages/41/f5/3cf63735d54aa9974e544aa25858d8f9670ac5b4da51020bbfc6aaade741/imagesize-1.1.0.tar.gz"; | |
|
70 | sha256 = "1dg3wn7qpwmhgqc0r9na2ding1wif9q5spz3j9zn2riwphc2k0zk"; | |
|
71 | }; | |
|
72 | }; | |
|
73 | jinja2 = buildPythonPackage { | |
|
74 | name = "jinja2-2.9.6"; | |
|
75 | doCheck = false; | |
|
76 | propagatedBuildInputs = [ | |
|
77 | markupsafe | |
|
78 | ]; | |
|
79 | src = fetchurl { | |
|
80 | url = "https://files.pythonhosted.org/packages/90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/Jinja2-2.9.6.tar.gz"; | |
|
81 | sha256 = "1zzrkywhziqffrzks14kzixz7nd4yh2vc0fb04a68vfd2ai03anx"; | |
|
32 | 82 | }; |
|
33 | 83 | }; |
|
34 | ||
|
35 | Pygments = buildPythonPackage { | |
|
36 | name = "Pygments-2.2.0"; | |
|
37 | buildInputs = []; | |
|
84 | markupsafe = buildPythonPackage { | |
|
85 | name = "markupsafe-1.0"; | |
|
86 | doCheck = false; | |
|
87 | src = fetchurl { | |
|
88 | url = "https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz"; | |
|
89 | sha256 = "0rdn1s8x9ni7ss8rfiacj7x1085lx8mh2zdwqslnw8xc3l4nkgm6"; | |
|
90 | }; | |
|
91 | }; | |
|
92 | packaging = buildPythonPackage { | |
|
93 | name = "packaging-17.1"; | |
|
38 | 94 | doCheck = false; |
|
39 |
propagatedBuildInputs = [ |
|
|
95 | propagatedBuildInputs = [ | |
|
96 | pyparsing | |
|
97 | six | |
|
98 | ]; | |
|
40 | 99 | src = fetchurl { |
|
41 | url = "https://pypi.python.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz"; | |
|
42 | md5 = "13037baca42f16917cbd5ad2fab50844"; | |
|
100 | url = "https://files.pythonhosted.org/packages/77/32/439f47be99809c12ef2da8b60a2c47987786d2c6c9205549dd6ef95df8bd/packaging-17.1.tar.gz"; | |
|
101 | sha256 = "0nrpayk8kij1zm9sjnk38ldz3a6705ggvw8ljylqbrb4vmqbf6gh"; | |
|
102 | }; | |
|
103 | }; | |
|
104 | pygments = buildPythonPackage { | |
|
105 | name = "pygments-2.2.0"; | |
|
106 | doCheck = false; | |
|
107 | src = fetchurl { | |
|
108 | url = "https://files.pythonhosted.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz"; | |
|
109 | sha256 = "1k78qdvir1yb1c634nkv6rbga8wv4289xarghmsbbvzhvr311bnv"; | |
|
110 | }; | |
|
111 | }; | |
|
112 | pyparsing = buildPythonPackage { | |
|
113 | name = "pyparsing-2.2.0"; | |
|
114 | doCheck = false; | |
|
115 | src = fetchurl { | |
|
116 | url = "https://files.pythonhosted.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz"; | |
|
117 | sha256 = "016b9gh606aa44sq92jslm89bg874ia0yyiyb643fa6dgbsbqch8"; | |
|
43 | 118 | }; |
|
44 | 119 | }; |
|
45 | ||
|
46 | Sphinx = buildPythonPackage (rec { | |
|
47 | name = "Sphinx-1.6.5"; | |
|
120 | pytz = buildPythonPackage { | |
|
121 | name = "pytz-2018.4"; | |
|
122 | doCheck = false; | |
|
123 | src = fetchurl { | |
|
124 | url = "https://files.pythonhosted.org/packages/10/76/52efda4ef98e7544321fd8d5d512e11739c1df18b0649551aeccfb1c8376/pytz-2018.4.tar.gz"; | |
|
125 | sha256 = "0jgpqx3kk2rhv81j1izjxvmx8d0x7hzs1857pgqnixic5wq2ar60"; | |
|
126 | }; | |
|
127 | }; | |
|
128 | requests = buildPythonPackage { | |
|
129 | name = "requests-2.19.1"; | |
|
130 | doCheck = false; | |
|
131 | propagatedBuildInputs = [ | |
|
132 | chardet | |
|
133 | idna | |
|
134 | urllib3 | |
|
135 | certifi | |
|
136 | ]; | |
|
48 | 137 | src = fetchurl { |
|
49 | url = "https://pypi.python.org/packages/8b/7e/b188d9a3b9c938e736e02a74c1363c2888e095d770df2c72b4c312f9fdcb/Sphinx-1.6.5.tar.gz"; | |
|
50 | md5 = "cd73118c21ec610432e63e6421ec54f1"; | |
|
138 | url = "https://files.pythonhosted.org/packages/54/1f/782a5734931ddf2e1494e4cd615a51ff98e1879cbe9eecbdfeaf09aa75e9/requests-2.19.1.tar.gz"; | |
|
139 | sha256 = "0snf8xxdzsgh1x2zv3vilvbrv9jbpmnfagzzb1rjmmvflckdh8pc"; | |
|
140 | }; | |
|
141 | }; | |
|
142 | six = buildPythonPackage { | |
|
143 | name = "six-1.11.0"; | |
|
144 | doCheck = false; | |
|
145 | src = fetchurl { | |
|
146 | url = "https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz"; | |
|
147 | sha256 = "1scqzwc51c875z23phj48gircqjgnn3af8zy2izjwmnlxrxsgs3h"; | |
|
148 | }; | |
|
51 | 149 |
|
|
150 | snowballstemmer = buildPythonPackage { | |
|
151 | name = "snowballstemmer-1.2.1"; | |
|
152 | doCheck = false; | |
|
153 | src = fetchurl { | |
|
154 | url = "https://files.pythonhosted.org/packages/20/6b/d2a7cb176d4d664d94a6debf52cd8dbae1f7203c8e42426daa077051d59c/snowballstemmer-1.2.1.tar.gz"; | |
|
155 | sha256 = "0a0idq4y5frv7qsg2x62jd7rd272749xk4x99misf5rcifk2d7wi"; | |
|
156 | }; | |
|
157 | }; | |
|
158 | sphinx = buildPythonPackage { | |
|
159 | name = "sphinx-1.7.8"; | |
|
160 | doCheck = false; | |
|
52 | 161 | propagatedBuildInputs = [ |
|
53 | 162 |
|
|
54 |
|
|
|
55 |
|
|
|
163 | jinja2 | |
|
164 | pygments | |
|
56 | 165 |
|
|
57 | 166 |
|
|
58 | 167 |
|
@@ -60,194 +169,51 b' let' | |||
|
60 | 169 |
|
|
61 | 170 |
|
|
62 | 171 |
|
|
172 | packaging | |
|
63 | 173 |
|
|
64 | 174 |
|
|
65 | ||
|
66 | # special cases | |
|
67 | pytz | |
|
68 | sphinx_rtd_theme | |
|
69 | ||
|
70 | 175 | ]; |
|
71 | }); | |
|
72 | ||
|
73 | alabaster = buildPythonPackage rec { | |
|
74 | name = "alabaster-0.7.10"; | |
|
75 | buildInputs = []; | |
|
76 | doCheck = false; | |
|
77 | propagatedBuildInputs = []; | |
|
78 | 176 | src = fetchurl { |
|
79 | url = "https://pypi.python.org/packages/d0/a5/e3a9ad3ee86aceeff71908ae562580643b955ea1b1d4f08ed6f7e8396bd7/alabaster-0.7.10.tar.gz"; | |
|
80 | md5 = "7934dccf38801faa105f6e7b4784f493"; | |
|
177 | url = "https://files.pythonhosted.org/packages/ac/54/4ef326d0c654da1ed91341a7a1f43efc18a8c770ddd2b8e45df97cb79d82/Sphinx-1.7.8.tar.gz"; | |
|
178 | sha256 = "1ryz0w4c31930f1br2sjwrxwx9cmsy7cqdb0d81g98n9bj250w50"; | |
|
81 | 179 | }; |
|
82 | 180 | }; |
|
83 | ||
|
84 | babel = buildPythonPackage { | |
|
85 | name = "babel-2.5.1"; | |
|
86 | buildInputs = []; | |
|
181 | sphinx-rtd-theme = buildPythonPackage { | |
|
182 | name = "sphinx-rtd-theme-0.4.1"; | |
|
87 | 183 | doCheck = false; |
|
88 |
propagatedBuildInputs = [ |
|
|
184 | propagatedBuildInputs = [ | |
|
185 | sphinx | |
|
186 | ]; | |
|
89 | 187 | src = fetchurl { |
|
90 | url = "https://pypi.python.org/packages/5a/22/63f1dbb8514bb7e0d0c8a85cc9b14506599a075e231985f98afd70430e1f/Babel-2.5.1.tar.gz"; | |
|
91 | md5 = "60228b3ce93a203357158b909afe8ae1"; | |
|
92 | }; | |
|
93 | }; | |
|
94 | ||
|
95 | certifi = buildPythonPackage { | |
|
96 | name = "certifi-2017.11.5"; | |
|
97 | buildInputs = []; | |
|
98 | doCheck = false; | |
|
99 | propagatedBuildInputs = []; | |
|
100 | src = fetchurl { | |
|
101 | url = "https://pypi.python.org/packages/23/3f/8be01c50ed24a4bd6b8da799839066ce0288f66f5e11f0367323467f0cbc/certifi-2017.11.5.tar.gz"; | |
|
102 | md5 = "c15ac46ed1fe4b607ff3405928f9a992"; | |
|
188 | url = "https://files.pythonhosted.org/packages/f2/b0/a1933d792b806118ddbca6699f2e2c844d9b1b16e84a89d7effd5cd2a800/sphinx_rtd_theme-0.4.1.tar.gz"; | |
|
189 | sha256 = "1xkyqam8dzbjaymdyvkiif85m4y3jf8crdiwlgcfp8gqcj57aj9v"; | |
|
103 | 190 | }; |
|
104 | 191 | }; |
|
105 | ||
|
106 | chardet = buildPythonPackage { | |
|
107 | name = "chardet-3.0.4"; | |
|
108 | buildInputs = []; | |
|
192 | sphinxcontrib-websupport = buildPythonPackage { | |
|
193 | name = "sphinxcontrib-websupport-1.1.0"; | |
|
109 | 194 | doCheck = false; |
|
110 | propagatedBuildInputs = []; | |
|
111 | 195 | src = fetchurl { |
|
112 | url = "https://pypi.python.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz"; | |
|
113 | md5 = "7dd1ba7f9c77e32351b0a0cfacf4055c"; | |
|
196 | url = "https://files.pythonhosted.org/packages/07/7a/e74b06dce85555ffee33e1d6b7381314169ebf7e31b62c18fcb2815626b7/sphinxcontrib-websupport-1.1.0.tar.gz"; | |
|
197 | sha256 = "1ff3ix76xi1y6m99qxhaq5161ix9swwzydilvdya07mgbcvpzr4x"; | |
|
114 | 198 | }; |
|
115 | 199 | }; |
|
116 | ||
|
117 | docutils = buildPythonPackage { | |
|
118 | name = "docutils-0.14"; | |
|
119 | buildInputs = []; | |
|
200 | typing = buildPythonPackage { | |
|
201 | name = "typing-3.6.6"; | |
|
120 | 202 | doCheck = false; |
|
121 | propagatedBuildInputs = []; | |
|
122 | 203 | src = fetchurl { |
|
123 | url = "https://pypi.python.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz"; | |
|
124 | md5 = "c53768d63db3873b7d452833553469de"; | |
|
204 | url = "https://files.pythonhosted.org/packages/bf/9b/2bf84e841575b633d8d91ad923e198a415e3901f228715524689495b4317/typing-3.6.6.tar.gz"; | |
|
205 | sha256 = "0ba9acs4awx15bf9v3nrs781msbd2nx826906nj6fqks2bvca9s0"; | |
|
125 | 206 | }; |
|
126 | 207 | }; |
|
127 | ||
|
128 | idna = buildPythonPackage { | |
|
129 | name = "idna-2.6"; | |
|
130 | buildInputs = []; | |
|
208 | urllib3 = buildPythonPackage { | |
|
209 | name = "urllib3-1.23"; | |
|
131 | 210 | doCheck = false; |
|
132 | propagatedBuildInputs = []; | |
|
133 | 211 | src = fetchurl { |
|
134 | url = "https://pypi.python.org/packages/f4/bd/0467d62790828c23c47fc1dfa1b1f052b24efdf5290f071c7a91d0d82fd3/idna-2.6.tar.gz"; | |
|
135 | md5 = "c706e2790b016bd0ed4edd2d4ba4d147"; | |
|
136 | }; | |
|
137 | }; | |
|
138 | ||
|
139 | imagesize = buildPythonPackage { | |
|
140 | name = "imagesize-0.7.1"; | |
|
141 | buildInputs = []; | |
|
142 | doCheck = false; | |
|
143 | propagatedBuildInputs = []; | |
|
144 | src = fetchurl { | |
|
145 | url = "https://pypi.python.org/packages/53/72/6c6f1e787d9cab2cc733cf042f125abec07209a58308831c9f292504e826/imagesize-0.7.1.tar.gz"; | |
|
146 | md5 = "976148283286a6ba5f69b0f81aef8052"; | |
|
212 | url = "https://files.pythonhosted.org/packages/3c/d2/dc5471622bd200db1cd9319e02e71bc655e9ea27b8e0ce65fc69de0dac15/urllib3-1.23.tar.gz"; | |
|
213 | sha256 = "1bvbd35q3zdcd7gsv38fwpizy7p06dr0154g5gfybrvnbvhwb2m6"; | |
|
147 | 214 | }; |
|
148 | 215 | }; |
|
149 | 216 | |
|
150 | pytz = buildPythonPackage { | |
|
151 | name = "pytz-2017.3"; | |
|
152 | buildInputs = []; | |
|
153 | doCheck = false; | |
|
154 | propagatedBuildInputs = []; | |
|
155 | src = fetchurl { | |
|
156 | url = "https://pypi.python.org/packages/60/88/d3152c234da4b2a1f7a989f89609ea488225eaea015bc16fbde2b3fdfefa/pytz-2017.3.zip"; | |
|
157 | md5 = "7006b56c0d68a162d9fe57d4249c3171"; | |
|
158 | }; | |
|
159 | }; | |
|
160 | ||
|
161 | requests = buildPythonPackage { | |
|
162 | name = "requests-2.18.4"; | |
|
163 | buildInputs = []; | |
|
164 | doCheck = false; | |
|
165 | propagatedBuildInputs = [chardet idna urllib3 certifi]; | |
|
166 | src = fetchurl { | |
|
167 | url = "https://pypi.python.org/packages/b0/e1/eab4fc3752e3d240468a8c0b284607899d2fbfb236a56b7377a329aa8d09/requests-2.18.4.tar.gz"; | |
|
168 | md5 = "081412b2ef79bdc48229891af13f4d82"; | |
|
169 | }; | |
|
170 | }; | |
|
171 | ||
|
172 | six = buildPythonPackage { | |
|
173 | name = "six-1.11.0"; | |
|
174 | buildInputs = []; | |
|
175 | doCheck = false; | |
|
176 | propagatedBuildInputs = []; | |
|
177 | src = fetchurl { | |
|
178 | url = "https://pypi.python.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz"; | |
|
179 | md5 = "d12789f9baf7e9fb2524c0c64f1773f8"; | |
|
180 | }; | |
|
181 | }; | |
|
182 | ||
|
183 | snowballstemmer = buildPythonPackage { | |
|
184 | name = "snowballstemmer-1.2.1"; | |
|
185 | buildInputs = []; | |
|
186 | doCheck = false; | |
|
187 | propagatedBuildInputs = []; | |
|
188 | src = fetchurl { | |
|
189 | url = "https://pypi.python.org/packages/20/6b/d2a7cb176d4d664d94a6debf52cd8dbae1f7203c8e42426daa077051d59c/snowballstemmer-1.2.1.tar.gz"; | |
|
190 | md5 = "643b019667a708a922172e33a99bf2fa"; | |
|
191 | }; | |
|
192 | }; | |
|
193 | ||
|
194 | sphinx-rtd-theme = buildPythonPackage { | |
|
195 | name = "sphinx-rtd-theme-0.2.5b1"; | |
|
196 | buildInputs = []; | |
|
197 | doCheck = false; | |
|
198 | propagatedBuildInputs = []; | |
|
199 | src = fetchurl { | |
|
200 | url = "https://pypi.python.org/packages/59/e4/9e3a74a3271e6734911d3f549e8439db53b8ac29adf10c8f698e6c86246b/sphinx_rtd_theme-0.2.5b1.tar.gz"; | |
|
201 | md5 = "0923473a43bd2527f32151f195f2a521"; | |
|
202 | }; | |
|
203 | }; | |
|
204 | ||
|
205 | sphinxcontrib-websupport = buildPythonPackage { | |
|
206 | name = "sphinxcontrib-websupport-1.0.1"; | |
|
207 | buildInputs = []; | |
|
208 | doCheck = false; | |
|
209 | propagatedBuildInputs = []; | |
|
210 | src = fetchurl { | |
|
211 | url = "https://pypi.python.org/packages/c5/6b/f0630436b931ad4f8331a9399ca18a7d447f0fcc0c7178fb56b1aee68d01/sphinxcontrib-websupport-1.0.1.tar.gz"; | |
|
212 | md5 = "84df26463b1ba65b07f926dbe2055665"; | |
|
213 | }; | |
|
214 | }; | |
|
215 | ||
|
216 | typing = buildPythonPackage { | |
|
217 | name = "typing-3.6.2"; | |
|
218 | buildInputs = []; | |
|
219 | doCheck = false; | |
|
220 | propagatedBuildInputs = []; | |
|
221 | src = fetchurl { | |
|
222 | url = "https://pypi.python.org/packages/ca/38/16ba8d542e609997fdcd0214628421c971f8c395084085354b11ff4ac9c3/typing-3.6.2.tar.gz"; | |
|
223 | md5 = "143af0bf3afd1887622771f2f1ffe8e1"; | |
|
224 | }; | |
|
225 | }; | |
|
226 | ||
|
227 | urllib3 = buildPythonPackage { | |
|
228 | name = "urllib3-1.22"; | |
|
229 | buildInputs = []; | |
|
230 | doCheck = false; | |
|
231 | propagatedBuildInputs = []; | |
|
232 | src = fetchurl { | |
|
233 | url = "https://pypi.python.org/packages/ee/11/7c59620aceedcc1ef65e156cc5ce5a24ef87be4107c2b74458464e437a5d/urllib3-1.22.tar.gz"; | |
|
234 | md5 = "0da7bed3fe94bf7dc59ae37885cc72f7"; | |
|
235 | }; | |
|
236 | }; | |
|
237 | ||
|
238 | ||
|
239 | sphinx_rtd_theme = buildPythonPackage rec { | |
|
240 | name = "sphinx-rtd-theme-0.2.5b1"; | |
|
241 | buildInputs = []; | |
|
242 | doCheck = false; | |
|
243 | propagatedBuildInputs = []; | |
|
244 | src = fetchurl { | |
|
245 | url = "https://pypi.python.org/packages/59/e4/9e3a74a3271e6734911d3f549e8439db53b8ac29adf10c8f698e6c86246b/sphinx_rtd_theme-0.2.5b1.tar.gz"; | |
|
246 | md5 = "0923473a43bd2527f32151f195f2a521"; | |
|
247 | }; | |
|
248 | ||
|
249 | ||
|
250 | }; | |
|
251 | 217 | # Avoid that setuptools is replaced, this leads to trouble |
|
252 | 218 | # with buildPythonPackage. |
|
253 | 219 | setuptools = pkgs.python27Packages.setuptools; |
@@ -255,7 +221,7 b' let' | |||
|
255 | 221 | in python.buildEnv.override { |
|
256 | 222 | inherit python; |
|
257 | 223 | extraLibs = [ |
|
258 |
|
|
|
259 |
sphinx |
|
|
224 | sphinx | |
|
225 | sphinx-rtd-theme | |
|
260 | 226 | ]; |
|
261 |
} |
|
|
227 | } No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now