Subject: [PATCH 1/9] gnu: Add go-github-com-charlievieth-fastwalk.

From: Luis Higino <[email-masked]>
Date: Sat, 18 May 2024 01:11:50 +0000

* gnu/packages/golang.scm (go-github-com-charlievieth-fastwalk): New variable.

Change-Id: Id51606ed3934c5ec46616d1c1d6db2f6c1e8124c
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index aeb205571c..e39da8f9ed 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -45,6 +45,7 @@
 ;;; Copyright © 2023 Clément Lassieur <[email-masked]>
 ;;; Copyright © 2024 Troy Figiel <[email-masked]>
 ;;; Copyright © 2024 Greg Hogan <[email-masked]>
+;;; Copyright © 2024 Luis Henrique Gomes Higino <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3229,6 +3230,31 @@ (define-public go-github-com-saracen-walker
     (description "The @code{walker} function is a faster, parallel version, of
 @code{filepath.Walk}")))
 
+(define-public go-github-com-charlievieth-fastwalk
+  (package
+    (name "go-github-com-charlievieth-fastwalk")
+    (version "1.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/charlievieth/fastwalk")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "16wvz9i573ill0nrbw8cx7z3hvxjfb4pmj5b85brh9bwmc71z3rz"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.18
+      #:import-path "github.com/charlievieth/fastwalk"))
+    (home-page "https://github.com/charlievieth/fastwalk")
+    (synopsis "Fast directory traversal for Golang")
+    (description
+     "The @code{fastwalk} package provides a fast parallel version of
+@code{filepath.Walk} for file system scanning tools.")
+    (license license:expat)))
+
 (define-public go-github-com-tdewolff-hasher
   (package
     (name "go-github-com-tdewolff-hasher")
-- 
2.41.0