Subject: [bug#72963] [PATCH go-team 15/30] gnu: Add go-github-com-sahilm-fuzzy.

From: Herman Rimm <[email-masked]>
Date: Mon, 2 Sep 2024 14:18:23 +0200

* gnu/packages/golang-xyz.scm (go-github-com-sahilm-fuzzy): Add
variable.
---
 gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8b9d53fc6f..7589918849 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5120,6 +5120,32 @@ (define-public go-github-com-rogpeppe-go-internal
 @end itemize\n")
     (license license:bsd-3)))
 
+(define-public go-github-com-sahilm-fuzzy
+  (package
+    (name "go-github-com-sahilm-fuzzy")
+    (version "0.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sahilm/fuzzy")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "15j95gm7hcmg09x1b39vc4il8bryv4v0yljvvyq5vyc6iq66qrbz"))))
+    (build-system go-build-system)
+    (arguments (list #:import-path "github.com/sahilm/fuzzy"))
+    (inputs (list go-github-com-kylelemons-godebug
+                  go-github-com-kylelemons-godebug-pretty))
+    (home-page "https://github.com/sahilm/fuzzy")
+    (synopsis "Fuzzy string matching for filenames and code symbols")
+    (description
+     "Package fuzzy provides fuzzy string matching optimized for
+filenames and code symbols in the style of Sublime Text, VSCode,
+@code{IntelliJ} IDEA et al.")
+    (license license:expat)))
+
 (define-public go-github-com-schollz-progressbar-v3
   (package
     (name "go-github-com-schollz-progressbar-v3")
-- 
2.45.2