guix-commits
[Top][All Lists]
Advanced

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

61/229: gnu: Add ruby-simplecov-lcov.


From: guix-commits
Subject: 61/229: gnu: Add ruby-simplecov-lcov.
Date: Tue, 28 Mar 2023 22:29:02 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 1614217e9125905864995370eb5180de0358d166
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 8 08:37:50 2023 -0500

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7911630702..ee3e5da702 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3459,6 +3459,33 @@ suites.")
     (home-page "https://github.com/simplecov-ruby/simplecov";)
     (license license:expat)))
 
+(define-public ruby-simplecov-lcov
+  (package
+    (name "ruby-simplecov-lcov")
+    (version "0.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "simplecov-lcov" version))
+              (sha256
+               (base32
+                "1h8kswnshgb9zidvc88f4zjy4gflgz3854sx9wrw8ppgnwfg6581"))))
+    (build-system ruby-build-system)
+    ;; The test suite fails half of its tests; it seems to rely on older
+    ;; versions of simplecov, rspec, possibly others (see:
+    ;; https://github.com/fortissimo1997/simplecov-lcov/issues/29).
+    (arguments (list #:tests? #f
+                     #:test-target "spec"))
+    (native-inputs
+     (list ruby-activesupport
+           ruby-coveralls
+           ruby-rspec
+           ruby-simplecov))
+    (synopsis "SimpleCov formatter to generate a lcov style coverage")
+    (description "This package provides a SimpleCov formatter to generate a
+lcov-style coverage report.")
+    (home-page "https://github.com/fortissimo1997/simplecov-lcov";)
+    (license license:expat)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")



reply via email to

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