3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add python-sphinxcontrib-autoprogram.

* gnu/packages/sphinx.scm (python-sphinxcontrib-autoprogram): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Hugo Lecomte 2021-07-05 09:29:29 +02:00 committed by Ludovic Courtès
parent d6b3908840
commit 885c1bd06e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -812,3 +812,28 @@ Jupyter kernel, and embeds outputs of that code in the document. It has
support for rich output such as images, LaTeX math and even JavaScript
widgets, and supports thebelab for live code execution with minimal effort.")
(license license:bsd-3)))
(define-public python-sphinxcontrib-autoprogram
(package
(name "python-sphinxcontrib-autoprogram")
(version "0.1.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sphinxcontrib-autoprogram" version))
(sha256
(base32
"06hzim0d3fd72kf30fyjbbm5n8ibyybic0kf62gm79qp50zjwr5w"))))
(build-system python-build-system)
(propagated-inputs
`(("python-six" ,python-six)))
(native-inputs
`(("python-sphinx" ,python-sphinx)))
(home-page "https://github.com/sphinx-contrib/autoprogram")
(synopsis "Documenting CLI programs")
(description
"This Sphinx extension, @code{sphinxcontrib.autoprogram}, provides an
automated way to document command-line programs. It scans
@code{argparse.ArgumentParser} object, and then expands it into a set of
@code{.. program::} and @code{.. option::} directives.")
(license license:bsd-2)))