guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.
commit 842b4745a4b668d46e97c5e566c32db7b25894a4
Author: gemmaro <[email protected]>
AuthorDate: Mon Aug 24 12:40:17 2026 +0900
gnu: ruby-cucumber-messages: Update to 32.3.1.
* gnu/packages/ruby-check.scm (ruby-cucumber-messages): Update to 32.3.1.
[source]: Use Git repository.
[arguments]<#:test-target>: Specify 'spec'.
<#:phases>{check, install}: Remove swapping.
{chdir}: Add it.
[native-inputs]: Remove ruby-cucumber-compatibility-kit-bootstrap.
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/ruby-check.scm | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/ruby-check.scm b/gnu/packages/ruby-check.scm
index d3bfc890af..2be2b2e502 100644
--- a/gnu/packages/ruby-check.scm
+++ b/gnu/packages/ruby-check.scm
@@ -28,7 +28,7 @@
;;; Copyright © 2022 Stephen Paul Weber <[email protected]>
;;; Copyright © 2022 Taiju HIGASHI <[email protected]>
;;; Copyright © 2022 Tom Fitzhenry <[email protected]>
-;;; Copyright © 2023, 2025 gemmaro <[email protected]>
+;;; Copyright © 2023, 2025, 2026 gemmaro <[email protected]>
;;; Copyright © 2023 Hartmut Goebel <[email protected]>
;;; Copyright © 2023 Yovan Naumovski <[email protected]>
;;; Copyright © 2025 Nicolas Graves <[email protected]>
@@ -352,29 +352,26 @@ messages.")
(define-public ruby-cucumber-messages
(package
(name "ruby-cucumber-messages")
- (version "21.0.1")
+ (version "32.3.1")
(source (origin
- (method url-fetch)
- (uri (rubygems-uri "cucumber-messages" version))
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/cucumber/messages")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0482a63y7my0arn2bv208g401dq8525f0gwhnwaa11mhv6ph0q5i"))))
+ "0s30w4fyqx0mc4qksk78z54myc2iv6qk05kmshqmcfzqy1rg5a5f"))))
(build-system ruby-build-system)
(arguments
- (list #:phases
+ (list #:test-target "spec"
+ #:phases
#~(modify-phases %standard-phases
- ;; The test suite requires the gem to be installed, so move it
- ;; after the install phase.
- (delete 'check)
- (add-after 'install 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (setenv "GEM_PATH" (string-append
- (getenv "GEM_PATH") ":"
- #$output "/lib/ruby/vendor_ruby"))
- (when tests?
- (invoke "rspec")))))))
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "ruby"))))))
(native-inputs
- (list ruby-cucumber-compatibility-kit-bootstrap ruby-rspec))
+ (list ruby-rspec))
(home-page "https://github.com/cucumber/messages/")
(synopsis "Cucumber Messages for Ruby (Protocol Buffers)")
(description "Cucumber Messages for Ruby is a library which allows