gnu: go-github-com-fatih-color: Remove vendored code.

* gnu/packages/golang.scm (go-github-com-fatih-color)[source]: Add
snippet.
[propagated-inputs]: Add go-github-com-mattn-go-colorable,
go-github-com-mattn-go-isatty.
This commit is contained in:
Efraim Flashner 2022-01-03 12:25:14 +02:00
parent 98d93f9769
commit d2c8f1da53
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6039,10 +6039,17 @@ (define-public go-github-com-fatih-color
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0")))) "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "vendor")))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
'(#:import-path "github.com/fatih/color")) '(#:import-path "github.com/fatih/color"))
(propagated-inputs
(list go-github-com-mattn-go-colorable
go-github-com-mattn-go-isatty))
(synopsis "Print colored text in Go") (synopsis "Print colored text in Go")
(description "This package provides an ANSI color package to output (description "This package provides an ANSI color package to output
colorized or SGR defined output to the standard output.") colorized or SGR defined output to the standard output.")