guix_mirror_bot pushed a commit to branch master
in repository guix.

commit c9de7ffac179e7e65304febc74a273fc426a0687
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Tue Aug 25 15:10:01 2026 +0900

    gnu: Add python-sphinx-plantuml.
    
    * gnu/packages/sphinx.scm (python-sphinx-plantuml): New variable.
---
 gnu/packages/sphinx.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index d9a35a6efd..eca3b4f109 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -323,6 +323,40 @@ sources.")
 continuous HTML section numbering.")
     (license license:expat)))
 
+(define-public python-sphinx-plantuml
+  (let ((commit "69033c29c5baa6571039c368a73fa2629f08dfa5")
+        (revision "0"))
+    (package
+      (name "python-sphinx-plantuml")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+                (url "https://github.com/zqmillet/sphinx-plantuml";)
+                (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0aj62x3jkjx1bb05zbddgk8cbi7gvimvr5bcsm7jmr2rhryarawy"))))
+      (build-system pyproject-build-system)
+      (arguments
+       (list
+        #:tests? #f                     ;no substantial test suite
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'relax-requirements
+              (lambda _
+                (substitute* "sphinxcontrib/requirements.txt"
+                  (("==") ">=")))))))
+      (propagated-inputs (list python-docutils python-sphinx))
+      (native-inputs (list python-setuptools))
+      (home-page "https://github.com/zqmillet/sphinx-plantuml";)
+      (synopsis "Sphinx extension to render plantuml in Sphinx documents")
+      (description "This package provides an extension for Sphinx to render
+plantuml in Sphinx documents.")
+      (license license:expat))))
+
 (define-public python-sphinx-tags
   (package
     (name "python-sphinx-tags")

Reply via email to