guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.
commit 0008ac26ea9c4bcbddfc68e54c09a34011874306
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jun 18 16:27:27 2025 +0200
gnu: ruby-crass: Fix minitest.
* gnu/packages/ruby-xyz.scm (ruby-crass)[arguments]{phases}: Add phase
'patch-minitest.
---
gnu/packages/ruby-xyz.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 689e0a9de6..e79b7b242a 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -7564,6 +7564,14 @@ documents and fragments. It's built on top of Nokogiri
and libxml2.")
(base32
"1gbsb81psgb6xhnwpx4s409jc0mk0gijh039sy5xyi8jpaaadp40"))))
(build-system ruby-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-minitest
+ (lambda _
+ (substitute* "test/support/common.rb"
+ (("MiniTest")
+ "Minitest")))))))
(synopsis "Pure Ruby CSS parser")
(description
"Crass is a pure Ruby CSS parser based on the CSS Syntax Level 3 spec.")