gnu: python-sphinx: Use HTTP URI.
[jackhill/guix/guix.git] / gnu / packages / sphinx.scm
CommitLineData
9d0c291e
MB
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 David Thompson <davet@gnu.org>
bcb22b36 3;;; Copyright © 2015, 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
9d0c291e
MB
4;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
5;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
6;;; Copyright © 2016, 2017, 2018, 2019 Marius Bakke <mbakke@fastmail.com>
7;;; Copyright © 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
8;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
9;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com>
10;;; Copyright © 2017 Christopher Allan Webber <cwebber@dustycloud.org>
11;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
12;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
13;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
90ee17cd 14;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
0066f6be 15;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
9d0c291e
MB
16;;;
17;;; This file is part of GNU Guix.
18;;;
19;;; GNU Guix is free software; you can redistribute it and/or modify it
20;;; under the terms of the GNU General Public License as published by
21;;; the Free Software Foundation; either version 3 of the License, or (at
22;;; your option) any later version.
23;;;
24;;; GNU Guix is distributed in the hope that it will be useful, but
25;;; WITHOUT ANY WARRANTY; without even the implied warranty of
26;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27;;; GNU General Public License for more details.
28;;;
29;;; You should have received a copy of the GNU General Public License
30;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
31
32(define-module (gnu packages sphinx)
33 #:use-module (guix packages)
34 #:use-module (guix download)
d090a1c1 35 #:use-module (guix git-download)
d309b36d 36 #:use-module (guix utils)
9d0c291e
MB
37 #:use-module (guix build-system python)
38 #:use-module ((guix licenses) #:prefix license:)
39 #:use-module (gnu packages)
40 #:use-module (gnu packages check)
41 #:use-module (gnu packages graphviz)
42 #:use-module (gnu packages image)
43 #:use-module (gnu packages imagemagick)
44 #:use-module (gnu packages python-web)
45 #:use-module (gnu packages python-xyz)
46 #:use-module (gnu packages time))
47
48(define-public python-sphinx
49 (package
50 (name "python-sphinx")
0066f6be 51 (version "2.3.1")
9d0c291e
MB
52 (source
53 (origin
54 (method url-fetch)
55 (uri (pypi-uri "Sphinx" version))
56 (sha256
57 (base32
0066f6be 58 "19a28nsb0w4bs6k8rdfyk6vzrcwdpvhs2wq77rgpmww59yvndrz6"))))
9d0c291e
MB
59 (build-system python-build-system)
60 (arguments
61 `(#:phases
62 (modify-phases %standard-phases
63 (replace 'check
64 (lambda _
65 ;; Requires Internet access.
66 (delete-file "tests/test_build_linkcheck.py")
67 (substitute* "tests/test_build_latex.py"
68 (("@pytest.mark.sphinx\\('latex', testroot='images'\\)")
69 "@pytest.mark.skip()"))
9d0c291e
MB
70 (invoke "make" "test"))))))
71 (propagated-inputs
4b8c8f76 72 `(("python-babel" ,python-babel)
9d0c291e
MB
73 ("python-docutils" ,python-docutils)
74 ("python-jinja2" ,python-jinja2)
4b8c8f76 75 ("python-imagesize" ,python-imagesize)
9d0c291e
MB
76 ("python-packaging" ,python-packaging)
77 ("python-pygments" ,python-pygments)
78 ("python-requests" ,python-requests)
4b8c8f76
BG
79 ("python-snowballstemmer" ,python-snowballstemmer)
80 ("python-sphinx-alabaster-theme"
81 ,python-sphinx-alabaster-theme)
d309b36d
MB
82 ("python-sphinxcontrib-applehelp" ,python-sphinxcontrib-applehelp)
83 ("python-sphinxcontrib-devhelp" ,python-sphinxcontrib-devhelp)
84 ("python-sphinxcontrib-htmlhelp" ,python-sphinxcontrib-htmlhelp)
85 ("python-sphinxcontrib-jsmath" ,python-sphinxcontrib-jsmath)
86 ("python-sphinxcontrib-qthelp" ,python-sphinxcontrib-qthelp)
87 ("python-sphinxcontrib-serializinghtml"
88 ,python-sphinxcontrib-serializinghtml)))
9d0c291e
MB
89 (native-inputs
90 `(("graphviz" ,graphviz)
91 ("imagemagick" ,imagemagick) ;for "convert"
92 ("python-html5lib" ,python-html5lib)
93 ("python-mock" ,python-mock)
94 ("python-nose" ,python-nose)
95 ("python-pytest" ,python-pytest)))
f574b172 96 (home-page "http://www.sphinx-doc.org")
9d0c291e
MB
97 (synopsis "Python documentation generator")
98 (description "Sphinx is a tool that makes it easy to create documentation
99for Python projects or other documents consisting of multiple reStructuredText
100sources.")
101 (license license:bsd-3)
102 (properties `((python2-variant . ,(delay python2-sphinx))))))
103
d309b36d
MB
104;; Sphinx 2 does not support Python 2, so we stick with this older version here.
105;; Remove this package once python2-pbcore no longer requires it.
9d0c291e
MB
106(define-public python2-sphinx
107 (let ((base (package-with-python2 (strip-python2-variant python-sphinx))))
108 (package
109 (inherit base)
d309b36d
MB
110 (version "1.7.7")
111 (source (origin
112 (method url-fetch)
113 (uri (pypi-uri "Sphinx" version))
114 (sha256
115 (base32
116 "0pkkbfj7cl157q550gcs45am5y78ps0h7q6455d64s1zmw01jlvi"))))
117 (arguments
118 (substitute-keyword-arguments (package-arguments base)
119 ((#:phases phases)
120 `(modify-phases ,phases
121 (add-before 'check 'disable-broken-tests
122 (lambda _
123 ;; These tests are broken when using Python2:
124 ;; <https://github.com/sphinx-doc/sphinx/issues/4710>.
125 (for-each delete-file '("tests/test_api_translator.py"
126 "tests/test_setup_command.py"))
127 #t))))))
9d0c291e
MB
128 (native-inputs `(("python2-mock" ,python2-mock)
129 ("python2-enum34" ,python2-enum34)
130 ,@(package-native-inputs base)))
d309b36d
MB
131 ;; Sphinx 2 has some dependencies that do not support Python 2, so
132 ;; we keep our own propagated-inputs here instead of inheriting.
9d0c291e
MB
133 (propagated-inputs `(("python2-pytz" ,python2-pytz)
134 ("python2-typing" ,python2-typing)
d309b36d
MB
135 ("python2-imagesize" ,python2-imagesize)
136 ("python2-sphinx-alabaster-theme"
137 ,python2-sphinx-alabaster-theme)
93253411 138 ("python2-babel" ,python2-babel-2.6)
d309b36d
MB
139 ("python2-snowballstemmer" ,python2-snowballstemmer)
140 ("python2-docutils" ,python2-docutils)
141 ("python2-jinja2" ,python2-jinja2)
142 ("python2-packaging" ,python2-packaging)
143 ("python2-pygments" ,python2-pygments)
144 ("python2-requests" ,python2-requests)
145 ("python2-six" ,python2-six)
146 ("python2-sphinxcontrib-websupport"
147 ,python2-sphinxcontrib-websupport))))))
9d0c291e 148
bc2a3f7c
MB
149(define-public python-sphinxcontrib-applehelp
150 (package
151 (name "python-sphinxcontrib-applehelp")
152 (version "1.0.1")
153 (source (origin
154 (method url-fetch)
155 (uri (pypi-uri "sphinxcontrib-applehelp" version))
156 (sha256
157 (base32
158 "15rqmgphj4wqf4m5wnzxgmwxx5jwfzb0j0nb94ql0x5wnar0mapd"))))
159 (build-system python-build-system)
160 (arguments
161 `(#:tests? #f)) ;XXX: circular dependency on Sphinx
162 (home-page "https://github.com/sphinx-doc/sphinxcontrib-applehelp")
163 (synopsis "Sphinx extension for creating Apple help books")
164 (description
165 "@code{sphinxcontrib-applehelp} is a Sphinx extension which outputs
166Apple help books.")
167 (license license:bsd-2)))
168
bcb22b36
RW
169(define-public python-sphinx-copybutton
170 (package
171 (name "python-sphinx-copybutton")
172 (version "0.2.5")
173 (source
174 (origin
175 (method url-fetch)
176 (uri (pypi-uri "sphinx-copybutton" version))
177 (sha256
178 (base32
179 "1bk006nv5s9ym6v67cxd4d2wvd8wm6czqi21mqcs33risygksncl"))))
180 (build-system python-build-system)
181 (home-page "https://github.com/choldgraf/sphinx-copybutton")
182 (synopsis "Sphinx extension to add \"copy\" buttons to code blocks")
183 (description
184 "This package provides a small sphinx extension to add \"copy\" buttons
185to code blocks.")
186 (license license:expat)))
187
62ad0c8b
MB
188(define-public python-sphinxcontrib-devhelp
189 (package
190 (name "python-sphinxcontrib-devhelp")
191 (version "1.0.1")
192 (source (origin
193 (method url-fetch)
194 (uri (pypi-uri "sphinxcontrib-devhelp" version))
195 (sha256
196 (base32
197 "0d2a57kqxl72i55rns0ly1i044y2x234b9sdi89ajc3kjdvv0r3c"))))
198 (build-system python-build-system)
199 (arguments
200 `(#:tests? #f)) ;XXX: circular dependency on Sphinx
201 (home-page "https://github.com/sphinx-doc/sphinxcontrib-devhelp")
202 (synopsis "Sphinx extension for creating Devhelp documents")
203 (description
204 "@code{sphinxcontrib-devhelp} is a Sphinx extension which outputs
205@url{Devhelp,https://wiki.gnome.org/Apps/Devhelp} documents.")
206 (license license:bsd-2)))
207
72f278a0
MB
208(define-public python-sphinxcontrib-htmlhelp
209 (package
210 (name "python-sphinxcontrib-htmlhelp")
211 (version "1.0.2")
212 (source (origin
213 (method url-fetch)
214 (uri (pypi-uri "sphinxcontrib-htmlhelp" version))
215 (sha256
216 (base32
217 "08l4x8a2l4xjqdd5rhvmfsqihmlgg4prdayj9b6pigaii6gzjw26"))))
218 (build-system python-build-system)
219 (arguments
220 `(#:tests? #f)) ;XXX: circular dependency on Sphinx
221 (home-page "https://github.com/sphinx-doc/sphinxcontrib-htmlhelp")
35fc0f4c 222 (synopsis "Sphinx extension for rendering HTML help files")
72f278a0
MB
223 (description
224 "@code{sphinxcontrib-htmlhelp} is a Sphinx extension which renders
225HTML help files.")
226 (license license:bsd-2)))
227
67be8943
MB
228(define-public python-sphinxcontrib-jsmath
229 (package
230 (name "python-sphinxcontrib-jsmath")
231 (version "1.0.1")
232 (source (origin
233 (method url-fetch)
234 (uri (pypi-uri "sphinxcontrib-jsmath" version))
235 (sha256
236 (base32
237 "1f64w19j33sp151jimibraw6qrbhd5gxy8hs3797w9478m55x4m9"))))
238 (build-system python-build-system)
239 (arguments
240 `(#:tests? #f)) ;XXX: circular dependency on Sphinx
241 (home-page "https://github.com/sphinx-doc/sphinxcontrib-jsmath")
242 (synopsis "Sphinx extension to render math equations")
243 (description
244 "@code{sphinxcontrib-jsmath} is a Sphinx extension which renders display
245math in HTML via JavaScript.")
246 (license license:bsd-3)))
247
9d0c291e
MB
248(define-public python-sphinxcontrib-newsfeed
249 (package
250 (name "python-sphinxcontrib-newsfeed")
251 (version "0.1.4")
252 (source (origin
253 (method url-fetch)
254 (uri (pypi-uri "sphinxcontrib-newsfeed" version))
255 (sha256
256 (base32
257 "1d7gam3mn8v4in4p16yn3v10vps7nnaz6ilw99j4klij39dqd37p"))))
258 (arguments '(#:tests? #f)) ; No tests.
259 (build-system python-build-system)
260 (propagated-inputs
261 `(("python-sphinx" ,python-sphinx)))
262 (synopsis "News Feed extension for Sphinx")
263 (description "Sphinxcontrib-newsfeed is an extension for adding a simple
264Blog, News or Announcements section to a Sphinx website.")
265 (home-page "https://bitbucket.org/prometheus/sphinxcontrib-newsfeed")
266 (license license:bsd-2)))
267
268(define-public python-sphinxcontrib-programoutput
269 (package
270 (name "python-sphinxcontrib-programoutput")
271 (version "0.10")
272 (source (origin
273 (method url-fetch)
274 (uri (pypi-uri "sphinxcontrib-programoutput" version))
275 (sha256
276 (base32
277 "153hhnlbx4688zj9wd64819ps5znc2jlyp5crkgzvn5hxgy99vpx"))))
278 (build-system python-build-system)
279 (arguments
280 ;; FIXME: Many tests are failing and the upstream is gone.
281 '(#:tests? #f))
282 (propagated-inputs
283 `(("python-sphinx" ,python-sphinx)))
284 (synopsis "Sphinx extension to include program output")
285 (description "A Sphinx extension to literally insert the output of arbitrary
286commands into documents, helping you to keep your command examples up to date.")
287 (home-page "https://github.com/lunaryorn/sphinxcontrib-programoutput")
288 (license license:bsd-2)))
289
290(define-public python2-sphinxcontrib-programoutput
291 (package-with-python2 python-sphinxcontrib-programoutput))
292
6eceb2d4
MB
293(define-public python-sphinxcontrib-qthelp
294 (package
295 (name "python-sphinxcontrib-qthelp")
296 (version "1.0.2")
297 (source (origin
298 (method url-fetch)
299 (uri (pypi-uri "sphinxcontrib-qthelp" version))
300 (sha256
301 (base32
302 "0vs09m6kf5vhiivpi5s5pks59iq0lqlsbkdycpqlysg53bhmqikr"))))
303 (build-system python-build-system)
304 (arguments
305 `(#:tests? #f)) ;XXX: circular dependency on Sphinx
306 (home-page "https://github.com/sphinx-doc/sphinxcontrib-qthelp")
307 (synopsis "Sphinx extension to output QtHelp documents")
308 (description
309 "@code{sphinxcontrib-qthelp} is a Sphinx extension which outputs QtHelp
310documents.")
311 (license license:bsd-2)))
312
c5c55a9f
MB
313(define-public python-sphinxcontrib-serializinghtml
314 (package
315 (name "python-sphinxcontrib-serializinghtml")
316 (version "1.1.3")
317 (source (origin
318 (method url-fetch)
319 (uri (pypi-uri "sphinxcontrib-serializinghtml" version))
320 (sha256
321 (base32
322 "09sj3nwahwr4iymg86gczbh151cfczqhf2kclbblzh2jh0zv7vy0"))))
323 (build-system python-build-system)
324 (arguments
325 `(#:tests? #f)) ;XXX: circular dependency on Sphinx
326 (home-page "https://github.com/sphinx-doc/sphinxcontrib-serializinghtml")
327 (synopsis "Sphinx extension to serialize HTML files")
328 (description
329 "@code{sphinxcontrib-serializinghtml} is a Sphinx extension which outputs
330\"serialized\" HTML files.")
331 (license license:bsd-2)))
332
9d0c291e
MB
333(define-public python-sphinxcontrib-svg2pdfconverter
334 (package
335 (name "python-sphinxcontrib-svg2pdfconverter")
336 (version "0.1.0")
337 (source (origin
338 (method url-fetch)
339 (uri (pypi-uri "sphinxcontrib-svg2pdfconverter" version))
340 (sha256
341 (base32
342 "1abvbgkkii13q8nsb10r0gc5lm0p9iq1iwhfhakn5ifn6asa0183"))))
343 (build-system python-build-system)
344 (propagated-inputs
345 `(("python-sphinx" ,python-sphinx)))
346 (home-page "https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter/releases")
347 (synopsis "Sphinx SVG to PDF converter extension")
348 (description "A Sphinx extension to convert SVG images to PDF in case the builder does not support
349SVG images natively (e.g. LaTeX).")
350 (license license:bsd-3)))
351
352(define-public python-sphinxcontrib-websupport
353 (package
354 (name "python-sphinxcontrib-websupport")
355 (version "1.1.0")
356 (source (origin
357 (method url-fetch)
358 (uri (pypi-uri "sphinxcontrib-websupport" version))
359 (sha256
360 (base32
361 "1ff3ix76xi1y6m99qxhaq5161ix9swwzydilvdya07mgbcvpzr4x"))))
362 (build-system python-build-system)
363 (arguments
364 ;; FIXME: Tests depend on Sphinx, which depends on this.
365 `(#:tests? #f))
b549a053 366 (home-page "https://sphinx-doc.org/")
9d0c291e
MB
367 (synopsis "Sphinx API for web applications")
368 (description "This package provides a Python API to easily integrate
369Sphinx documentation into your web application. It provides tools to
370integrate Sphinx documents in web templates and to handle searches.")
371 (license license:bsd-3)))
372
373(define-public python2-sphinxcontrib-websupport
374 (package-with-python2 python-sphinxcontrib-websupport))
375
376(define-public python-sphinx-gallery
377 (package
378 (name "python-sphinx-gallery")
379 (version "0.1.13")
380 (source (origin
d090a1c1
EF
381 (method git-fetch)
382 (uri (git-reference
383 (url "https://github.com/sphinx-gallery/sphinx-gallery")
384 (commit (string-append "v" version))))
385 (file-name (git-file-name name version))
9d0c291e
MB
386 (sha256
387 (base32
d090a1c1 388 "14nbqh9krx2l2y2ylbln6l6w8iak3wac1lngvaf278y1cx7685kg"))))
9d0c291e
MB
389 (build-system python-build-system)
390 (arguments
391 ;; FIXME: Tests attempt to download <https://docs.python.org/3/objects.inv>,
392 ;; <https://docs.scipy.org/doc/numpy/objects.inv>, and
393 ;; <https://matplotlib.org/objects.inv>.
394 `(#:tests? #f))
395 (native-inputs
396 `(("python-pytest-runner" ,python-pytest-runner)))
397 (home-page "https://sphinx-gallery.github.io/")
398 (synopsis "Generate an examples gallery automatically")
399 (description
400 "@code{sphinx_gallery} is a Sphinx extension that builds an HTML version
401from any set of Python scripts and puts it into an examples gallery.")
402 (license license:bsd-3)))
403
404(define-public python2-sphinx-gallery
405 (package-with-python2 python-sphinx-gallery))
406
407(define-public python-sphinx-me
408 (package
409 (name "python-sphinx-me")
410 (version "0.3")
411 (source
412 (origin
413 (method url-fetch)
414 (uri (pypi-uri "sphinx-me" version))
415 (sha256
416 (base32
417 "06jzgp213zihnvpcy2y5jy3ykid3apc2ncp2pg6a2g05lhiziglq"))))
418 (build-system python-build-system)
419 (home-page "https://github.com/stephenmcd/sphinx-me")
420 (synopsis "Create a Sphinx documentation shell")
421 (description
422 "Create a Sphinx documentation shell for your project and include the
423README file as the documentation index. It handles extracting the required
424meta data such as the project name, author and version from your project for
425use in your Sphinx docs.")
426 (license license:bsd-2)))
427
428(define-public python2-sphinx-me
429 (package-with-python2 python-sphinx-me))
430
431(define-public python-sphinx-repoze-autointerface
432 (package
433 (name "python-sphinx-repoze-autointerface")
434 (version "0.8")
435 (source (origin
436 (method url-fetch)
437 (uri (pypi-uri "repoze.sphinx.autointerface" version))
438 (sha256
439 (base32
440 "08ycivzf7bh4a1zcyp31hbyqs1b2c9r26raa3vxjwwmbfqr3iw4f"))))
441 (build-system python-build-system)
442 (arguments '(#:tests? #f)) ; No tests.
443 (propagated-inputs
444 `(("python-sphinx" ,python-sphinx)
445 ("python-zope-interface" ,python-zope-interface)))
446 (synopsis "Auto-generate Sphinx API docs from Zope interfaces")
447 (description "This package defines an extension for the Sphinx documentation
448system. The extension allows generation of API documentation by
449introspection of @code{zope.interface} instances in code.")
450 (home-page "https://github.com/repoze/repoze.sphinx.autointerface")
451 (license license:repoze)))
452
453(define-public python2-sphinx-repoze-autointerface
454 (package-with-python2 python-sphinx-repoze-autointerface))
455
456(define-public python-sphinx-alabaster-theme
457 (package
458 (name "python-sphinx-alabaster-theme")
459 (version "0.7.12")
460 (source (origin
461 (method url-fetch)
462 (uri (pypi-uri "alabaster" version))
463 (sha256
464 (base32
465 "00nwwjj2d2ym4s2kk217x7jkx1hnczc3fvm8yxbqmsp6b0nxfqd6"))))
466 (build-system python-build-system)
467 (propagated-inputs
468 `(("python-pygments" ,python-pygments)))
469 (home-page "https://alabaster.readthedocs.io/")
470 (synopsis "Configurable sidebar-enabled Sphinx theme")
471 (description "Alabaster is a visually (c)lean, responsive, configurable
472theme for the Sphinx documentation system. It's the default theme of Sphinx.")
473 (license license:bsd-3)))
474
475(define-public python2-sphinx-alabaster-theme
476 (package-with-python2 python-sphinx-alabaster-theme))
477
478(define-public python-sphinx-cloud-sptheme
479 (package
480 (name "python-sphinx-cloud-sptheme")
481 (version "1.8.0")
482 (source (origin
483 (method url-fetch)
484 (uri (pypi-uri "cloud_sptheme" version))
485 (sha256
486 (base32
487 "1dniqb6a39yh786f86c4jn666rwnyi1jvzn4616zhcchb7sfdshd"))))
488 (build-system python-build-system)
489 ;; FIXME: The 'pypi' release archive does not contain tests.
490 (arguments '(#:tests? #f))
491 (native-inputs
492 `(("python-sphinx" ,python-sphinx)))
493 (home-page "https://bitbucket.org/ecollins/cloud_sptheme")
494 (synopsis "'Cloud' theme for Sphinx documenter")
495 (description "This package contains the \"Cloud\" theme for Sphinx and some
496related extensions.")
497 (license license:bsd-3)))
498
499(define-public python2-sphinx-cloud-sptheme
500 (package-with-python2 python-sphinx-cloud-sptheme))
501
502(define-public python-guzzle-sphinx-theme
503 (package
504 (name "python-guzzle-sphinx-theme")
505 (version "0.7.11")
506 (source
507 (origin
508 (method url-fetch)
509 (uri (pypi-uri "guzzle_sphinx_theme" version))
510 (sha256
511 (base32
512 "1rnkzrrsbnifn3vsb4pfaia3nlvgvw6ndpxp7lzjrh23qcwid34v"))))
513 (build-system python-build-system)
514 (propagated-inputs
515 `(("python-sphinx" ,python-sphinx)))
516 (home-page "https://github.com/guzzle/guzzle_sphinx_theme")
517 (synopsis "Sphinx theme used by Guzzle")
518 (description "This package provides guzzle_sphinx_theme, a theme for the
519Sphinx documentation system, used by @uref{http://docs.guzzlephp.org, Guzzle}
520and several other projects.")
521 (license license:expat)))
522
523(define-public python2-guzzle-sphinx-theme
524 (package-with-python2 python-guzzle-sphinx-theme))
525
526(define-public python-sphinx-rtd-theme
527 (package
528 (name "python-sphinx-rtd-theme")
529 (version "0.2.4")
530 (source
531 (origin
532 (method url-fetch)
533 (uri (pypi-uri "sphinx_rtd_theme" version))
534 (sha256
535 (base32
536 "05rlhjzdyapr2w74jjs7mrm8hi69qskcr5vya9f9drpsys7lpxrd"))))
537 (build-system python-build-system)
538 (arguments '(#:tests? #f)) ; No tests.
539 (propagated-inputs
540 `(("python-sphinx" ,python-sphinx)))
541 (home-page "https://github.com/snide/sphinx_rtd_theme/")
542 (synopsis "ReadTheDocs.org theme for Sphinx")
543 (description "A theme for Sphinx used by ReadTheDocs.org.")
544 (license license:expat)))
545
546(define-public python2-sphinx-rtd-theme
547 (package-with-python2 python-sphinx-rtd-theme))
68f0de01
SB
548
549(define-public python-breathe
550 (package
551 (name "python-breathe")
552 (version "4.13.1")
553 (source
554 (origin
555 (method url-fetch)
556 (uri (pypi-uri "breathe" version))
557 (sha256
558 (base32
559 "1aw749n2ry27434qd7gr99dvsrs3x3chyi9aywmhjj1g4m2j6xf6"))))
560 (build-system python-build-system)
561 (propagated-inputs
562 `(("python-docutils" ,python-docutils)
563 ("python-six" ,python-six)
564 ("python-sphinx" ,python-sphinx)))
565 (home-page "https://github.com/michaeljones/breathe")
566 (synopsis "ReStructuredText and Sphinx bridge to Doxygen")
567 (description "This package is an extension to reStructuredText and Sphinx
568to be able to read and render the Doxygen xml output.")
569 (license license:bsd-3)))
90ee17cd
AT
570
571(define-public python-sphinx-intl
572 (package
573 (name "python-sphinx-intl")
574 (version "2.0.0")
575 (source
576 (origin
577 (method url-fetch)
578 (uri (pypi-uri "sphinx-intl" version))
579 (sha256
580 (base32
581 "0zbf1bh23b3kza8bnjykmv2k21xmmr4gamhi3lnicnr6ypnrphr5"))))
582 (build-system python-build-system)
583 (propagated-inputs
584 `(("python-sphinx" ,python-sphinx)
585 ("python-click" ,python-click)))
586 (home-page "https://github.com/sphinx-doc/sphinx-intl")
587 (synopsis
588 "Sphinx utility that makes it easy to translate and to apply translation")
589 (description
590 "A utility tool that provides several features that make it easy to
591translate and to apply translation to Sphinx generated document.")
592 (license license:bsd-2)))