sharlatan pushed a commit to branch go-team
in repository guix.
commit e8e2a79aef87ed96fca163120125915d9e922a2d
Author: Sharlatan Hellseher <[email protected]>
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 3ed997d4a2..722e2560db 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15548,6 +15548,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")