summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-07 23:41:28 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-07 23:41:28 -0400
commitcfef316f25b718479569bd23bd8e26c83bf2e7d0 (patch)
treec4f8f9a85121d684efa3c4c0c5d278eb0ff7295f
parentdff5392f855c70bdeeb060ca7f4422ba6a91de5e (diff)
downloadguix-cfef316f25b718479569bd23bd8e26c83bf2e7d0.tar.gz
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.
-rw-r--r--gnu/packages/ruby.scm25
1 files changed, 14 insertions, 11 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 47951d9d5a..871ca2a654 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