gnu: ruby-minitest-bonus-assertions: Fix build.

* gnu/packages/ruby.scm (ruby-minitest-bonus-assertions)[arguments]: Update
style.
[native-inputs]: Remove ruby-minitest-pretty-diff.
This commit is contained in:
Christopher Baines 2023-06-27 12:03:16 +01:00
parent 0fb053f923
commit 280c0f092d
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -5716,18 +5716,19 @@ (define-public ruby-minitest-bonus-assertions
"1hbq9jk904xkz868yha1bqcm6azm7kmjsll2k4pn2nrcib508h2a"))))
(build-system ruby-build-system)
(arguments
`(#:tests? #f ; Test suite has bitrotted.
#:phases
(modify-phases %standard-phases
(add-before 'check 'clean-dependencies
(lambda _
;; Remove unneeded require statement that would entail another
;; dependency.
(substitute* "test/minitest_config.rb"
(("require 'minitest/bisect'") ""))
#t)))))
(list
#:tests? #f ; Test suite has bitrotted.
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'clean-dependencies
(lambda _
;; Remove unneeded require statement that would entail another
;; dependency.
(substitute* "test/minitest_config.rb"
(("require 'minitest/bisect'") "")))))))
(native-inputs
(list ruby-hoe ruby-minitest-pretty-diff ruby-minitest-focus
(list ruby-hoe
ruby-minitest-focus
ruby-minitest-moar))
(synopsis "Bonus assertions for @code{Minitest}")
(description