gnu: ugrep: Update to 6.0.0.

* gnu/packages/search.scm (ugrep): Update to 6.0.0.
[source]: Adjust snippet to avoid deleting ug+ and ugrep+ shell scripts.

Change-Id: I9beb1415fe8bfbe12a1e9d22d1606b1fc92ef16b
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
kiasoc5 2024-05-08 16:51:10 -04:00 committed by 宋文武
parent dc0fe79b61
commit a3e5caa222
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -737,19 +737,20 @@ (define (purge-term-support input output)
(define-public ugrep
(package
(name "ugrep")
(version "3.11.2")
(version "6.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Genivia/ugrep")
(commit (string-append "v" version))))
(sha256
(base32 "0k0dzdyif9lpk0avjk02xkd6bjg9km4spr3p4hzls88y9hwgcc9l"))
(base32 "07lqjvyvda11d8xk1cmwwyx41w6l423jghcf21fnp4hrkrcsd5cd"))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
#~(begin
(delete-file-recursively "bin") ; pre-built executables
(delete-file-recursively "bin/win32") ; pre-built
(delete-file-recursively "bin/win64") ; pre-built
(for-each (lambda (regexp)
(for-each delete-file
(find-files "tests" regexp)))