gnu: ugrep: Update to 6.3.0.

* gnu/packages/search.scm (ugrep): Update to 6.3.0.
[source]: Don't delete linux binaries, they're no longer included.
[inputs]: Add dependency on brotli for brotli support.

Change-Id: If1dc15b5f554079a5bc084501683bd6c5b5926d2
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Ashish SHUKLA 2024-08-01 00:05:38 +02:00 committed by Christopher Baines
parent b4206a08ba
commit 8f02f6e8c9
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -737,22 +737,20 @@ (define (purge-term-support input output)
(define-public ugrep
(package
(name "ugrep")
(version "6.1.0")
(version "6.3.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Genivia/ugrep")
(commit (string-append "v" version))))
(sha256
(base32 "01zgvwhawz1sv3sib31jgbs5q27yc4kqmhz3v9l1zbqkkhwxsvqy"))
(base32 "0s4cic232nlqzr3ha40gfgdnfqj12j6k5j89mrzjv8gk2zwn9l5z"))
(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