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 | # building the docs |
|
6 | # building the docs | |
2 | cd docs |
|
7 | cd docs | |
3 | nix-build default.nix -o result |
|
8 | nix-build default.nix -o result | |
4 | make clean html No newline at end of file |
|
9 | make clean html |
@@ -1,316 +1,311 b'' | |||||
1 | # -*- coding: utf-8 -*- |
|
1 | # -*- coding: utf-8 -*- | |
2 | # |
|
2 | # | |
3 | # RhodeCode Enterprise documentation build configuration file, created by |
|
3 | # RhodeCode Enterprise documentation build configuration file, created by | |
4 | # sphinx-quickstart on Tue Nov 4 11:48:37 2014. |
|
4 | # sphinx-quickstart on Tue Nov 4 11:48:37 2014. | |
5 | # |
|
5 | # | |
6 | # This file is execfile()d with the current directory set to its |
|
6 | # This file is execfile()d with the current directory set to its | |
7 | # containing dir. |
|
7 | # containing dir. | |
8 | # |
|
8 | # | |
9 | # Note that not all possible configuration values are present in this |
|
9 | # Note that not all possible configuration values are present in this | |
10 | # autogenerated file. |
|
10 | # autogenerated file. | |
11 | # |
|
11 | # | |
12 | # All configuration values have a default; values that are commented out |
|
12 | # All configuration values have a default; values that are commented out | |
13 | # serve to show the default. |
|
13 | # serve to show the default. | |
14 |
|
14 | |||
15 | import sys |
|
15 | import sys | |
16 | import os |
|
16 | import os | |
17 | import datetime |
|
17 | import datetime | |
18 | import sphinx_rtd_theme |
|
18 | import sphinx_rtd_theme | |
19 |
|
19 | |||
20 | # If extensions (or modules to document with autodoc) are in another directory, |
|
20 | # If extensions (or modules to document with autodoc) are in another directory, | |
21 | # add these directories to sys.path here. If the directory is relative to the |
|
21 | # add these directories to sys.path here. If the directory is relative to the | |
22 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
|
22 | # documentation root, use os.path.abspath to make it absolute, like shown here. | |
23 | sys.path.insert(0, os.path.abspath('.')) |
|
23 | sys.path.insert(0, os.path.abspath('.')) | |
24 | import common |
|
24 | import common | |
25 |
|
25 | |||
26 | # -- General configuration ------------------------------------------------ |
|
26 | # -- General configuration ------------------------------------------------ | |
27 |
|
27 | |||
28 | # If your documentation needs a minimal Sphinx version, state it here. |
|
28 | # If your documentation needs a minimal Sphinx version, state it here. | |
29 | #needs_sphinx = '1.0' |
|
29 | #needs_sphinx = '1.0' | |
30 |
|
30 | |||
31 | # Add any Sphinx extension module names here, as strings. They can be |
|
31 | # Add any Sphinx extension module names here, as strings. They can be | |
32 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
|
32 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | |
33 | # ones. |
|
33 | # ones. | |
34 | extensions = [ |
|
34 | extensions = [ | |
|
35 | 'sphinx.ext.autodoc', | |||
35 | 'sphinx.ext.intersphinx', |
|
36 | 'sphinx.ext.intersphinx', | |
36 | 'sphinx.ext.todo', |
|
37 | 'sphinx.ext.todo', | |
37 | 'sphinx.ext.imgmath' |
|
38 | 'sphinx.ext.imgmath' | |
38 | ] |
|
39 | ] | |
39 |
|
40 | |||
40 | intersphinx_mapping = { |
|
41 | intersphinx_mapping = { | |
41 | 'enterprise': ('https://docs.rhodecode.com/RhodeCode-Enterprise/', None), |
|
42 | 'enterprise': ('https://docs.rhodecode.com/RhodeCode-Enterprise/', None), | |
42 | 'control': ('https://docs.rhodecode.com/RhodeCode-Control/', None), |
|
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 | # Add any paths that contain templates here, relative to this directory. |
|
46 | # Add any paths that contain templates here, relative to this directory. | |
53 | templates_path = ['_templates'] |
|
47 | templates_path = ['_templates'] | |
54 |
|
48 | |||
55 | # The suffix of source filenames. |
|
49 | # The suffix of source filenames. | |
56 | source_suffix = '.rst' |
|
50 | source_suffix = '.rst' | |
57 |
|
51 | |||
58 | # The encoding of source files. |
|
52 | # The encoding of source files. | |
59 | #source_encoding = 'utf-8-sig' |
|
53 | #source_encoding = 'utf-8-sig' | |
60 |
|
54 | |||
61 | # The master toctree document. |
|
55 | # The master toctree document. | |
62 | master_doc = 'index' |
|
56 | master_doc = 'index' | |
63 |
|
57 | |||
64 | # The version info for the project you're documenting, acts as replacement for |
|
58 | # The version info for the project you're documenting, acts as replacement for | |
65 | # |version| and |release|, also used in various other places throughout the |
|
59 | # |version| and |release|, also used in various other places throughout the | |
66 | # built documents. |
|
60 | # built documents. | |
67 |
|
61 | |||
68 | # TODO: johbo: Move into common package for documentation utilities |
|
62 | ||
69 | def _get_version(): |
|
63 | def _get_version(): | |
70 | with open('../rhodecode/VERSION') as f: |
|
64 | with open('../rhodecode/VERSION') as f: | |
71 | return f.read().strip() |
|
65 | return f.read().strip() | |
72 |
|
66 | |||
|
67 | ||||
73 | # The full version, including alpha/beta/rc tags. |
|
68 | # The full version, including alpha/beta/rc tags. | |
74 | release = _get_version() |
|
69 | release = _get_version() | |
75 | # The short X.Y version. |
|
70 | # The short X.Y version. | |
76 | version = '.'.join(release.split('.', 2)[:2]) # First two parts of release |
|
71 | version = '.'.join(release.split('.', 2)[:2]) # First two parts of release | |
77 |
|
72 | |||
78 | # General information about the project. |
|
73 | # General information about the project. | |
79 | project = u'RhodeCode Enterprise %s ' % _get_version() |
|
74 | project = u'RhodeCode Enterprise %s ' % _get_version() | |
80 | copyright = u'2010-{now.year}, RhodeCode GmbH'.format( |
|
75 | copyright = u'2010-{now.year}, RhodeCode GmbH'.format( | |
81 | now=datetime.datetime.today()) |
|
76 | now=datetime.datetime.today()) | |
82 |
|
77 | |||
83 |
|
78 | |||
84 | # The language for content autogenerated by Sphinx. Refer to documentation |
|
79 | # The language for content autogenerated by Sphinx. Refer to documentation | |
85 | # for a list of supported languages. |
|
80 | # for a list of supported languages. | |
86 | #language = None |
|
81 | #language = None | |
87 |
|
82 | |||
88 | rst_epilog = common.rst_epilog + """ |
|
83 | rst_epilog = common.rst_epilog + """ | |
89 | .. |async| replace:: asynchronous |
|
84 | .. |async| replace:: asynchronous | |
90 | """ |
|
85 | """ | |
91 |
|
86 | |||
92 | # There are two options for replacing |today|: either, you set today to some |
|
87 | # There are two options for replacing |today|: either, you set today to some | |
93 | # non-false value, then it is used: |
|
88 | # non-false value, then it is used: | |
94 | #today = '' |
|
89 | #today = '' | |
95 | # Else, today_fmt is used as the format for a strftime call. |
|
90 | # Else, today_fmt is used as the format for a strftime call. | |
96 | #today_fmt = '%B %d, %Y' |
|
91 | #today_fmt = '%B %d, %Y' | |
97 |
|
92 | |||
98 | # List of patterns, relative to source directory, that match files and |
|
93 | # List of patterns, relative to source directory, that match files and | |
99 | # directories to ignore when looking for source files. |
|
94 | # directories to ignore when looking for source files. | |
100 | exclude_patterns = [ |
|
95 | exclude_patterns = [ | |
101 | # Special directories |
|
96 | # Special directories | |
102 | '_build', |
|
97 | '_build', | |
103 | 'result', |
|
98 | 'result', | |
104 |
|
99 | |||
105 | # Other RST files |
|
100 | # Other RST files | |
106 | 'admin/rhodecode-backup.rst', |
|
101 | 'admin/rhodecode-backup.rst', | |
107 | 'issue-trackers/redmine.rst', |
|
102 | 'issue-trackers/redmine.rst', | |
108 | 'known-issues/error-msg-guide.rst', |
|
103 | 'known-issues/error-msg-guide.rst', | |
109 | 'tutorials/docs-build.rst', |
|
104 | 'tutorials/docs-build.rst', | |
110 | 'integrations/example-ext.py', |
|
105 | 'integrations/example-ext.py', | |
111 | 'collaboration/supported-workflows.rst', |
|
106 | 'collaboration/supported-workflows.rst', | |
112 | ] |
|
107 | ] | |
113 |
|
108 | |||
114 |
|
109 | |||
115 | # The reST default role (used for this markup: `text`) to use for all |
|
110 | # The reST default role (used for this markup: `text`) to use for all | |
116 | # documents. |
|
111 | # documents. | |
117 | #default_role = None |
|
112 | #default_role = None | |
118 |
|
113 | |||
119 | # If true, '()' will be appended to :func: etc. cross-reference text. |
|
114 | # If true, '()' will be appended to :func: etc. cross-reference text. | |
120 | #add_function_parentheses = True |
|
115 | #add_function_parentheses = True | |
121 |
|
116 | |||
122 | # If true, the current module name will be prepended to all description |
|
117 | # If true, the current module name will be prepended to all description | |
123 | # unit titles (such as .. function::). |
|
118 | # unit titles (such as .. function::). | |
124 | #add_module_names = True |
|
119 | #add_module_names = True | |
125 |
|
120 | |||
126 | # If true, sectionauthor and moduleauthor directives will be shown in the |
|
121 | # If true, sectionauthor and moduleauthor directives will be shown in the | |
127 | # output. They are ignored by default. |
|
122 | # output. They are ignored by default. | |
128 | #show_authors = False |
|
123 | #show_authors = False | |
129 |
|
124 | |||
130 | # The name of the Pygments (syntax highlighting) style to use. |
|
125 | # The name of the Pygments (syntax highlighting) style to use. | |
131 | pygments_style = 'sphinx' |
|
126 | pygments_style = 'sphinx' | |
132 |
|
127 | |||
133 | # A list of ignored prefixes for module index sorting. |
|
128 | # A list of ignored prefixes for module index sorting. | |
134 | #modindex_common_prefix = [] |
|
129 | #modindex_common_prefix = [] | |
135 |
|
130 | |||
136 | # If true, keep warnings as "system message" paragraphs in the built documents. |
|
131 | # If true, keep warnings as "system message" paragraphs in the built documents. | |
137 | keep_warnings = tags.has("dev") |
|
132 | keep_warnings = tags.has("dev") | |
138 |
|
133 | |||
139 |
|
134 | |||
140 | # -- Options for HTML output ---------------------------------------------- |
|
135 | # -- Options for HTML output ---------------------------------------------- | |
141 |
|
136 | |||
142 | # The theme to use for HTML and HTML Help pages. See the documentation for |
|
137 | # The theme to use for HTML and HTML Help pages. See the documentation for | |
143 | # a list of builtin themes. |
|
138 | # a list of builtin themes. | |
144 | #html_theme = 'rctheme' |
|
139 | #html_theme = 'rctheme' | |
145 | html_theme = 'sphinx_rtd_theme' |
|
140 | html_theme = 'sphinx_rtd_theme' | |
146 |
|
141 | |||
147 | # Theme options are theme-specific and customize the look and feel of a theme |
|
142 | # Theme options are theme-specific and customize the look and feel of a theme | |
148 | # further. For a list of options available for each theme, see the |
|
143 | # further. For a list of options available for each theme, see the | |
149 | # documentation. |
|
144 | # documentation. | |
150 | #html_theme_options = {} |
|
145 | #html_theme_options = {} | |
151 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
|
146 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] | |
152 |
|
147 | |||
153 | # Add any paths that contain custom themes here, relative to this directory. |
|
148 | # Add any paths that contain custom themes here, relative to this directory. | |
154 | #html_theme_path = [] |
|
149 | #html_theme_path = [] | |
155 |
|
150 | |||
156 | # The name for this set of Sphinx documents. If None, it defaults to |
|
151 | # The name for this set of Sphinx documents. If None, it defaults to | |
157 | # "<project> v<release> documentation". |
|
152 | # "<project> v<release> documentation". | |
158 | #html_title = None |
|
153 | #html_title = None | |
159 |
|
154 | |||
160 | # A shorter title for the navigation bar. Default is the same as html_title. |
|
155 | # A shorter title for the navigation bar. Default is the same as html_title. | |
161 | #html_short_title = None |
|
156 | #html_short_title = None | |
162 |
|
157 | |||
163 | # The name of an image file (relative to this directory) to place at the top |
|
158 | # The name of an image file (relative to this directory) to place at the top | |
164 | # of the sidebar. |
|
159 | # of the sidebar. | |
165 | #html_logo = None |
|
160 | #html_logo = None | |
166 | html_sidebars = { |
|
161 | html_sidebars = { | |
167 | '**': ['globaltoc.html'], |
|
162 | '**': ['globaltoc.html'], | |
168 | } |
|
163 | } | |
169 |
|
164 | |||
170 | # The name of an image file (within the static path) to use as favicon of the |
|
165 | # The name of an image file (within the static path) to use as favicon of the | |
171 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
|
166 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 | |
172 | # pixels large. |
|
167 | # pixels large. | |
173 | html_favicon = 'images/favicon.ico' |
|
168 | html_favicon = 'images/favicon.ico' | |
174 |
|
169 | |||
175 | # Add any paths that contain custom static files (such as style sheets) here, |
|
170 | # Add any paths that contain custom static files (such as style sheets) here, | |
176 | # relative to this directory. They are copied after the builtin static files, |
|
171 | # relative to this directory. They are copied after the builtin static files, | |
177 | # so a file named "default.css" will overwrite the builtin "default.css". |
|
172 | # so a file named "default.css" will overwrite the builtin "default.css". | |
178 | html_static_path = ['static/css/add.css'] |
|
173 | html_static_path = ['static/css/add.css'] | |
179 |
|
174 | |||
180 | # Add any extra paths that contain custom files (such as robots.txt or |
|
175 | # Add any extra paths that contain custom files (such as robots.txt or | |
181 | # .htaccess) here, relative to this directory. These files are copied |
|
176 | # .htaccess) here, relative to this directory. These files are copied | |
182 | # directly to the root of the documentation. |
|
177 | # directly to the root of the documentation. | |
183 | #html_extra_path = [] |
|
178 | #html_extra_path = [] | |
184 |
|
179 | |||
185 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
|
180 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, | |
186 | # using the given strftime format. |
|
181 | # using the given strftime format. | |
187 | #html_last_updated_fmt = '%b %d, %Y' |
|
182 | #html_last_updated_fmt = '%b %d, %Y' | |
188 |
|
183 | |||
189 | # If true, SmartyPants will be used to convert quotes and dashes to |
|
184 | # If true, SmartyPants will be used to convert quotes and dashes to | |
190 | # typographically correct entities. |
|
185 | # typographically correct entities. | |
191 | #html_use_smartypants = True |
|
186 | #html_use_smartypants = True | |
192 |
|
187 | |||
193 | # Custom sidebar templates, maps document names to template names. |
|
188 | # Custom sidebar templates, maps document names to template names. | |
194 | #html_sidebars = {} |
|
189 | #html_sidebars = {} | |
195 |
|
190 | |||
196 | # Additional templates that should be rendered to pages, maps page names to |
|
191 | # Additional templates that should be rendered to pages, maps page names to | |
197 | # template names. |
|
192 | # template names. | |
198 | #html_additional_pages = {} |
|
193 | #html_additional_pages = {} | |
199 |
|
194 | |||
200 | # If false, no module index is generated. |
|
195 | # If false, no module index is generated. | |
201 | #html_domain_indices = True |
|
196 | #html_domain_indices = True | |
202 |
|
197 | |||
203 | # If false, no index is generated. |
|
198 | # If false, no index is generated. | |
204 | #html_use_index = True |
|
199 | #html_use_index = True | |
205 |
|
200 | |||
206 | # If true, the index is split into individual pages for each letter. |
|
201 | # If true, the index is split into individual pages for each letter. | |
207 | #html_split_index = False |
|
202 | #html_split_index = False | |
208 |
|
203 | |||
209 | # If true, links to the reST sources are added to the pages. |
|
204 | # If true, links to the reST sources are added to the pages. | |
210 | #html_show_sourcelink = True |
|
205 | #html_show_sourcelink = True | |
211 |
|
206 | |||
212 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
|
207 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. | |
213 | #html_show_sphinx = True |
|
208 | #html_show_sphinx = True | |
214 |
|
209 | |||
215 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
|
210 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. | |
216 | #html_show_copyright = True |
|
211 | #html_show_copyright = True | |
217 |
|
212 | |||
218 | # If true, an OpenSearch description file will be output, and all pages will |
|
213 | # If true, an OpenSearch description file will be output, and all pages will | |
219 | # contain a <link> tag referring to it. The value of this option must be the |
|
214 | # contain a <link> tag referring to it. The value of this option must be the | |
220 | # base URL from which the finished HTML is served. |
|
215 | # base URL from which the finished HTML is served. | |
221 | #html_use_opensearch = '' |
|
216 | #html_use_opensearch = '' | |
222 |
|
217 | |||
223 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
|
218 | # This is the file name suffix for HTML files (e.g. ".xhtml"). | |
224 | #html_file_suffix = None |
|
219 | #html_file_suffix = None | |
225 |
|
220 | |||
226 | # Output file base name for HTML help builder. |
|
221 | # Output file base name for HTML help builder. | |
227 | htmlhelp_basename = 'rhodecode-enterprise' |
|
222 | htmlhelp_basename = 'rhodecode-enterprise' | |
228 |
|
223 | |||
229 |
|
224 | |||
230 | # -- Options for LaTeX output --------------------------------------------- |
|
225 | # -- Options for LaTeX output --------------------------------------------- | |
231 |
|
226 | |||
232 | latex_elements = { |
|
227 | latex_elements = { | |
233 | 'classoptions': ',oneside', |
|
228 | 'classoptions': ',oneside', | |
234 | 'babel': '\\usepackage[english]{babel}', |
|
229 | 'babel': '\\usepackage[english]{babel}', | |
235 |
|
230 | |||
236 | # The paper size ('letterpaper' or 'a4paper'). |
|
231 | # The paper size ('letterpaper' or 'a4paper'). | |
237 | #'papersize': 'letterpaper', |
|
232 | #'papersize': 'letterpaper', | |
238 |
|
233 | |||
239 | # The font size ('10pt', '11pt' or '12pt'). |
|
234 | # The font size ('10pt', '11pt' or '12pt'). | |
240 | #'pointsize': '10pt', |
|
235 | #'pointsize': '10pt', | |
241 |
|
236 | |||
242 | # Additional stuff for the LaTeX preamble. |
|
237 | # Additional stuff for the LaTeX preamble. | |
243 | #'preamble': '', |
|
238 | #'preamble': '', | |
244 | } |
|
239 | } | |
245 |
|
240 | |||
246 | # Grouping the document tree into LaTeX files. List of tuples |
|
241 | # Grouping the document tree into LaTeX files. List of tuples | |
247 | # (source start file, target name, title, |
|
242 | # (source start file, target name, title, | |
248 | # author, documentclass [howto, manual, or own class]). |
|
243 | # author, documentclass [howto, manual, or own class]). | |
249 | latex_documents = [ |
|
244 | latex_documents = [ | |
250 | ('index', 'RhodeCodeEnterprise.tex', u'RhodeCode Enterprise', |
|
245 | ('index', 'RhodeCodeEnterprise.tex', u'RhodeCode Enterprise', | |
251 | u'RhodeCode GmbH', 'manual'), |
|
246 | u'RhodeCode GmbH', 'manual'), | |
252 | ] |
|
247 | ] | |
253 |
|
248 | |||
254 | # The name of an image file (relative to this directory) to place at the top of |
|
249 | # The name of an image file (relative to this directory) to place at the top of | |
255 | # the title page. |
|
250 | # the title page. | |
256 | #latex_logo = None |
|
251 | #latex_logo = None | |
257 |
|
252 | |||
258 | # For "manual" documents, if this is true, then toplevel headings are parts, |
|
253 | # For "manual" documents, if this is true, then toplevel headings are parts, | |
259 | # not chapters. |
|
254 | # not chapters. | |
260 | #latex_use_parts = False |
|
255 | #latex_use_parts = False | |
261 |
|
256 | |||
262 | # If true, show page references after internal links. |
|
257 | # If true, show page references after internal links. | |
263 | latex_show_pagerefs = True |
|
258 | latex_show_pagerefs = True | |
264 |
|
259 | |||
265 | # If true, show URL addresses after external links. |
|
260 | # If true, show URL addresses after external links. | |
266 | latex_show_urls = 'footnote' |
|
261 | latex_show_urls = 'footnote' | |
267 |
|
262 | |||
268 | # Documents to append as an appendix to all manuals. |
|
263 | # Documents to append as an appendix to all manuals. | |
269 | #latex_appendices = [] |
|
264 | #latex_appendices = [] | |
270 |
|
265 | |||
271 | # If false, no module index is generated. |
|
266 | # If false, no module index is generated. | |
272 | #latex_domain_indices = True |
|
267 | #latex_domain_indices = True | |
273 |
|
268 | |||
274 | # Mode for literal blocks wider than the frame. Can be |
|
269 | # Mode for literal blocks wider than the frame. Can be | |
275 | # overflow, shrink or truncate |
|
270 | # overflow, shrink or truncate | |
276 | pdf_fit_mode = "truncate" |
|
271 | pdf_fit_mode = "truncate" | |
277 |
|
272 | |||
278 |
|
273 | |||
279 | # -- Options for manual page output --------------------------------------- |
|
274 | # -- Options for manual page output --------------------------------------- | |
280 |
|
275 | |||
281 | # One entry per manual page. List of tuples |
|
276 | # One entry per manual page. List of tuples | |
282 | # (source start file, name, description, authors, manual section). |
|
277 | # (source start file, name, description, authors, manual section). | |
283 | man_pages = [ |
|
278 | man_pages = [ | |
284 | ('index', 'rhodecodeenterprise', u'RhodeCode Enterprise', |
|
279 | ('index', 'rhodecodeenterprise', u'RhodeCode Enterprise', | |
285 | [u'RhodeCode GmbH'], 1) |
|
280 | [u'RhodeCode GmbH'], 1) | |
286 | ] |
|
281 | ] | |
287 |
|
282 | |||
288 | # If true, show URL addresses after external links. |
|
283 | # If true, show URL addresses after external links. | |
289 | #man_show_urls = False |
|
284 | #man_show_urls = False | |
290 |
|
285 | |||
291 |
|
286 | |||
292 | # -- Options for Texinfo output ------------------------------------------- |
|
287 | # -- Options for Texinfo output ------------------------------------------- | |
293 |
|
288 | |||
294 | # Grouping the document tree into Texinfo files. List of tuples |
|
289 | # Grouping the document tree into Texinfo files. List of tuples | |
295 | # (source start file, target name, title, author, |
|
290 | # (source start file, target name, title, author, | |
296 | # dir menu entry, description, category) |
|
291 | # dir menu entry, description, category) | |
297 | texinfo_documents = [ |
|
292 | texinfo_documents = [ | |
298 | ('index', 'RhodeCodeEnterprise', u'RhodeCode Enterprise', |
|
293 | ('index', 'RhodeCodeEnterprise', u'RhodeCode Enterprise', | |
299 | u'RhodeCode Docs Team', 'RhodeCodeEnterprise', 'RhodeCode Docs Project', |
|
294 | u'RhodeCode Docs Team', 'RhodeCodeEnterprise', 'RhodeCode Docs Project', | |
300 | 'Miscellaneous'), |
|
295 | 'Miscellaneous'), | |
301 | ] |
|
296 | ] | |
302 |
|
297 | |||
303 | # Documents to append as an appendix to all manuals. |
|
298 | # Documents to append as an appendix to all manuals. | |
304 | #texinfo_appendices = [] |
|
299 | #texinfo_appendices = [] | |
305 |
|
300 | |||
306 | # If false, no module index is generated. |
|
301 | # If false, no module index is generated. | |
307 | #texinfo_domain_indices = True |
|
302 | #texinfo_domain_indices = True | |
308 |
|
303 | |||
309 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
|
304 | # How to display URL addresses: 'footnote', 'no', or 'inline'. | |
310 | #texinfo_show_urls = 'footnote' |
|
305 | #texinfo_show_urls = 'footnote' | |
311 |
|
306 | |||
312 | # If true, do not generate a @detailmenu in the "Top" node's menu. |
|
307 | # If true, do not generate a @detailmenu in the "Top" node's menu. | |
313 | #texinfo_no_detailmenu = False |
|
308 | #texinfo_no_detailmenu = False | |
314 |
|
309 | |||
315 | # We want to see todo notes in case of a pre-release build of the documentation |
|
310 | # We want to see todo notes in case of a pre-release build of the documentation | |
316 | todo_include_todos = tags.has("dev") |
|
311 | todo_include_todos = tags.has("dev") |
@@ -1,261 +1,227 b'' | |||||
1 | { system ? builtins.currentSystem |
|
1 | { system ? builtins.currentSystem | |
2 | }: |
|
2 | }: | |
3 |
|
3 | |||
4 | let |
|
4 | let | |
5 |
|
5 | |||
6 | pkgs = import <nixpkgs> { inherit system; }; |
|
6 | pkgs = import <nixpkgs> { inherit system; }; | |
7 |
|
7 | |||
8 |
inherit (pkgs) fetchurl |
|
8 | inherit (pkgs) fetchurl; | |
9 |
|
9 | |||
10 | buildPythonPackage = pkgs.python27Packages.buildPythonPackage; |
|
10 | buildPythonPackage = pkgs.python27Packages.buildPythonPackage; | |
11 | python = pkgs.python27Packages.python; |
|
11 | python = pkgs.python27Packages.python; | |
12 |
|
12 | |||
13 | Jinja2 = buildPythonPackage rec { |
|
13 | ||
14 | name = "Jinja2-2.9.6"; |
|
14 | alabaster = buildPythonPackage { | |
15 | buildInputs = []; |
|
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 | doCheck = false; |
|
24 | doCheck = false; | |
17 |
propagatedBuildInputs = [ |
|
25 | propagatedBuildInputs = [ | |
|
26 | pytz | |||
|
27 | ]; | |||
|
28 | src = fetchurl { | |||
|
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; | |||
18 | src = fetchurl { |
|
36 | src = fetchurl { | |
19 | url = "https://pypi.python.org/packages/90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/Jinja2-2.9.6.tar.gz"; |
|
37 | url = "https://files.pythonhosted.org/packages/e1/0f/f8d5e939184547b3bdc6128551b831a62832713aa98c2ccdf8c47ecc7f17/certifi-2018.8.24.tar.gz"; | |
20 | md5 = "6411537324b4dba0956aaa8109f3c77b"; |
|
38 | sha256 = "0f0nhrj9mlrf79iway4578wrsgmjh0fmacl9zv8zjckdy7b90rip"; | |
|
39 | }; | |||
|
40 | }; | |||
|
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"; | |||
21 | }; |
|
55 | }; | |
22 | }; |
|
56 | }; | |
23 |
|
57 | idna = buildPythonPackage { | ||
24 | MarkupSafe = buildPythonPackage rec { |
|
58 | name = "idna-2.7"; | |
25 | name = "MarkupSafe-1.0"; |
|
59 | doCheck = false; | |
26 | buildInputs = []; |
|
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"; | |||
27 | doCheck = false; |
|
67 | doCheck = false; | |
28 | propagatedBuildInputs = []; |
|
|||
29 | src = fetchurl { |
|
68 | src = fetchurl { | |
30 | url = "https://pypi.python.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz"; |
|
69 | url = "https://files.pythonhosted.org/packages/41/f5/3cf63735d54aa9974e544aa25858d8f9670ac5b4da51020bbfc6aaade741/imagesize-1.1.0.tar.gz"; | |
31 | md5 = "2fcedc9284d50e577b5192e8e3578355"; |
|
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 |
|
84 | markupsafe = buildPythonPackage { | ||
35 | Pygments = buildPythonPackage { |
|
85 | name = "markupsafe-1.0"; | |
36 | name = "Pygments-2.2.0"; |
|
86 | doCheck = false; | |
37 | buildInputs = []; |
|
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 | doCheck = false; |
|
94 | doCheck = false; | |
39 |
propagatedBuildInputs = [ |
|
95 | propagatedBuildInputs = [ | |
|
96 | pyparsing | |||
|
97 | six | |||
|
98 | ]; | |||
40 | src = fetchurl { |
|
99 | src = fetchurl { | |
41 | url = "https://pypi.python.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz"; |
|
100 | url = "https://files.pythonhosted.org/packages/77/32/439f47be99809c12ef2da8b60a2c47987786d2c6c9205549dd6ef95df8bd/packaging-17.1.tar.gz"; | |
42 | md5 = "13037baca42f16917cbd5ad2fab50844"; |
|
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"; | |||
43 | }; |
|
110 | }; | |
44 | }; |
|
111 | }; | |
45 |
|
112 | pyparsing = buildPythonPackage { | ||
46 | Sphinx = buildPythonPackage (rec { |
|
113 | name = "pyparsing-2.2.0"; | |
47 | name = "Sphinx-1.6.5"; |
|
114 | doCheck = false; | |
48 | src = fetchurl { |
|
115 | src = fetchurl { | |
49 | url = "https://pypi.python.org/packages/8b/7e/b188d9a3b9c938e736e02a74c1363c2888e095d770df2c72b4c312f9fdcb/Sphinx-1.6.5.tar.gz"; |
|
116 | url = "https://files.pythonhosted.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz"; | |
50 | md5 = "cd73118c21ec610432e63e6421ec54f1"; |
|
117 | sha256 = "016b9gh606aa44sq92jslm89bg874ia0yyiyb643fa6dgbsbqch8"; | |
51 | }; |
|
118 | }; | |
|
119 | }; | |||
|
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; | |||
52 | propagatedBuildInputs = [ |
|
131 | propagatedBuildInputs = [ | |
53 | six |
|
132 | chardet | |
54 |
|
|
133 | idna | |
55 | Pygments |
|
134 | urllib3 | |
56 |
|
|
135 | certifi | |
57 | snowballstemmer |
|
|||
58 | babel |
|
|||
59 | alabaster |
|
|||
60 | imagesize |
|
|||
61 | requests |
|
|||
62 | setuptools |
|
|||
63 | sphinxcontrib-websupport |
|
|||
64 | typing |
|
|||
65 |
|
||||
66 | # special cases |
|
|||
67 | pytz |
|
|||
68 | sphinx_rtd_theme |
|
|||
69 |
|
||||
70 | ]; |
|
136 | ]; | |
71 | }); |
|
137 | src = fetchurl { | |
72 |
|
138 | url = "https://files.pythonhosted.org/packages/54/1f/782a5734931ddf2e1494e4cd615a51ff98e1879cbe9eecbdfeaf09aa75e9/requests-2.19.1.tar.gz"; | ||
73 | alabaster = buildPythonPackage rec { |
|
139 | sha256 = "0snf8xxdzsgh1x2zv3vilvbrv9jbpmnfagzzb1rjmmvflckdh8pc"; | |
74 | name = "alabaster-0.7.10"; |
|
140 | }; | |
75 | buildInputs = []; |
|
141 | }; | |
|
142 | six = buildPythonPackage { | |||
|
143 | name = "six-1.11.0"; | |||
76 | doCheck = false; |
|
144 | doCheck = false; | |
77 | propagatedBuildInputs = []; |
|
|||
78 | src = fetchurl { |
|
145 | src = fetchurl { | |
79 | url = "https://pypi.python.org/packages/d0/a5/e3a9ad3ee86aceeff71908ae562580643b955ea1b1d4f08ed6f7e8396bd7/alabaster-0.7.10.tar.gz"; |
|
146 | url = "https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz"; | |
80 | md5 = "7934dccf38801faa105f6e7b4784f493"; |
|
147 | sha256 = "1scqzwc51c875z23phj48gircqjgnn3af8zy2izjwmnlxrxsgs3h"; | |
|
148 | }; | |||
|
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"; | |||
81 | }; |
|
156 | }; | |
82 | }; |
|
157 | }; | |
83 |
|
158 | sphinx = buildPythonPackage { | ||
84 | babel = buildPythonPackage { |
|
159 | name = "sphinx-1.7.8"; | |
85 | name = "babel-2.5.1"; |
|
|||
86 | buildInputs = []; |
|
|||
87 | doCheck = false; |
|
160 | doCheck = false; | |
88 |
propagatedBuildInputs = [ |
|
161 | propagatedBuildInputs = [ | |
|
162 | six | |||
|
163 | jinja2 | |||
|
164 | pygments | |||
|
165 | docutils | |||
|
166 | snowballstemmer | |||
|
167 | babel | |||
|
168 | alabaster | |||
|
169 | imagesize | |||
|
170 | requests | |||
|
171 | setuptools | |||
|
172 | packaging | |||
|
173 | sphinxcontrib-websupport | |||
|
174 | typing | |||
|
175 | ]; | |||
89 | src = fetchurl { |
|
176 | src = fetchurl { | |
90 | url = "https://pypi.python.org/packages/5a/22/63f1dbb8514bb7e0d0c8a85cc9b14506599a075e231985f98afd70430e1f/Babel-2.5.1.tar.gz"; |
|
177 | url = "https://files.pythonhosted.org/packages/ac/54/4ef326d0c654da1ed91341a7a1f43efc18a8c770ddd2b8e45df97cb79d82/Sphinx-1.7.8.tar.gz"; | |
91 | md5 = "60228b3ce93a203357158b909afe8ae1"; |
|
178 | sha256 = "1ryz0w4c31930f1br2sjwrxwx9cmsy7cqdb0d81g98n9bj250w50"; | |
92 | }; |
|
179 | }; | |
93 | }; |
|
180 | }; | |
94 |
|
181 | sphinx-rtd-theme = buildPythonPackage { | ||
95 | certifi = buildPythonPackage { |
|
182 | name = "sphinx-rtd-theme-0.4.1"; | |
96 | name = "certifi-2017.11.5"; |
|
|||
97 | buildInputs = []; |
|
|||
98 | doCheck = false; |
|
183 | doCheck = false; | |
99 |
propagatedBuildInputs = [ |
|
184 | propagatedBuildInputs = [ | |
|
185 | sphinx | |||
|
186 | ]; | |||
100 | src = fetchurl { |
|
187 | src = fetchurl { | |
101 | url = "https://pypi.python.org/packages/23/3f/8be01c50ed24a4bd6b8da799839066ce0288f66f5e11f0367323467f0cbc/certifi-2017.11.5.tar.gz"; |
|
188 | url = "https://files.pythonhosted.org/packages/f2/b0/a1933d792b806118ddbca6699f2e2c844d9b1b16e84a89d7effd5cd2a800/sphinx_rtd_theme-0.4.1.tar.gz"; | |
102 | md5 = "c15ac46ed1fe4b607ff3405928f9a992"; |
|
189 | sha256 = "1xkyqam8dzbjaymdyvkiif85m4y3jf8crdiwlgcfp8gqcj57aj9v"; | |
103 | }; |
|
190 | }; | |
104 | }; |
|
191 | }; | |
105 |
|
192 | sphinxcontrib-websupport = buildPythonPackage { | ||
106 | chardet = buildPythonPackage { |
|
193 | name = "sphinxcontrib-websupport-1.1.0"; | |
107 | name = "chardet-3.0.4"; |
|
|||
108 | buildInputs = []; |
|
|||
109 | doCheck = false; |
|
194 | doCheck = false; | |
110 | propagatedBuildInputs = []; |
|
|||
111 | src = fetchurl { |
|
195 | src = fetchurl { | |
112 | url = "https://pypi.python.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz"; |
|
196 | url = "https://files.pythonhosted.org/packages/07/7a/e74b06dce85555ffee33e1d6b7381314169ebf7e31b62c18fcb2815626b7/sphinxcontrib-websupport-1.1.0.tar.gz"; | |
113 | md5 = "7dd1ba7f9c77e32351b0a0cfacf4055c"; |
|
197 | sha256 = "1ff3ix76xi1y6m99qxhaq5161ix9swwzydilvdya07mgbcvpzr4x"; | |
114 | }; |
|
198 | }; | |
115 | }; |
|
199 | }; | |
116 |
|
200 | typing = buildPythonPackage { | ||
117 | docutils = buildPythonPackage { |
|
201 | name = "typing-3.6.6"; | |
118 | name = "docutils-0.14"; |
|
|||
119 | buildInputs = []; |
|
|||
120 | doCheck = false; |
|
202 | doCheck = false; | |
121 | propagatedBuildInputs = []; |
|
|||
122 | src = fetchurl { |
|
203 | src = fetchurl { | |
123 | url = "https://pypi.python.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz"; |
|
204 | url = "https://files.pythonhosted.org/packages/bf/9b/2bf84e841575b633d8d91ad923e198a415e3901f228715524689495b4317/typing-3.6.6.tar.gz"; | |
124 | md5 = "c53768d63db3873b7d452833553469de"; |
|
205 | sha256 = "0ba9acs4awx15bf9v3nrs781msbd2nx826906nj6fqks2bvca9s0"; | |
|
206 | }; | |||
|
207 | }; | |||
|
208 | urllib3 = buildPythonPackage { | |||
|
209 | name = "urllib3-1.23"; | |||
|
210 | doCheck = false; | |||
|
211 | src = fetchurl { | |||
|
212 | url = "https://files.pythonhosted.org/packages/3c/d2/dc5471622bd200db1cd9319e02e71bc655e9ea27b8e0ce65fc69de0dac15/urllib3-1.23.tar.gz"; | |||
|
213 | sha256 = "1bvbd35q3zdcd7gsv38fwpizy7p06dr0154g5gfybrvnbvhwb2m6"; | |||
125 | }; |
|
214 | }; | |
126 | }; |
|
215 | }; | |
127 |
|
216 | |||
128 | idna = buildPythonPackage { |
|
|||
129 | name = "idna-2.6"; |
|
|||
130 | buildInputs = []; |
|
|||
131 | doCheck = false; |
|
|||
132 | propagatedBuildInputs = []; |
|
|||
133 | 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"; |
|
|||
147 | }; |
|
|||
148 | }; |
|
|||
149 |
|
||||
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 | # Avoid that setuptools is replaced, this leads to trouble |
|
217 | # Avoid that setuptools is replaced, this leads to trouble | |
252 | # with buildPythonPackage. |
|
218 | # with buildPythonPackage. | |
253 | setuptools = pkgs.python27Packages.setuptools; |
|
219 | setuptools = pkgs.python27Packages.setuptools; | |
254 |
|
220 | |||
255 | in python.buildEnv.override { |
|
221 | in python.buildEnv.override { | |
256 | inherit python; |
|
222 | inherit python; | |
257 | extraLibs = [ |
|
223 | extraLibs = [ | |
258 |
|
|
224 | sphinx | |
259 |
sphinx |
|
225 | sphinx-rtd-theme | |
260 | ]; |
|
226 | ]; | |
261 |
} |
|
227 | } No newline at end of file |
@@ -1,8 +1,8 b'' | |||||
1 |
|
|
1 | sphinx==1.7.8 | |
2 | six==1.11.0 |
|
2 | six==1.11.0 | |
3 |
sphinx_rtd_theme==0. |
|
3 | sphinx_rtd_theme==0.4.1 | |
4 | docutils==0.14.0 |
|
4 | docutils==0.14.0 | |
5 |
|
|
5 | pygments==2.2.0 | |
6 |
|
|
6 | markupsafe==1.0.0 | |
7 |
|
|
7 | jinja2==2.9.6 | |
8 | pytz No newline at end of file |
|
8 | pytz==2018.4 |
General Comments 0
You need to be logged in to leave comments.
Login now