summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-28 00:12:09 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:27 +0100
commit01c1fb54091d587f456818bdcec45e20b717733c (patch)
tree256775c0927e6280fcef8285addf97badd45f153 /gnu/packages/golang-xyz.scm
parent9ed89311dc3ae4cbf8ec489bb5027f0791ad353e (diff)
gnu: Add go-github-com-texttheater-golang-levenshtein.
* gnu/packages/golang-xyz.scm (go-github-com-texttheater-golang-levenshtein): New variable. Change-Id: I5c72cca752774385c658f8b803ff2ebd0de4dee5
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3cede95081..d27bbcdbb7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15581,6 +15581,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")