aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-08-09 01:08:52 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-08-09 17:19:21 +0300
commit2ab8fad7afc0504ffb5e78108198ed0056624d7d (patch)
tree40020f79247fc8c3092e26967bc3331985ea3197
parent5e8a102f873f49a4baa031fd374e76ae0eb99cf5 (diff)
downloadguix-2ab8fad7afc0504ffb5e78108198ed0056624d7d.tar
guix-2ab8fad7afc0504ffb5e78108198ed0056624d7d.tar.gz
gnu: Add go-github-com-charmbracelet-glamour.
* gnu/packages/golang.scm (go-github-com-charmbracelet-glamour): New variable.
-rw-r--r--gnu/packages/golang.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e6cb50fcdf..9b469123c9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4978,3 +4978,46 @@ escape sequences and color conversions.")
(synopsis "Markdown parser")
(description "This package provides a markdown parser.")
(license license:expat)))
+
+(define-public go-github-com-charmbracelet-glamour
+ (package
+ (name "go-github-com-charmbracelet-glamour")
+ (version "0.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/charmbracelet/glamour")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/charmbracelet/glamour"))
+ (native-inputs
+ `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
+ ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
+ ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
+ ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
+ ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
+ ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
+ ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
+ ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
+ ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
+ ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
+ ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
+ ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
+ ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
+ ("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-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
+ ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
+ ("go-golang-org-x-net" ,go-golang-org-x-net)))
+ (home-page "https://github.com/charmbracelet/glamour/")
+ (synopsis "Write handsome command-line tools with glamour")
+ (description "@code{glamour} lets you render markdown documents and
+templates on ANSI compatible terminals. You can create your own stylesheet or
+use one of our glamourous default themes.")
+ (license license:expat)))