summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2025-01-06 21:38:50 +0000
committerSharlatan Hellseher <[email protected]>2025-01-21 23:47:40 +0000
commit3793af9bf876974a8ee7aa6e12332f2e71541f85 (patch)
treebf255181df7ca43459267213f63705e9fdacd108 /gnu/packages/golang-xyz.scm
parent48637ed9f55ebbb16e7205b4ef02cd8fa9b3bd0a (diff)
gnu: Add go-github-com-dgryski-go-linebreak.
* gnu/packages/golang-xyz.scm (go-github-com-dgryski-go-linebreak): New variable. Change-Id: I1c6aa6edaa9cd5f0804495b09f37ccface8cca36
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e268c9501f..00bf0c3665 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3507,6 +3507,31 @@ supports concurrent serializable transactions.")
on throughput and hit ratio performance.")
(license (list license:asl2.0 license:expat))))
+(define-public go-github-com-dgryski-go-linebreak
+ (package
+ (name "go-github-com-dgryski-go-linebreak")
+ (version "0.0.0-20180812204043-d8f37254e7d3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dgryski/go-linebreak")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jv8ldb9vh5mgh66g61fh418x16s8jszrykhkbc901y1llf2mi22"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/dgryski/go-linebreak"))
+ (home-page "https://github.com/dgryski/go-linebreak")
+ (synopsis "Wraps text at a given width")
+ (description
+ "Package linebreak wraps text at a given width, it's a translation of
+@url{http://xxyxyz.org/line-breaking/, linear}, an implementation of
+@url{https://en.wikipedia.org/wiki/SMAWK_algorithm, SMAWK algorithm}.")
+ (license license:expat)))
+
;; The project provides no go.mod files and contains a veracity of commands
;; and libraries which might need missing dependencies, update them on demand.
(define-public go-github-com-dgryski-trifles