mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-02 09:28:57 -05:00
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:
parent
280c0f092d
commit
058294caed
1 changed files with 12 additions and 11 deletions
|
@ -7469,20 +7469,21 @@ (define-public ruby-term-ansicolor
|
|||
;; 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.
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-test
|
||||
(lambda -
|
||||
(substitute* "tests/hsl_triple_test.rb"
|
||||
(("0\\\\\\.0%")
|
||||
"0\\.?0?%"))))
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(invoke "gem" "build" "term-ansicolor.gemspec"))))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-test
|
||||
(lambda -
|
||||
(substitute* "tests/hsl_triple_test.rb"
|
||||
(("0\\\\\\.0%")
|
||||
"0\\.?0?%"))))
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(invoke "gem" "build" "term-ansicolor.gemspec"))))))
|
||||
(propagated-inputs
|
||||
(list ruby-tins))
|
||||
(native-inputs
|
||||
(list ruby-gem-hadar ruby-minitest-tu-shim))
|
||||
(list ruby-gem-hadar))
|
||||
(synopsis "Ruby library to control the attributes of terminal output")
|
||||
(description
|
||||
"This Ruby library uses ANSI escape sequences to control the attributes
|
||||
|
|
Loading…
Reference in a new issue