[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add go-github-com-fatih-color.
From: |
guix-commits |
Subject: |
01/01: gnu: Add go-github-com-fatih-color. |
Date: |
Thu, 2 Jan 2020 16:39:06 -0500 (EST) |
dannym pushed a commit to branch master
in repository guix.
commit 07f7bf3624b519498b694825eb6b9b0f45af7492
Author: Danny Milosavljevic <address@hidden>
Date: Thu Jan 2 21:44:51 2020 +0100
gnu: Add go-github-com-fatih-color.
* gnu/packages/golang.scm (go-github-com-fatih-color): New variable.
---
gnu/packages/golang.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 76b93c0..5d2eef6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3036,3 +3036,25 @@ on running processes and system utilization (CPU,
memory, disks, network,
sensors).")
(home-page "https://github.com/shirou/gopsutil")
(license license:bsd-3))))
+
+(define-public go-github-com-fatih-color
+ (package
+ (name "go-github-com-fatih-color")
+ (version "1.8.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fatih/color.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/fatih/color"))
+ (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.")
+ (home-page "https://godoc.org/github.com/fatih/color")
+ (license license:expat)))