guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/20: gnu: Add go-github-com-xuanwo-go-locale.


From: guix-commits
Subject: 15/20: gnu: Add go-github-com-xuanwo-go-locale.
Date: Sun, 24 Nov 2024 16:48:52 -0500 (EST)

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

commit db48c565e6291cbfd9260d2c0986fc4121c6f721
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
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 aec68c39ff..821ed49736 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8185,6 +8185,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

[Prev in Thread] Current Thread [Next in Thread]