summary refs log tree commit diff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2018-06-22 18:49:53 +0200
committerPierre Neidhardt <ambrevar@gmail.com>2018-07-22 21:40:05 +0200
commitbc3138d265dd31ca27b89b41d6c126fa8367547f (patch)
treebcf88c8f0b297c9bf1a0655bf0c5c7583c0de91d /gnu/packages/golang.scm
parentc49628172445abf13f98be1db22573c6e92a804d (diff)
downloadguix-bc3138d265dd31ca27b89b41d6c126fa8367547f.tar.gz
gnu: Add go-github-com-kr-text.
* gnu/packages/golang.scm (go-github-com-kr-text): New 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 84aa2c8f1b..0092c2ace2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2240,3 +2240,29 @@ User-defined types can be made available to Lua as well: their exported
 methods can be called and usual operations such as indexing or arithmetic can
 be performed.")
       (license license:expat))))
+
+(define-public go-github-com-kr-text
+  (let ((commit "e2ffdb16a802fe2bb95e2e35ff34f0e53aeef34f")
+        (revision "0"))
+    (package
+      (name "go-github-com-kr-text")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://github.com/kr/text")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/kr/text"))
+      (home-page "https://github.com/kr/text")
+      (synopsis "Go package for manipulating paragraphs of text")
+      (description "Package @code{text} provides manipulation Go functions for
+paragraphs of text.")
+      (license license:expat))))