guix-commits
[Top][All Lists]
Advanced

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

46/229: gnu: ruby-cucumber-html-formatter: Update to 20.2.1.


From: guix-commits
Subject: 46/229: gnu: ruby-cucumber-html-formatter: Update to 20.2.1.
Date: Tue, 28 Mar 2023 22:29:00 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 2ccb9e002d9f97412be3c9c0cd80f5990e5ec3e9
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Mar 6 16:10:03 2023 -0500

    gnu: ruby-cucumber-html-formatter: Update to 20.2.1.
    
    * gnu/packages/ruby.scm (ruby-cucumber-html-formatter): Update to 20.2.1.
    [arguments]: Use gexps.  Add a relax-requirements phase.
    [native-inputs]: Add ruby-cucumber-compatibility-kit.
    [home-page]: Update URL.
---
 gnu/packages/ruby.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c35991b337..9657c3f83e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8204,31 +8204,32 @@ system-specific @code{Meta} messages for Cucumber 
Ruby.")
 (define-public ruby-cucumber-html-formatter
   (package
     (name "ruby-cucumber-html-formatter")
-    (version "7.0.0")
+    (version "20.2.1")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "cucumber-html-formatter" version))
        (sha256
         (base32
-         "0lshj4sw9jw7687wrhknyb9kffblai3l843zgrznyqij3ga0bc62"))))
+         "0c7r9mfmph4c6yzc7y3dkr92rhwvpyksr0mdhpqp67xmmr8z1br4"))))
     (build-system ruby-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda _
-                      (invoke "rspec"))))))
-    (native-inputs
-     (list ruby-rspec))
-    (propagated-inputs
-     (list ruby-cucumber-messages))
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'extract-gemspec 'relax-requirements
+                          (lambda _
+                            (substitute* ".gemspec"
+                              (("~> 18.0") "~> 21.0")))) ;cucumber-messages
+                        (replace 'check
+                          (lambda _
+                            (invoke "rspec"))))))
+    (native-inputs (list ruby-cucumber-compatibility-kit ruby-rspec))
+    (propagated-inputs (list ruby-cucumber-messages))
     (synopsis "HTML formatter for Cucumber")
     (description "Cucumber HTML Formatter produces a HTML report for Cucumber
 runs.  It is built on top of cucumber-react and works with any Cucumber
 implementation with a protocol buffer formatter that outputs Cucumber
 messages.")
-    (home-page "https://github.com/cucumber/cucumber/tree/\
-master/html-formatter/ruby")
+    (home-page "https://github.com/cucumber/html-formatter";)
     (license license:expat)))
 
 (define-public ruby-cucumber



reply via email to

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