gnu: Add ruby-yard-tomdoc.

* gnu/packages/ruby.scm (ruby-yard-tomdoc): New variable.
This commit is contained in:
Maxim Cournoyer 2020-07-10 00:47:19 -04:00
parent 24ffd91bc2
commit 257dee505e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -7253,6 +7253,36 @@ (define-public ruby-tomparse
(home-page "http://rubyworks.github.com/tomparse/") (home-page "http://rubyworks.github.com/tomparse/")
(license license:bsd-2))) (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 (define-public ruby-clap
(package (package
(name "ruby-clap") (name "ruby-clap")