sharlatan pushed a commit to branch go-team in repository guix. commit 9c7af0f7089390f52363a806afa900fe0e7edee6 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Fri Feb 28 00:12:09 2025 +0000
gnu: Add go-github-com-texttheater-golang-levenshtein. * gnu/packages/golang-xyz.scm (go-github-com-texttheater-golang-levenshtein): New variable. Change-Id: I5c72cca752774385c658f8b803ff2ebd0de4dee5 --- gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 90b891764f..55ac1aaed6 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -15580,6 +15580,31 @@ standard library.") "This package provides XOR bitwise code engine.") (license license:expat))) +(define-public go-github-com-texttheater-golang-levenshtein + (package + (name "go-github-com-texttheater-golang-levenshtein") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/texttheater/golang-levenshtein") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14r17scr7qc7bcc9xidg9g6vb1dnk96ffcclppc53s11k63hrgaq")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/texttheater/golang-levenshtein")) + (home-page "https://github.com/texttheater/golang-levenshtein") + (synopsis "Implementation of the Levenshtein algorithm in Golang") + (description + "This package implements the Levenshtein algorithm in Go, providing edit +distances, edit scripts and ratios for strings (slices of runes).") + (license license:expat))) + (define-public go-github-com-thejerf-suture (package (name "go-github-com-thejerf-suture")