mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
gnu: Add python-sphinx-autodoc-typehints.
* gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): New variable.
This commit is contained in:
parent
b15720182e
commit
207aa62e6b
1 changed files with 27 additions and 0 deletions
|
@ -670,6 +670,33 @@ (define-public python-sphinx-autobuild
|
|||
enabled web server.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-sphinx-autodoc-typehints
|
||||
(package
|
||||
(name "python-sphinx-autodoc-typehints")
|
||||
(version "1.11.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "sphinx-autodoc-typehints" version))
|
||||
(sha256
|
||||
(base32
|
||||
"086v9mg21pvfx0lfqjx2xf36hnzrsripfg345xi59f7xwb9scjr4"))))
|
||||
(build-system python-build-system)
|
||||
(propagated-inputs
|
||||
`(("python-setuptools-scm" ,python-setuptools-scm)
|
||||
("python-sphinx" ,python-sphinx)))
|
||||
(native-inputs
|
||||
`(("python-dataclasses" ,python-dataclasses)
|
||||
("python-pytest" ,python-pytest)
|
||||
("python-sphinx" ,python-sphinx)
|
||||
("python-sphobjinv" ,python-sphobjinv)
|
||||
("python-typing-extensions" ,python-typing-extensions)))
|
||||
(home-page "https://pypi.org/project/sphinx-autodoc-typehints/")
|
||||
(synopsis "Type hints for the Sphinx autodoc extension")
|
||||
(description "This extension allows you to use Python 3 annotations for
|
||||
documenting acceptable argument types and return value types of functions.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-nbsphinx
|
||||
(package
|
||||
(name "python-nbsphinx")
|
||||
|
|
Loading…
Reference in a new issue