guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/08: gnu: Add ruby-sdoc.


From: Ricardo Wurmus
Subject: 07/08: gnu: Add ruby-sdoc.
Date: Mon, 30 Nov 2015 13:45:52 +0000

rekado pushed a commit to branch master
in repository guix.

commit d3b20a02c8c6527cf600e1a89b0c6c7319cea9f5
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Nov 24 16:52:53 2015 +0100

    gnu: Add ruby-sdoc.
    
    * gnu/packages/ruby.scm (ruby-sdoc): New variable.
---
 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 d0f6fe9..7e02d41 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]