unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Kandur via Guix-patches via <guix-patches@gnu.org>
To: 47317@debbugs.gnu.org
Subject: [bug#47317] [PATCH] gnu: Add go-github-com-rivo-uniseg.
Date: Mon, 22 Mar 2021 12:17:55 +0100 (CET)	[thread overview]
Message-ID: <MWOdxJr--3-2@tuta.io> (raw)

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






                 reply	other threads:[~2021-03-22 11:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWOdxJr--3-2@tuta.io \
    --to=guix-patches@gnu.org \
    --cc=47317@debbugs.gnu.org \
    --cc=rndd@tuta.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).