all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#47317] [PATCH] gnu: Add go-github-com-rivo-uniseg.
@ 2021-03-22 11:17 Adam Kandur via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: Adam Kandur via Guix-patches via @ 2021-03-22 11:17 UTC (permalink / raw)
  To: 47317

From 12c52ae9e6dcd0bdc5f095cefb7b1b4f0e938795 Mon Sep 17 00:00:00 2001
From: Adam Kandur <rndd@tuta.io>
Date: Mon, 22 Mar 2021 14:16:38 +0300
Subject: [PATCH] gnu: Add go-github-com-rivo-uniseg.

* gnu/packages/golang.scm (go-github-com-rivo-uniseg): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d9988cd..7e455d7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2151,6 +2151,29 @@ a file on the file system.  The log levels are dynamic at instantiation of the
 hook, so it is capable of logging at some or all levels.")
     (license license:expat)))
 
+(define-public go-github-com-rivo-uniseg
+  (package
+    (name "go-github-com-rivo-uniseg")
+    (version "v0.2.0")
+    (home-page "https://github.com/rivo/uniseg")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+         (url "https://github.com/rivo/uniseg")
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0j7h22vfmjj562vr8gpsyrkrwp1pq9ayh5fylv24skxb467g9f0q"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/rivo/uniseg"))
+    (synopsis "Unicode Text Segmentation for Go (or: How to Count Characters in a String)")
+    (description
+     "This Go package implements Unicode Text Segmentation according to Unicode Standard Annex #29 (Unicode version 12.0.0). 
+At this point, only the determination of grapheme cluster boundaries is implemented.")
+    (license license:expat)))
+
 (define-public go-github-com-kardianos-osext
   (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
         (revision "1"))
-- 
2.30.1






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-22 11:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-22 11:17 [bug#47317] [PATCH] gnu: Add go-github-com-rivo-uniseg Adam Kandur via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.