gnu: Add go-github-com-muesli-termenv.

* gnu/packages/golang.scm (go-github-com-muesli-termenv): New variable.
This commit is contained in:
Oleg Pykhalov 2020-08-09 00:58:24 +03:00
parent e465f72fbb
commit 55374b806c
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -4887,3 +4887,33 @@ (define-public go-github-com-muesli-reflow-padding
(arguments
`(#:import-path "github.com/muesli/reflow/padding"
#:unpack-path "github.com/muesli/reflow"))))
(define-public go-github-com-muesli-termenv
(package
(name "go-github-com-muesli-termenv")
(version "0.7.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/muesli/termenv")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/muesli/termenv"))
(native-inputs
`(("go-github-com-google-goterm" ,go-github-com-google-goterm)
("go-golang-org-colorful" ,go-golang-org-colorful)
("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
(home-page "https://github.com/muesli/termenv/")
(synopsis "Advanced styling options on the terminal")
(description "termenv lets you safely use advanced styling options on the
terminal. It gathers information about the terminal environment in terms of
its ANSI and color support and offers you convenient methods to colorize and
style your output, without you having to deal with all kinds of weird ANSI
escape sequences and color conversions.")
(license license:expat)))