aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-11-24 16:48:42 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-11-30 14:41:48 +0100
commita84fa2ad42e906d7c64a74f537c43b410a24692c (patch)
treec5eb95c59b198c2bf709b026e9bc34abb3951a5e
parentb0cf606f756416f6e1323fb2c7bd38989ad2f2bd (diff)
downloadgnu-guix-a84fa2ad42e906d7c64a74f537c43b410a24692c.tar
gnu-guix-a84fa2ad42e906d7c64a74f537c43b410a24692c.tar.gz
gnu: Add ruby-simplecov.
* gnu/packages/ruby.scm (ruby-simplecov): New variable.
-rw-r--r--gnu/packages/ruby.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4a33c3c6f7..4265435d2b 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")