gnu: Add ruby-sdoc.
* gnu/packages/ruby.scm (ruby-sdoc): New variable.
This commit is contained in:
parent
a75bdfcec3
commit
d3b20a02c8
|
@ -1830,6 +1830,38 @@ current line in an external editor.")
|
||||||
(home-page "https://github.com/tpope/pry-editline")
|
(home-page "https://github.com/tpope/pry-editline")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ruby-sdoc
|
||||||
|
(package
|
||||||
|
(name "ruby-sdoc")
|
||||||
|
(version "0.4.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (rubygems-uri "sdoc" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"16xyfair1j4irfkd6sxvmdcak957z71lwkvhglrznfpkalfnqyqp"))))
|
||||||
|
(build-system ruby-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'build 'relax-minitest-requirement
|
||||||
|
(lambda _
|
||||||
|
(substitute* "sdoc.gemspec"
|
||||||
|
(("<minitest>, \\[\"~> 4\\.0\"\\]")
|
||||||
|
"<minitest>, [\">= 4.0\"]"))
|
||||||
|
#t)))))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("ruby-json" ,ruby-json)))
|
||||||
|
(native-inputs
|
||||||
|
`(("bundler" ,bundler)
|
||||||
|
("ruby-minitest" ,ruby-minitest)))
|
||||||
|
(synopsis "Generate searchable RDoc documentation")
|
||||||
|
(description
|
||||||
|
"SDoc is an RDoc documentation generator to build searchable HTML
|
||||||
|
documentation for Ruby code.")
|
||||||
|
(home-page "http://github.com/voloko/sdoc")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ruby-json
|
(define-public ruby-json
|
||||||
(package
|
(package
|
||||||
(name "ruby-json")
|
(name "ruby-json")
|
||||||
|
|
Loading…
Reference in New Issue