1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 02:20:53 +02:00

gnu: ruby-maxitest: Update to 6.0.0.

* gnu/packages/ruby-xyz.scm (ruby-maxitest): Update to 6.0.0.
  [arguments]{phases}: Add phase 'add-mutex-m.
  [native-inputs]: Add ruby-mutex-m.
This commit is contained in:
Nicolas Graves 2025-06-18 16:27:48 +02:00 committed by Andreas Enge
parent 5094b10363
commit e6abd00e31
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -5147,7 +5147,7 @@ Ruby, but can be used for all programs.")
(define-public ruby-maxitest (define-public ruby-maxitest
(package (package
(name "ruby-maxitest") (name "ruby-maxitest")
(version "5.1.0") (version "6.0.0")
(home-page "https://github.com/grosser/maxitest") (home-page "https://github.com/grosser/maxitest")
(source (origin (source (origin
;; Pull from git because the gem does not contain tests. ;; Pull from git because the gem does not contain tests.
@ -5158,13 +5158,19 @@ Ruby, but can be used for all programs.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0qj410krfm497ggmf71xpnabbb6814y0585by4nlzyjvg9hpgg3m")))) "08wwcjlq0gnzfpmf9jxs28x31d62xvx0gbvwrfr923mcn30myxrd"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
(list (list
#:test-target "default" #:test-target "default"
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; Warnings make 2 tests fail. Add mutex-m in Gemfile to avoid them.
(add-after 'unpack 'add-mutex-m
(lambda _
(substitute* "Gemfile"
(("^gem \"bump\".*" all)
(string-append all "gem \"mutex_m\"\n")))))
(replace 'replace-git-ls-files (replace 'replace-git-ls-files
(lambda _ (lambda _
(substitute* "maxitest.gemspec" (substitute* "maxitest.gemspec"
@ -5184,6 +5190,7 @@ Ruby, but can be used for all programs.")
(native-inputs (native-inputs
(list procps (list procps
ruby-bump ruby-bump
ruby-mutex-m
ruby-rspec ruby-rspec
ruby-wwtd)) ruby-wwtd))
(propagated-inputs (propagated-inputs