diff options
| author | Aaron Covrig <aarcov@gmail.com> | 2026-02-24 20:01:45 -0500 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-01 18:43:07 +0100 |
| commit | 088f79f10eb4788df4c688bcfea639728b19c17d (patch) | |
| tree | f9eba6052e3e98f4335d331ee9cc6d723abc8592 | |
| parent | 1feffe8f11ed83adea627979201efdf323991c93 (diff) | |
gnu: Add ruby-asciidoctor-diagram.
* gnu/packages/ruby-xyz.scm (ruby-asciidoctor-diagram): New variable.
Change-Id: If7ac8430026b5d5502c01f5afdc271a9a582e9cd
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/ruby-xyz.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index c1d548a2d7c..3099089cee9 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") |
