mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: go-github-com-lithammer-fuzzysearch: Enable tests.
* gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): Enable tests. Change-Id: Ib040db7321d33e2dfdefa37b59bcc095ea96dbb2
This commit is contained in:
parent
14abf6e19e
commit
e4fcdc52bb
1 changed files with 11 additions and 6 deletions
|
@ -8250,12 +8250,17 @@ (define-public go-github-com-lithammer-fuzzysearch
|
|||
(build-system go-build-system)
|
||||
(propagated-inputs (list go-golang-org-x-text))
|
||||
(arguments
|
||||
(list #:import-path "github.com/lithammer/fuzzysearch"
|
||||
#:tests? #f ; Source-only package.
|
||||
(list
|
||||
#:import-path "github.com/lithammer/fuzzysearch"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; Source-only package.
|
||||
(delete 'build))))
|
||||
;; 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" "./..."))))))))
|
||||
(home-page "https://github.com/lithammer/fuzzysearch")
|
||||
(synopsis "Tiny and fast fuzzy search in Go")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue