guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 01/02: gnu: go-github-com-fatih-color: Remove vendored code.
Date: Mon, 3 Jan 2022 10:13:57 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit d2c8f1da53b7b9e5b86f87f9acb77ca643a654b0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jan 3 12:25:14 2022 +0200

    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 @@ can be used to build a client and/or a server.")
               (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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]