From 7589c56b818ec92f755888f05874b05f8d32a4bc Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 24 Nov 2024 21:02:05 +0000 Subject: [PATCH] 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 8020fea5327491d7417da466e4c9858c5a80dace..2ff705e88a403d3418e02535a0e92fc2c9cc6b0a 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")