mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 02:50:45 +02:00
gnu: Add go-github-com-agnivade-levenshtein.
* gnu/packages/golang-xyz.scm (go-github-com-agnivade-levenshtein): New variable. Change-Id: I1a993e2618cbafd225c1effa179f41d895937af4
This commit is contained in:
parent
edb7c03925
commit
abe86f3e7e
1 changed files with 28 additions and 0 deletions
|
@ -546,6 +546,34 @@ XDG defined locations instead of hardcoding paths. The package also includes
|
|||
the locations of well known user directories.")
|
||||
(license license:expat)))
|
||||
|
||||
(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"))
|
||||
(native-inputs ; for tests only
|
||||
(list go-github-com-arbovm-levenshtein
|
||||
go-github-com-dgryski-trifles))
|
||||
(home-page "https://github.com/agnivade/levenshtein")
|
||||
(synopsis "Golang implementation to calculate Levenshtein Distance")
|
||||
(description
|
||||
"This package implements a functionality to calculate
|
||||
@url{https://en.wikipedia.org/wiki/Levenshtein_distance, Levenshtein
|
||||
Distance}.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-alecthomas-chroma
|
||||
(package
|
||||
(name "go-github-com-alecthomas-chroma")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue