guix-commits
[Top][All Lists]
Advanced

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

03/08: gnu: Add ruby-simplecov.


From: Ricardo Wurmus
Subject: 03/08: gnu: Add ruby-simplecov.
Date: Mon, 30 Nov 2015 13:45:49 +0000

rekado pushed a commit to branch master
in repository guix.

commit a84fa2ad42e906d7c64a74f537c43b410a24692c
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Nov 24 16:48:42 2015 +0100

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4a33c3c..4265435 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -852,6 +852,33 @@ the SimpleCov code coverage tool for Ruby version 1.9 and 
above.")
     (home-page "https://github.com/colszowka/simplecov-html";)
     (license license:expat)))
 
+(define-public ruby-simplecov
+  (package
+    (name "ruby-simplecov")
+    (version "0.10.0")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "simplecov" version))
+              (sha256
+               (base32
+                "1q2iq2vgrdvvla5y907gkmqx6ry2qvnvc7a90hlcbwgp1w0sv6z4"))))
+    (build-system ruby-build-system)
+    ;; Simplecov depends on rubocop for code style checking at build time.
+    ;; Rubocop needs simplecov at build time.
+    (arguments `(#:tests? #f))
+    (propagated-inputs
+     `(("ruby-json" ,ruby-json)
+       ("ruby-docile" ,ruby-docile)
+       ("ruby-simplecov-html" ,ruby-simplecov-html)))
+    (native-inputs
+     `(("bundler" ,bundler)))
+    (synopsis "Code coverage framework for Ruby")
+    (description "SimpleCov is a code coverage framework for Ruby with a
+powerful configuration library and automatic merging of coverage across test
+suites.")
+    (home-page "http://github.com/colszowka/simplecov";)
+    (license license:expat)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")



reply via email to

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