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 |
@@ -1,316 +1,311 b'' | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | # |
|
3 | 3 | # RhodeCode Enterprise documentation build configuration file, created by |
|
4 | 4 | # sphinx-quickstart on Tue Nov 4 11:48:37 2014. |
|
5 | 5 | # |
|
6 | 6 | # This file is execfile()d with the current directory set to its |
|
7 | 7 | # containing dir. |
|
8 | 8 | # |
|
9 | 9 | # Note that not all possible configuration values are present in this |
|
10 | 10 | # autogenerated file. |
|
11 | 11 | # |
|
12 | 12 | # All configuration values have a default; values that are commented out |
|
13 | 13 | # serve to show the default. |
|
14 | 14 | |
|
15 | 15 | import sys |
|
16 | 16 | import os |
|
17 | 17 | import datetime |
|
18 | 18 | import sphinx_rtd_theme |
|
19 | 19 | |
|
20 | 20 | # If extensions (or modules to document with autodoc) are in another directory, |
|
21 | 21 | # add these directories to sys.path here. If the directory is relative to the |
|
22 | 22 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
|
23 | 23 | sys.path.insert(0, os.path.abspath('.')) |
|
24 | 24 | import common |
|
25 | 25 | |
|
26 | 26 | # -- General configuration ------------------------------------------------ |
|
27 | 27 | |
|
28 | 28 | # If your documentation needs a minimal Sphinx version, state it here. |
|
29 | 29 | #needs_sphinx = '1.0' |
|
30 | 30 | |
|
31 | 31 | # Add any Sphinx extension module names here, as strings. They can be |
|
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' |
|
38 | 39 | ] |
|
39 | 40 | |
|
40 | 41 | intersphinx_mapping = { |
|
41 | 42 | 'enterprise': ('https://docs.rhodecode.com/RhodeCode-Enterprise/', None), |
|
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 | |
|
55 | 49 | # The suffix of source filenames. |
|
56 | 50 | source_suffix = '.rst' |
|
57 | 51 | |
|
58 | 52 | # The encoding of source files. |
|
59 | 53 | #source_encoding = 'utf-8-sig' |
|
60 | 54 | |
|
61 | 55 | # The master toctree document. |
|
62 | 56 | master_doc = 'index' |
|
63 | 57 | |
|
64 | 58 | # The version info for the project you're documenting, acts as replacement for |
|
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. |
|
76 | 71 | version = '.'.join(release.split('.', 2)[:2]) # First two parts of release |
|
77 | 72 | |
|
78 | 73 | # General information about the project. |
|
79 | 74 | project = u'RhodeCode Enterprise %s ' % _get_version() |
|
80 | 75 | copyright = u'2010-{now.year}, RhodeCode GmbH'.format( |
|
81 | 76 | now=datetime.datetime.today()) |
|
82 | 77 | |
|
83 | 78 | |
|
84 | 79 | # The language for content autogenerated by Sphinx. Refer to documentation |
|
85 | 80 | # for a list of supported languages. |
|
86 | 81 | #language = None |
|
87 | 82 | |
|
88 | 83 | rst_epilog = common.rst_epilog + """ |
|
89 | 84 | .. |async| replace:: asynchronous |
|
90 | 85 | """ |
|
91 | 86 | |
|
92 | 87 | # There are two options for replacing |today|: either, you set today to some |
|
93 | 88 | # non-false value, then it is used: |
|
94 | 89 | #today = '' |
|
95 | 90 | # Else, today_fmt is used as the format for a strftime call. |
|
96 | 91 | #today_fmt = '%B %d, %Y' |
|
97 | 92 | |
|
98 | 93 | # List of patterns, relative to source directory, that match files and |
|
99 | 94 | # directories to ignore when looking for source files. |
|
100 | 95 | exclude_patterns = [ |
|
101 | 96 | # Special directories |
|
102 | 97 | '_build', |
|
103 | 98 | 'result', |
|
104 | 99 | |
|
105 | 100 | # Other RST files |
|
106 | 101 | 'admin/rhodecode-backup.rst', |
|
107 | 102 | 'issue-trackers/redmine.rst', |
|
108 | 103 | 'known-issues/error-msg-guide.rst', |
|
109 | 104 | 'tutorials/docs-build.rst', |
|
110 | 105 | 'integrations/example-ext.py', |
|
111 | 106 | 'collaboration/supported-workflows.rst', |
|
112 | 107 | ] |
|
113 | 108 | |
|
114 | 109 | |
|
115 | 110 | # The reST default role (used for this markup: `text`) to use for all |
|
116 | 111 | # documents. |
|
117 | 112 | #default_role = None |
|
118 | 113 | |
|
119 | 114 | # If true, '()' will be appended to :func: etc. cross-reference text. |
|
120 | 115 | #add_function_parentheses = True |
|
121 | 116 | |
|
122 | 117 | # If true, the current module name will be prepended to all description |
|
123 | 118 | # unit titles (such as .. function::). |
|
124 | 119 | #add_module_names = True |
|
125 | 120 | |
|
126 | 121 | # If true, sectionauthor and moduleauthor directives will be shown in the |
|
127 | 122 | # output. They are ignored by default. |
|
128 | 123 | #show_authors = False |
|
129 | 124 | |
|
130 | 125 | # The name of the Pygments (syntax highlighting) style to use. |
|
131 | 126 | pygments_style = 'sphinx' |
|
132 | 127 | |
|
133 | 128 | # A list of ignored prefixes for module index sorting. |
|
134 | 129 | #modindex_common_prefix = [] |
|
135 | 130 | |
|
136 | 131 | # If true, keep warnings as "system message" paragraphs in the built documents. |
|
137 | 132 | keep_warnings = tags.has("dev") |
|
138 | 133 | |
|
139 | 134 | |
|
140 | 135 | # -- Options for HTML output ---------------------------------------------- |
|
141 | 136 | |
|
142 | 137 | # The theme to use for HTML and HTML Help pages. See the documentation for |
|
143 | 138 | # a list of builtin themes. |
|
144 | 139 | #html_theme = 'rctheme' |
|
145 | 140 | html_theme = 'sphinx_rtd_theme' |
|
146 | 141 | |
|
147 | 142 | # Theme options are theme-specific and customize the look and feel of a theme |
|
148 | 143 | # further. For a list of options available for each theme, see the |
|
149 | 144 | # documentation. |
|
150 | 145 | #html_theme_options = {} |
|
151 | 146 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
|
152 | 147 | |
|
153 | 148 | # Add any paths that contain custom themes here, relative to this directory. |
|
154 | 149 | #html_theme_path = [] |
|
155 | 150 | |
|
156 | 151 | # The name for this set of Sphinx documents. If None, it defaults to |
|
157 | 152 | # "<project> v<release> documentation". |
|
158 | 153 | #html_title = None |
|
159 | 154 | |
|
160 | 155 | # A shorter title for the navigation bar. Default is the same as html_title. |
|
161 | 156 | #html_short_title = None |
|
162 | 157 | |
|
163 | 158 | # The name of an image file (relative to this directory) to place at the top |
|
164 | 159 | # of the sidebar. |
|
165 | 160 | #html_logo = None |
|
166 | 161 | html_sidebars = { |
|
167 | 162 | '**': ['globaltoc.html'], |
|
168 | 163 | } |
|
169 | 164 | |
|
170 | 165 | # The name of an image file (within the static path) to use as favicon of the |
|
171 | 166 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
|
172 | 167 | # pixels large. |
|
173 | 168 | html_favicon = 'images/favicon.ico' |
|
174 | 169 | |
|
175 | 170 | # Add any paths that contain custom static files (such as style sheets) here, |
|
176 | 171 | # relative to this directory. They are copied after the builtin static files, |
|
177 | 172 | # so a file named "default.css" will overwrite the builtin "default.css". |
|
178 | 173 | html_static_path = ['static/css/add.css'] |
|
179 | 174 | |
|
180 | 175 | # Add any extra paths that contain custom files (such as robots.txt or |
|
181 | 176 | # .htaccess) here, relative to this directory. These files are copied |
|
182 | 177 | # directly to the root of the documentation. |
|
183 | 178 | #html_extra_path = [] |
|
184 | 179 | |
|
185 | 180 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
|
186 | 181 | # using the given strftime format. |
|
187 | 182 | #html_last_updated_fmt = '%b %d, %Y' |
|
188 | 183 | |
|
189 | 184 | # If true, SmartyPants will be used to convert quotes and dashes to |
|
190 | 185 | # typographically correct entities. |
|
191 | 186 | #html_use_smartypants = True |
|
192 | 187 | |
|
193 | 188 | # Custom sidebar templates, maps document names to template names. |
|
194 | 189 | #html_sidebars = {} |
|
195 | 190 | |
|
196 | 191 | # Additional templates that should be rendered to pages, maps page names to |
|
197 | 192 | # template names. |
|
198 | 193 | #html_additional_pages = {} |
|
199 | 194 | |
|
200 | 195 | # If false, no module index is generated. |
|
201 | 196 | #html_domain_indices = True |
|
202 | 197 | |
|
203 | 198 | # If false, no index is generated. |
|
204 | 199 | #html_use_index = True |
|
205 | 200 | |
|
206 | 201 | # If true, the index is split into individual pages for each letter. |
|
207 | 202 | #html_split_index = False |
|
208 | 203 | |
|
209 | 204 | # If true, links to the reST sources are added to the pages. |
|
210 | 205 | #html_show_sourcelink = True |
|
211 | 206 | |
|
212 | 207 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
|
213 | 208 | #html_show_sphinx = True |
|
214 | 209 | |
|
215 | 210 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
|
216 | 211 | #html_show_copyright = True |
|
217 | 212 | |
|
218 | 213 | # If true, an OpenSearch description file will be output, and all pages will |
|
219 | 214 | # contain a <link> tag referring to it. The value of this option must be the |
|
220 | 215 | # base URL from which the finished HTML is served. |
|
221 | 216 | #html_use_opensearch = '' |
|
222 | 217 | |
|
223 | 218 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
|
224 | 219 | #html_file_suffix = None |
|
225 | 220 | |
|
226 | 221 | # Output file base name for HTML help builder. |
|
227 | 222 | htmlhelp_basename = 'rhodecode-enterprise' |
|
228 | 223 | |
|
229 | 224 | |
|
230 | 225 | # -- Options for LaTeX output --------------------------------------------- |
|
231 | 226 | |
|
232 | 227 | latex_elements = { |
|
233 | 228 | 'classoptions': ',oneside', |
|
234 | 229 | 'babel': '\\usepackage[english]{babel}', |
|
235 | 230 | |
|
236 | 231 | # The paper size ('letterpaper' or 'a4paper'). |
|
237 | 232 | #'papersize': 'letterpaper', |
|
238 | 233 | |
|
239 | 234 | # The font size ('10pt', '11pt' or '12pt'). |
|
240 | 235 | #'pointsize': '10pt', |
|
241 | 236 | |
|
242 | 237 | # Additional stuff for the LaTeX preamble. |
|
243 | 238 | #'preamble': '', |
|
244 | 239 | } |
|
245 | 240 | |
|
246 | 241 | # Grouping the document tree into LaTeX files. List of tuples |
|
247 | 242 | # (source start file, target name, title, |
|
248 | 243 | # author, documentclass [howto, manual, or own class]). |
|
249 | 244 | latex_documents = [ |
|
250 | 245 | ('index', 'RhodeCodeEnterprise.tex', u'RhodeCode Enterprise', |
|
251 | 246 | u'RhodeCode GmbH', 'manual'), |
|
252 | 247 | ] |
|
253 | 248 | |
|
254 | 249 | # The name of an image file (relative to this directory) to place at the top of |
|
255 | 250 | # the title page. |
|
256 | 251 | #latex_logo = None |
|
257 | 252 | |
|
258 | 253 | # For "manual" documents, if this is true, then toplevel headings are parts, |
|
259 | 254 | # not chapters. |
|
260 | 255 | #latex_use_parts = False |
|
261 | 256 | |
|
262 | 257 | # If true, show page references after internal links. |
|
263 | 258 | latex_show_pagerefs = True |
|
264 | 259 | |
|
265 | 260 | # If true, show URL addresses after external links. |
|
266 | 261 | latex_show_urls = 'footnote' |
|
267 | 262 | |
|
268 | 263 | # Documents to append as an appendix to all manuals. |
|
269 | 264 | #latex_appendices = [] |
|
270 | 265 | |
|
271 | 266 | # If false, no module index is generated. |
|
272 | 267 | #latex_domain_indices = True |
|
273 | 268 | |
|
274 | 269 | # Mode for literal blocks wider than the frame. Can be |
|
275 | 270 | # overflow, shrink or truncate |
|
276 | 271 | pdf_fit_mode = "truncate" |
|
277 | 272 | |
|
278 | 273 | |
|
279 | 274 | # -- Options for manual page output --------------------------------------- |
|
280 | 275 | |
|
281 | 276 | # One entry per manual page. List of tuples |
|
282 | 277 | # (source start file, name, description, authors, manual section). |
|
283 | 278 | man_pages = [ |
|
284 | 279 | ('index', 'rhodecodeenterprise', u'RhodeCode Enterprise', |
|
285 | 280 | [u'RhodeCode GmbH'], 1) |
|
286 | 281 | ] |
|
287 | 282 | |
|
288 | 283 | # If true, show URL addresses after external links. |
|
289 | 284 | #man_show_urls = False |
|
290 | 285 | |
|
291 | 286 | |
|
292 | 287 | # -- Options for Texinfo output ------------------------------------------- |
|
293 | 288 | |
|
294 | 289 | # Grouping the document tree into Texinfo files. List of tuples |
|
295 | 290 | # (source start file, target name, title, author, |
|
296 | 291 | # dir menu entry, description, category) |
|
297 | 292 | texinfo_documents = [ |
|
298 | 293 | ('index', 'RhodeCodeEnterprise', u'RhodeCode Enterprise', |
|
299 | 294 | u'RhodeCode Docs Team', 'RhodeCodeEnterprise', 'RhodeCode Docs Project', |
|
300 | 295 | 'Miscellaneous'), |
|
301 | 296 | ] |
|
302 | 297 | |
|
303 | 298 | # Documents to append as an appendix to all manuals. |
|
304 | 299 | #texinfo_appendices = [] |
|
305 | 300 | |
|
306 | 301 | # If false, no module index is generated. |
|
307 | 302 | #texinfo_domain_indices = True |
|
308 | 303 | |
|
309 | 304 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
|
310 | 305 | #texinfo_show_urls = 'footnote' |
|
311 | 306 | |
|
312 | 307 | # If true, do not generate a @detailmenu in the "Top" node's menu. |
|
313 | 308 | #texinfo_no_detailmenu = False |
|
314 | 309 | |
|
315 | 310 | # We want to see todo notes in case of a pre-release build of the documentation |
|
316 | 311 | todo_include_todos = tags.has("dev") |
@@ -1,261 +1,227 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 |
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 |
|
|
59 | 168 |
|
|
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; |
|
254 | 220 | |
|
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