aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-01 21:26:04 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:10 -0400
commit547af94eeb08d7260d6284b6d617c612f0630c5e (patch)
tree15094d7bcc2ec1f4b355ba08a9658c7544899819
parent6047e3ba7e2dfda155796408cd8fe86dd48304d3 (diff)
downloadguix-547af94eeb08d7260d6284b6d617c612f0630c5e.tar.gz
guix-547af94eeb08d7260d6284b6d617c612f0630c5e.zip
gnu: Add ruby-simplecov-json-formatter.
* gnu/packages/ruby.scm (ruby-simplecov-json-formatter): New variable.
-rw-r--r--gnu/packages/ruby.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 75b18e9075..da3184c66b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3382,6 +3382,27 @@ 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-json-formatter
+ (package
+ (name "ruby-simplecov-json-formatter")
+ (version "0.1.4")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "simplecov_json_formatter" version))
+ (sha256
+ (base32
+ "0a5l0733hj7sk51j81ykfmlk2vd5vaijlq9d5fn165yyx3xii52j"))))
+ (build-system ruby-build-system)
+ ;; The test suite is disabled because it requires simplecov, which
+ ;; requires this, introducing a dependency cycle.
+ (arguments (list #:tests? #f))
+ (synopsis "JSON formatter for SimpleCov")
+ (description "This package provides a JSON formatter for SimpleCov, the
+Ruby code coverage tool.")
+ (home-page
+ "https://github.com/codeclimate-community/simplecov_json_formatter")
+ (license license:expat)))
+
(define-public ruby-simplecov
(package
(name "ruby-simplecov")