Subject: [bug#72031] [PATCH] gnu: ugrep: Update to 6.2.0.

From: [email-masked]
Date: Wed, 10 Jul 2024 09:05:34 +0000

From: Ashish SHUKLA <[email-masked]>

* gnu/packages/search.scm (ugrep): Update to 6.2.0.
  [source] linux binaries are not present anymore.
  [inputs] add dependency on brotli for brotli support.

Change-Id: I81f14ab4792d7939bd5a8e5b1e9c2fbb954988ab
---
 gnu/packages/search.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 75e3252f02..928068b774 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -737,22 +737,20 @@ (define-public xapers
 (define-public ugrep
   (package
     (name "ugrep")
-    (version "6.1.0")
+    (version "6.2.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                     (url "https://github.com/Genivia/ugrep")
                     (commit (string-append "v" version))))
               (sha256
-               (base32 "01zgvwhawz1sv3sib31jgbs5q27yc4kqmhz3v9l1zbqkkhwxsvqy"))
+               (base32 "1j3cz6y1rqz64604afk7fa00yqmwjpgmnd7gsaa4x3kgldqfdlr2"))
               (file-name (git-file-name name version))
               (modules '((guix build utils)))
               (snippet
                #~(begin
                    (delete-file-recursively "bin/win32") ; pre-built
                    (delete-file-recursively "bin/win64") ; pre-built
-                   (delete-file-recursively "bin/linux_amd64") ; pre-built
-                   (delete-file-recursively "bin/linux_arm64") ; pre-built
                    (for-each (lambda (regexp)
                                (for-each delete-file
                                          (find-files "tests" regexp)))
@@ -765,6 +763,7 @@ (define-public ugrep
            lzip ;; lzma
            pcre2
            zlib
+           brotli
            `(,zstd "lib")))
     (arguments
      (list

base-commit: 71694363f6cc79e44955acbd9f7ca108e658caca
-- 
2.45.2