summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-10 00:47:19 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-11 14:27:00 -0400
commit257dee505e0fe9722a019fda3687fe44c5aa4c39 (patch)
tree06df8d16067a53c6caccc3fb0b5f17c1b40430a4
parent24ffd91bc257a4ebddd8359f4f32c4fb60fc90e1 (diff)
downloadguix-257dee505e0fe9722a019fda3687fe44c5aa4c39.tar.gz
gnu: Add ruby-yard-tomdoc.
* gnu/packages/ruby.scm (ruby-yard-tomdoc): New variable.
-rw-r--r--gnu/packages/ruby.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 07e23a0113..e1c242a083 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7253,6 +7253,36 @@ TomDoc format.")
     (home-page "http://rubyworks.github.com/tomparse/")
     (license license:bsd-2)))
 
+(define-public ruby-yard-tomdoc
+  (package
+    (name "ruby-yard-tomdoc")
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "yard-tomdoc" version))
+       (sha256
+        (base32
+         "1725gs8b8klpwhrvnf2wwp7dw3zxs9vz2la983l2d8c4r4fn1j2z"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _
+                      (invoke "rubytest" "-Ilib" "-Itest" "test/"))))))
+    (native-inputs
+     `(("ruby-rubytest-cli" ,ruby-rubytest-cli)
+       ("ruby-spectroscope" ,ruby-spectroscope)
+       ("ruby-ae" ,ruby-ae)))
+    (propagated-inputs
+     `(("ruby-tomparse" ,ruby-tomparse)
+       ("ruby-yard" ,ruby-yard)))
+    (synopsis "TomDoc syntax for YARD")
+    (description "This module adds support for the TomDoc documentation format
+to YARD, a documentation generation tool for Ruby.")
+    (home-page "http://rubyworks.github.com/yard-tomdoc/")
+    (license license:expat)))
+
 (define-public ruby-clap
   (package
     (name "ruby-clap")