From 55374b806cbebb0ada67249dc5aaa67849350832 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sun, 9 Aug 2020 00:58:24 +0300 Subject: gnu: Add go-github-com-muesli-termenv. * gnu/packages/golang.scm (go-github-com-muesli-termenv): New variable. --- gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 89fa696005..5d2d4cd7ea 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4887,3 +4887,33 @@ io.Writers helping you to transform blocks of text.") (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))) -- cgit 1.4.1