sharlatan pushed a commit to branch go-team
in repository guix.

commit 5df666a0749220effa1b811d733c8beffd041d8c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Nov 24 21:02:05 2024 +0000

    gnu: Add go-github-com-xuanwo-go-locale.
    
    * gnu/packages/golang-xyz.scm (go-github-com-xuanwo-go-locale): New 
variable.
    
    Change-Id: I6792dfab134090fab1677fdf80e127a8ea858758
---
 gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4c76f9de29..dc4e5d77cc 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8528,6 +8528,33 @@ popular Levenshtein distance (aka Edit Distance or 
Wagner-Fischer), as well as
 the Jaro distance, the Jaro-Winkler distance, and more.")
     (license license:expat)))
 
+(define-public go-github-com-xuanwo-go-locale
+  (package
+    (name "go-github-com-xuanwo-go-locale")
+    (version "1.1.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Xuanwo/go-locale";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "09d68ay4kcic82xjdl9b3zi5nq0srxanprk5p32n5yxqirb0pbxd"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/Xuanwo/go-locale"))
+    (propagated-inputs
+     (list go-golang-org-x-sys
+           go-golang-org-x-text))
+    (home-page "https://github.com/Xuanwo/go-locale";)
+    (synopsis "Locale detection in Golang")
+    (description
+     "This package provides a functionality for cross-platform locale
+detection.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-yuin-gopher-lua
   (package
     (name "go-github-com-yuin-gopher-lua")

Reply via email to