summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-07-06 10:01:24 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-07-07 11:20:19 +0100
commit404d3c7776a773359ed3f8d3f0a2baa4075ec2f3 (patch)
tree0db565c15aae708b40f9028bc14c9ddb3275f377 /gnu/packages/golang-xyz.scm
parent46f84cdec5ff264557d86dd80f7859bc1aa1a3b5 (diff)
gnu: go-github-com-alecthomas-colour: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-alecthomas-colour): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I8cbe20aede41417cb6769011385d3986df714cd2
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1155affd3d..86964c47b9 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -508,6 +508,34 @@ syntax highlighted HTML, ANSI-coloured text, etc.")
(list go-github-com-alecthomas-assert-v2
go-github-com-alecthomas-repr))))
+(define-public go-github-com-alecthomas-colour
+ (package
+ (name "go-github-com-alecthomas-colour")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alecthomas/colour")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/alecthomas/colour"))
+ (native-inputs
+ (list go-github-com-mattn-go-isatty))
+ (home-page "https://github.com/alecthomas/colour/")
+ (synopsis "Colour terminal text for Go")
+ (description
+ "Package colour provides Quake-style colour formatting for Unix
+terminals. The package level functions can be used to write to stdout (or
+strings or other files). If stdout is not a terminal, colour formatting will
+be stripped.")
+ (license license:expat)))
+
(define-public go-github-com-alecthomas-kingpin
(package
(name "go-github-com-alecthomas-kingpin")