1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 03:50:45 +02:00

gnu: go-github-com-lithammer-fuzzysearch: Move to golang-xyz.

gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): Move from
here ...
gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Ica80efe706f97694f5f6584fe64f9a764e5d082b
This commit is contained in:
Sharlatan Hellseher 2024-09-03 19:35:40 +01:00
parent e4fcdc52bb
commit 56f663870f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 34 additions and 34 deletions

View file

@ -4329,6 +4329,40 @@ allocator. This is primarily useful for long lived buffers that usually sit emp
length-delimited slices. It's helpful for building wire protocols.")
(license license:expat)))
(define-public go-github-com-lithammer-fuzzysearch
(package
(name "go-github-com-lithammer-fuzzysearch")
(version "1.1.8")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/lithammer/fuzzysearch")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0fp00gzbrr5fnz01lmkjqcs5z24zjrsp4r13ia0x0wslp5r13hv8"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/lithammer/fuzzysearch"
#:phases
#~(modify-phases %standard-phases
;; XXX: Replace when go-build-system supports nested path.
(delete 'build)
(replace 'check
(lambda* (#:key import-path tests? #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "test" "-v" "./..."))))))))
(propagated-inputs (list go-golang-org-x-text))
(home-page "https://github.com/lithammer/fuzzysearch")
(synopsis "Tiny and fast fuzzy search in Go")
(description
"A speedy fuzzy matching package for Go inspired by the JavaScript
library bevacqua/fuzzysearch.")
(license license:expat)))
(define-public go-github-com-liyue201-gostl
(package
(name "go-github-com-liyue201-gostl")