GNU bug report logs - #47317
[PATCH] gnu: Add go-github-com-rivo-uniseg.

Previous Next

Package: guix-patches;

Reported by: Adam Kandur <rndd <at> tuta.io>

Date: Mon, 22 Mar 2021 11:19:01 UTC

Severity: normal

Tags: patch

Done: Sergey Trofimov <sarg <at> sarg.org.ru>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adam Kandur <rndd <at> tuta.io>
To: Guix Patches <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add go-github-com-rivo-uniseg.
Date: Mon, 22 Mar 2021 12:17:55 +0100 (CET)
From 12c52ae9e6dcd0bdc5f095cefb7b1b4f0e938795 Mon Sep 17 00:00:00 2001
From: Adam Kandur <rndd <at> 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






This bug report was last modified 1 year and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.