summaryrefslogtreecommitdiff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-07-03 06:08:22 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-07-03 15:01:05 +0200
commit8dc33b00dbd27cc0dfb8ab2ec253e323948bf7df (patch)
tree0e02ec95914104b5f84b1f41fbc5537dcd84ecde /gnu/packages/golang.scm
parent3f0a0033afba74e754a29a496079617777a98e4e (diff)
gnu: Add go-github-com-mitchellh-go-wordwrap.
* gnu/packages/golang.scm (go-github-com-mitchellh-go-wordwrap): New public variable.
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r--gnu/packages/golang.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index aedb5d4f69..8247b09ea5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -673,6 +673,32 @@ jar struct to manage the cookies added to the cookie jar.")
(description "This package provides additions to Go's stdlib @code{fmt}.")
(license license:bsd-3)))
+(define-public go-github-com-mitchellh-go-wordwrap
+ (package
+ (name "go-github-com-mitchellh-go-wordwrap")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mitchellh/go-wordwrap")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12imq66hgj8q9ii2xqdy8apc0icphh6yimjb0div1pvl3s9gn83y"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/mitchellh/go-wordwrap"))
+ (propagated-inputs
+ `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
+ (home-page "https://github.com/mitchellh/go-wordwrap")
+ (synopsis "Go library for word-wrapping strings")
+ (description
+ "This Go library automatically wraps words onto multiple lines. It's
+primary goal is to format command-line output, but of course word wrapping is a
+generally useful thing to do.")
+ (license license:expat)))
+
(define-public go-github-com-motemen-go-colorine
(let ((commit "45d19169413a019e4e2be69629dde5c7d92f8706")
(revision "0"))