From 433f04136b443cb935a0911fa7560fa87f029e64 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 28 Jan 2022 10:31:50 +0100 Subject: gnu: Add go-github-com-apparentlymart-go-textseg-v13. * gnu/packages/golang.scm (go-github-com-apparentlymart-go-textseg-v13, go-github-com-apparentlymart-go-textseg-autoversion): New variables. Signed-off-by: Nicolas Goaziou --- gnu/packages/golang.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 2990db5ea2..4ff4d8c3ff 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -899,6 +899,43 @@ network traffic so that it is not identified and subsequently blocked by network filtering devices.") (license license:bsd-2)))) +(define-public go-github-com-apparentlymart-go-textseg-v13 + (package + (name "go-github-com-apparentlymart-go-textseg-v13") + (version "13.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/apparentlymart/go-textseg") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gdgi0d52rq1xsdn9icc8lghn0f2q927cifmrlfxflf7bf21vism")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/apparentlymart/go-textseg/v13" + #:import-path "github.com/apparentlymart/go-textseg/v13/textseg")) + (native-inputs + (list ruby)) + (home-page "https://github.com/apparentlymart/go-textseg") + (synopsis "Go implementation of Unicode Text Segmentation") + (description + "This package provides an implementation of the Unicode Text Segmentation +specification for Go. Specifically, it currently includes only the grapheme +cluster segmentation algorithm.") + ;; Project is released under Expat terms. Some parts use Unicode and + ;; ASL2.0 licenses. + (license (list license:expat license:unicode license:asl2.0)))) + +(define-public go-github-com-apparentlymart-go-textseg-autoversion + (package + (inherit go-github-com-apparentlymart-go-textseg-v13) + (name "go-github-com-apparentlymart-go-textseg-autoversion") + (arguments + '(#:unpack-path "github.com/apparentlymart/go-textseg/autoversion" + #:import-path "github.com/apparentlymart/go-textseg/autoversion/textseg")))) + (define-public go-github-com-operatorfoundation-shapeshifter-transports (package (name "go-github-com-operatorfoundation-shapeshifter-transports") -- cgit v1.2.3