summary refs log tree commit diff
path: root/gnu/packages/sphinx.scm
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-01-12 23:54:46 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-13 00:03:37 +0100
commit68e10a22334150e2e4e853c111576e668f9e89e4 (patch)
tree15161f8c748ac2e9e4b4217c8e14c9fd36ce7f87 /gnu/packages/sphinx.scm
parent4d078ed7104b523a8861a73d48a60b126307b75e (diff)
downloadguix-68e10a22334150e2e4e853c111576e668f9e89e4.tar.gz
gnu: Add python-sphinxcontrib-apidoc.
* gnu/packages/sphinx.scm (python-sphinxcontrib-apidoc): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/sphinx.scm')
-rw-r--r--gnu/packages/sphinx.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index bf33f14718..a334c58589 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -156,6 +156,32 @@ sources.")
              python2-six
              python2-sphinxcontrib-websupport)))))
 
+(define-public python-sphinxcontrib-apidoc
+  (package
+    (name "python-sphinxcontrib-apidoc")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sphinxcontrib-apidoc" version))
+       (sha256
+        (base32
+         "1f9zfzggs8a596jw51fpfmr149n05mrlyy859iydazbvry9gb6vj"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))                    ;requires python-pytest<4.0
+    (native-inputs
+     (list python-pbr
+           python-pre-commit
+           python-pytest
+           python-sphinx
+           python-testrepository))
+    (home-page "https://github.com/sphinx-contrib/apidoc")
+    (synopsis "Sphinx extension for running @code{sphinx-apidoc}")
+    (description "This package provides Sphinx extension for running
+@code{sphinx-apidoc} on each build.")
+    (license license:bsd-2)))
+
 (define-public python-sphinxcontrib-applehelp
   (package
     (name "python-sphinxcontrib-applehelp")