[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/19: gnu: go-github-com-lithammer-fuzzysearch: Move to golang-xyz.
From: |
guix-commits |
Subject: |
02/19: gnu: go-github-com-lithammer-fuzzysearch: Move to golang-xyz. |
Date: |
Thu, 12 Sep 2024 10:27:58 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit af8b913f7ca05b0776ee676eadf9d05ba2b35f09
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Sep 3 19:35:40 2024 +0100
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
---
gnu/packages/golang-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 34 ----------------------------------
2 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c2059b7906..e1fe0a8825 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4251,6 +4251,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-logrusorgru-aurora
(package
(name "go-github-com-logrusorgru-aurora")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 93ba338c7d..34f7a29643 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8207,40 +8207,6 @@ useful during debugging, to avoid wrapping long output
lines in the
terminal.")
(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)
- (propagated-inputs (list go-golang-org-x-text))
- (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" "./..."))))))))
- (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)))
-
;;;
;;; 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
- branch go-team created (now d893d04047), guix-commits, 2024/09/12
- 02/19: gnu: go-github-com-lithammer-fuzzysearch: Move to golang-xyz.,
guix-commits <=
- 01/19: gnu: go-github-com-lithammer-fuzzysearch: Enable tests., guix-commits, 2024/09/12
- 07/19: gnu: go-github-com-jaytaylor-html2text: Enable tests., guix-commits, 2024/09/12
- 09/19: gnu: Add go-html2text., guix-commits, 2024/09/12
- 06/19: gnu: go-github-com-jaytaylor-html2text: Update to 0.0.0-20230321000545-74c2419ad056., guix-commits, 2024/09/12
- 10/19: gnu: go-github-com-operatorfoundation-monolith-go: Update to 1.0.10., guix-commits, 2024/09/12
- 14/19: gnu: Remove go-github-com-rylans-getlang., guix-commits, 2024/09/12
- 17/19: build-system/go: Allow providing additional test flags., guix-commits, 2024/09/12
- 18/19: gnu: go-1.23: Update to 1.23.1., guix-commits, 2024/09/12
- 04/19: gnu: go-github-com-jhillyerd-enmime: Update to 1.3.0., guix-commits, 2024/09/12
- 03/19: gnu: Remove go-github-com-niemeyer-pretty., guix-commits, 2024/09/12