1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add python-sphinx-toml.

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

Change-Id: Ia610e34b2fc1bea09bead7628fc01c184f69581e
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Reviewed-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Yan Abu Arab
2026-02-21 19:10:16 +02:00
committed by Sharlatan Hellseher
parent 375e6157db
commit c5bf001c2f

View File

@@ -326,6 +326,38 @@ sources.")
create tags for documentation pages.")
(license license:expat)))
(define-public python-sphinx-toml
(let ((commit "095a4d193a7fd046317b9f15074a5f70d6b1fd38")
(revision "0"))
(package
(name "python-sphinx-toml")
;; version number from untagged commit
;; 1dc4121cbec4247ae931165c2b22727705cf0caa
(version (git-version "0.0.4" revision commit))
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/Carreau/sphinx_toml")
(commit commit)))
(sha256
(base32 "0f5vm8m8gbjl963mgw4r3yq5k9npyiyp80c785f73sh8z9zhq485"))))
(build-system pyproject-build-system)
(native-inputs
(list python-flit-core))
(propagated-inputs
(list python-intersphinx-registry
python-pydantic
python-tomli))
(home-page "https://github.com/Carreau/sphinx_toml")
(synopsis "Load data from a sphinx.toml file next to a conf.py file")
(description
"This package implements a functionality of partially load Sphinx
configuration from @code{sphinx.toml} situated in the same dir as
@code{conf.py}.")
(license license:expat))))
(define-public python-sphinxcontrib-apidoc
(package
(name "python-sphinxcontrib-apidoc")