1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: Add go-github-com-agnivade-levenshtein.

* gnu/packages/golang-xyz.scm (go-github-com-agnivade-levenshtein): New
variable.

Change-Id: I71383dd703bb9418db184cd4fd0f2fd82a907a48
This commit is contained in:
Danny Milosavljevic 2025-02-02 01:44:26 +01:00
parent 3dd408f6aa
commit e16d89d4c0
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -17879,6 +17879,31 @@ converting them to the often much more useful @@code{time.Duration}.")
#:unpack-path "github.com/dgryski/trifles"
#:import-path "github.com/dgryski/trifles/leven"))))
(define-public go-github-com-agnivade-levenshtein
(package
(name "go-github-com-agnivade-levenshtein")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/agnivade/levenshtein")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0vg9aj9k4qv96nqqp261qrm9g7kj0axqhv3mm9qvw932l72943hn"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/agnivade/levenshtein"))
(propagated-inputs (list go-github-com-dgryski-trifles-leven
go-github-com-arbovm-levenshtein))
(home-page "https://github.com/agnivade/levenshtein")
(synopsis "Levenshtein Distance")
(description
"This package provides a Go implementation to calculate Levenshtein
Distance.")
(license license:expat)))
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar