gnu: ruby-term-ansicolor: Fix build.

* gnu/packages/ruby.scm (ruby-term-ansicolor)[arguments]: Update style.
[native-inputs]: Remove ruby-minitest-tu-shim.
This commit is contained in:
Christopher Baines 2023-06-27 12:08:21 +01:00
parent 280c0f092d
commit 058294caed
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -7469,8 +7469,9 @@ (define-public ruby-term-ansicolor
;; Rebuilding the gemspec seems to require git, even though this is not a ;; Rebuilding the gemspec seems to require git, even though this is not a
;; git repository, so we just build the gem from the existing gemspec. ;; git repository, so we just build the gem from the existing gemspec.
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-test (add-after 'unpack 'fix-test
(lambda - (lambda -
(substitute* "tests/hsl_triple_test.rb" (substitute* "tests/hsl_triple_test.rb"
@ -7482,7 +7483,7 @@ (define-public ruby-term-ansicolor
(propagated-inputs (propagated-inputs
(list ruby-tins)) (list ruby-tins))
(native-inputs (native-inputs
(list ruby-gem-hadar ruby-minitest-tu-shim)) (list ruby-gem-hadar))
(synopsis "Ruby library to control the attributes of terminal output") (synopsis "Ruby library to control the attributes of terminal output")
(description (description
"This Ruby library uses ANSI escape sequences to control the attributes "This Ruby library uses ANSI escape sequences to control the attributes