@@ -10079,3 +10079,28 @@ (define-public go-github-com-lucasb-eyer-go-colorful
colors in RGB and provides methods for converting these to various color
spaces.")
(license license:expat)))
+
+(define-public go-github-com-rivo-uniseq
+ (package
+ (name "go-github-com-rivo-uniseq")
+ (version "0.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rivo/uniseg")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0j7h22vfmjj562vr8gpsyrkrwp1pq9ayh5fylv24skxb467g9f0q"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/rivo/uniseq"))
+ (home-page "https://github.com/rivo/uniseg")
+ (synopsis "Unicode Text Segmentation for Go")
+ (description
+ "@code{go-github-com-rivo-uniseq} package provides a tool to iterate
+over these grapheme clusters. This may be used to determine the number
+of user-perceived characters, to split strings in their intended places,
+or to extract individual characters which form a unit.")
+ (license license:expat)))