guix-commits
[Top][All Lists]
Advanced

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

24/38: gnu: ruby-gherkin: Update to 14.0.1.


From: guix-commits
Subject: 24/38: gnu: ruby-gherkin: Update to 14.0.1.
Date: Wed, 8 Jul 2020 23:42:33 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit cfef316f25b718479569bd23bd8e26c83bf2e7d0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Jul 7 23:41:28 2020 -0400

    gnu: ruby-gherkin: Update to 14.0.1.
    
    * gnu/packages/ruby.scm (ruby-gherkin): Update to 14.0.1.
    [native-inputs]: Remove bundler.  Add ruby-cucumber-messages and ruby-rspec.
    [phases]: Delete.
    [home-page]: Update.
---
 gnu/packages/ruby.scm | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 47951d9..871ca2a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6434,24 +6434,27 @@ Cucumber.")
 (define-public ruby-gherkin
   (package
     (name "ruby-gherkin")
-    (version "5.1.0")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (rubygems-uri "gherkin" version))
-        (sha256
-          (base32
-            "1cgcdchwwdm10rsk44frjwqd4ihprhxjbm799nscqy2q1raqfj5s"))))
+    (version "14.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/cucumber/gherkin-ruby";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1dwa8632nc6kijv8p257jl64rsjmc0fimlaqvxlkdi2h9n1nympb"))))
     (build-system ruby-build-system)
     (native-inputs
-     `(("bundler" ,bundler)))
+     `(("ruby-cucumber-messages" ,ruby-cucumber-messages)
+       ("ruby-rspec" ,ruby-rspec)))
     (arguments
-     '(#:tests? #f)) ; needs simplecov, among others
+     `(#:test-target "spec"))
     (synopsis "Gherkin parser for Ruby")
     (description "Gherkin is a parser and compiler for the Gherkin language.
 It is intended be used by all Cucumber implementations to parse
 @file{.feature} files.")
-    (home-page "https://github.com/cucumber-attic/gherkin";)
+    (home-page "https://github.com/cucumber/gherkin-ruby";)
     (license license:expat)))
 
 (define-public ruby-gherkin-ruby



reply via email to

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