guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 088f79f10eb4788df4c688bcfea639728b19c17d
Author: Aaron Covrig <[email protected]>
AuthorDate: Tue Feb 24 20:01:45 2026 -0500

    gnu: Add ruby-asciidoctor-diagram.
    
    * gnu/packages/ruby-xyz.scm (ruby-asciidoctor-diagram): New variable.
    
    Change-Id: If7ac8430026b5d5502c01f5afdc271a9a582e9cd
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/ruby-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index c1d548a2d7..3099089cee 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -1232,6 +1232,36 @@ converting AsciiDoc content to HTML5, DocBook 5, PDF, 
and other formats.")
     (home-page "https://asciidoctor.org";)
     (license license:expat)))
 
+(define-public ruby-asciidoctor-diagram
+  (package
+    (name "ruby-asciidoctor-diagram")
+    (version "3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "asciidoctor-diagram" version))
+       (sha256
+        (base32 "15sc6yb4qyxy4v3bki26xn0j4k8rgjjiz3nwrxsprn6f0y6ysbp3"))))
+    (arguments (list #:tests? #f)) ;tests not bundled in gem
+    (native-inputs (list ruby-rspec))
+    (propagated-inputs (list ruby-asciidoctor ruby-rexml))
+    (build-system ruby-build-system)
+    (synopsis "Asciidoctor diagram extension")
+    (description "Asciidoctor Diagram is a set of Asciidoctor extensions that
+enable you to add diagrams, which you describe using plain text, to your
+AsciiDoc document.  The extension will run the appropriate diagram processor to
+generate an image from the input text.  The generated image is then inserted
+into your converted document.
+
+Detailed usage instructions can be found on the
+@url{https://docs.asciidoctor.org/diagram-extension/latest/,
+Asciidoctor documentation site}.
+
+Asciidoctor Diagram was inspired by the
+@url{https://code.google.com/p/asciidoc-plantuml/, AsciiDoc PlantUML filter}.")
+    (home-page "https://github.com/asciidoctor/asciidoctor-diagram";)
+    (license license:expat)))
+
 (define-public ruby-asciidoctor-multipage
   (package
     (name "ruby-asciidoctor-multipage")

Reply via email to