mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-12 18:10:47 +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:
parent
5094b10363
commit
e6abd00e31
1 changed files with 9 additions and 2 deletions
|
@ -5147,7 +5147,7 @@ Ruby, but can be used for all programs.")
|
|||
(define-public ruby-maxitest
|
||||
(package
|
||||
(name "ruby-maxitest")
|
||||
(version "5.1.0")
|
||||
(version "6.0.0")
|
||||
(home-page "https://github.com/grosser/maxitest")
|
||||
(source (origin
|
||||
;; 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))
|
||||
(sha256
|
||||
(base32
|
||||
"0qj410krfm497ggmf71xpnabbb6814y0585by4nlzyjvg9hpgg3m"))))
|
||||
"08wwcjlq0gnzfpmf9jxs28x31d62xvx0gbvwrfr923mcn30myxrd"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-target "default"
|
||||
#: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
|
||||
(lambda _
|
||||
(substitute* "maxitest.gemspec"
|
||||
|
@ -5184,6 +5190,7 @@ Ruby, but can be used for all programs.")
|
|||
(native-inputs
|
||||
(list procps
|
||||
ruby-bump
|
||||
ruby-mutex-m
|
||||
ruby-rspec
|
||||
ruby-wwtd))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue