gnu: ruby-hashie: Update to 5.0.0-0.7351055.

* gnu/packages/ruby.scm (ruby-hashie): Update to 5.0.0-0.7351055.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-02-16 01:33:47 +01:00 committed by Andreas Enge
parent f723d0aad6
commit 5efc97329c
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

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