guix-commits
[Top][All Lists]
Advanced

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

06/06: gnu: Add ruby-shindo.


From: David Thompson
Subject: 06/06: gnu: Add ruby-shindo.
Date: Sat, 19 Sep 2015 12:53:10 +0000

davexunit pushed a commit to branch master
in repository guix.

commit 7ac4610f7e00a08e3d05eb49b488043b3f0005a7
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Sep 16 11:03:10 2015 +0200

    gnu: Add ruby-shindo.
    
    * gnu/packages/ruby.scm (ruby-shindo): New variable.
---
 gnu/packages/ruby.scm |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d73e854..d80d3aa 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -646,6 +646,35 @@ standard output stream.")
     (home-page "http://github.com/geemus/formatador";)
     (license license:expat)))
 
+(define-public ruby-shindo
+  (package
+    (name "ruby-shindo")
+    (version "0.3.8")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "shindo" version))
+              (sha256
+               (base32
+                "0s8v1jbz8i0jh92f2fgxb3p51l1azrpkc8nv4mhrqy4vndpvd7wq"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:test-target "shindo_tests"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-tests
+          (lambda _
+            (substitute* "Rakefile"
+              (("system \"shindo") "system \"./bin/shindo")
+              ;; This test doesn't work, so we disable it.
+              (("fail \"The build_error test should fail") "#"))
+            #t)))))
+    (propagated-inputs
+     `(("ruby-formatador" ,ruby-formatador)))
+    (synopsis "Simple depth first Ruby testing")
+    (description "Shindo is a simple depth first testing library for Ruby.")
+    (home-page "https://github.com/geemus/shindo";)
+    (license license:expat)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")



reply via email to

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