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

* gnu/packages/golang.scm (go-github-com-muesli-reflow): New variable.
This commit is contained in:
Oleg Pykhalov 2020-08-09 00:44:38 +03:00
parent 36fcbafdb0
commit 633a182112
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -4813,3 +4813,27 @@ (define-public go-github-com-microcosm-cc-bluemonday
(synopsis "HTML sanitizer") (synopsis "HTML sanitizer")
(description "@code{bluemonday} is a HTML sanitizer implemented in Go.") (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public go-github-com-muesli-reflow-wordwrap
(package
(name "go-github-com-muesli-reflow-wordwrap")
(version "0.1.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/muesli/reflow")
(commit (string-append "v" version))))
(sha256
(base32
"1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/muesli/reflow/wordwrap"
#:unpack-path "github.com/muesli/reflow"))
(native-inputs
`(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
(home-page "https://github.com/muesli/reflow/")
(synopsis "Collection of methods helping to transform blocks of text")
(description "This package provides a collection of ANSI-aware methods and
io.Writers helping you to transform blocks of text.")
(license license:expat)))