From d2c8f1da53b7b9e5b86f87f9acb77ca643a654b0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 3 Jan 2022 12:25:14 +0200 Subject: 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. --- gnu/packages/golang.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 9074416f7f..adb6bbe488 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6039,10 +6039,17 @@ (define-public go-github-com-fatih-color (file-name (git-file-name name version)) (sha256 (base32 - "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0")))) + "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "vendor"))))) (build-system go-build-system) (arguments '(#: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") (description "This package provides an ANSI color package to output colorized or SGR defined output to the standard output.") -- cgit v1.2.3