diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-11-24 16:52:53 +0100 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-11-30 14:41:48 +0100 |
commit | d3b20a02c8c6527cf600e1a89b0c6c7319cea9f5 (patch) | |
tree | cf537d24d99ac32a1d58a14f5afd3f2b2ae531bf /gnu | |
parent | a75bdfcec340cbb9d240b542e09ffb3d32ea658d (diff) | |
download | guix-d3b20a02c8c6527cf600e1a89b0c6c7319cea9f5.tar.gz |
gnu: Add ruby-sdoc.
* gnu/packages/ruby.scm (ruby-sdoc): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index d0f6fe971d..7e02d417d2 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1830,6 +1830,38 @@ current line in an external editor.") (home-page "https://github.com/tpope/pry-editline") (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 (package (name "ruby-json") |