Subject: [bug#75937] [PATCH v3 19/90] gnu: ruby-hashie: Update to 5.0.0-0.7351055.

From: Nicolas Graves <[email-masked]>
Date: Fri, 31 Jan 2025 07:53:14 +0100

* gnu/packages/ruby.scm (ruby-hashie): Update to 5.0.0-0.7351055.
---
 gnu/packages/ruby.scm | 74 ++++++++++++++++++++++---------------------
 1 file changed, 38 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4e445e4bb5..9d09a9391b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -14362,43 +14362,45 @@ (define-public ruby-rouge
                license:bsd-2))))
 
 (define-public ruby-hashie
-  (package
-    (name "ruby-hashie")
-    (version "5.0.0")
-    (source (origin
-              (method git-fetch)        ;for tests
-              (uri (git-reference
-                    (url "https://github.com/hashie/hashie")
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0ihami0cdn71cvwzwgr3vxqvqi0ifqsna0vlyqiqlhsnf93w0cm8"))))
-    (build-system ruby-build-system)
-    (arguments
-     (list #:test-target "spec"
-           #:phases #~(modify-phases %standard-phases
-                        (add-after 'unpack 'disable-bundler
-                          (lambda _
-                            (substitute* "Rakefile"
-                              ((".*require 'bundler'.*") "")
-                              ((".*Bundler.setup.*") "")
-                              (("Bundler::GemHelper\\.install_tasks") ""))))
-                        (add-after 'unpack 'disable-rubocop
-                          (lambda _
-                            (substitute* "Rakefile"
-                              (("require 'rubocop/rake_task'") "")
-                              (("RuboCop::RakeTask.new") ""))))
-                        (add-after 'unpack 'relax-requirements
-                          (lambda _
-                            ;; Contains multiple extraneous dependencies.
-                            (delete-file "Gemfile"))))))
-    (native-inputs (list ruby-json ruby-pry ruby-rspec ruby-rspec-pending-for))
-    (home-page "https://github.com/hashie/hashie")
-    (synopsis "Extensions to Ruby Hashes")
-    (description "Hashie is a collection of classes and mixins that make Ruby
+  (let ((commit "73510552ba580867e9882fe092568916cbcd810b")
+        (revision "0"))
+    (package
+      (name "ruby-hashie")
+      (version (git-version "5.0.0" revision commit))
+      (source (origin
+                (method git-fetch)        ;for tests
+                (uri (git-reference
+                      (url "https://github.com/hashie/hashie")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "08rpx040h6vgx6ynk6w029f7z7c8aj2p4v135k2l1zxvnw617ddw"))))
+      (build-system ruby-build-system)
+      (arguments
+       (list #:test-target "spec"
+             #:phases #~(modify-phases %standard-phases
+                          (add-after 'unpack 'disable-bundler
+                            (lambda _
+                              (substitute* "Rakefile"
+                                ((".*require 'bundler'.*") "")
+                                ((".*Bundler.setup.*") "")
+                                (("Bundler::GemHelper\\.install_tasks") ""))))
+                          (add-after 'unpack 'disable-rubocop
+                            (lambda _
+                              (substitute* "Rakefile"
+                                (("require 'rubocop/rake_task'") "")
+                                (("RuboCop::RakeTask.new") ""))))
+                          (add-after 'unpack 'relax-requirements
+                            (lambda _
+                              ;; Contains multiple extraneous dependencies.
+                              (delete-file "Gemfile"))))))
+      (native-inputs (list ruby-json ruby-pry ruby-rspec ruby-rspec-pending-for))
+      (home-page "https://github.com/hashie/hashie")
+      (synopsis "Extensions to Ruby Hashes")
+      (description "Hashie is a collection of classes and mixins that make Ruby
 hashes more powerful.")
-    (license license:expat)))
+      (license license:expat))))
 
 (define-public ruby-heredoc-unindent
   (package
-- 
2.48.1