mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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:
parent
dc0fe79b61
commit
a3e5caa222
1 changed files with 4 additions and 3 deletions
|
@ -737,19 +737,20 @@ (define (purge-term-support input output)
|
||||||
(define-public ugrep
|
(define-public ugrep
|
||||||
(package
|
(package
|
||||||
(name "ugrep")
|
(name "ugrep")
|
||||||
(version "3.11.2")
|
(version "6.0.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/Genivia/ugrep")
|
(url "https://github.com/Genivia/ugrep")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0k0dzdyif9lpk0avjk02xkd6bjg9km4spr3p4hzls88y9hwgcc9l"))
|
(base32 "07lqjvyvda11d8xk1cmwwyx41w6l423jghcf21fnp4hrkrcsd5cd"))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
#~(begin
|
#~(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 (lambda (regexp)
|
||||||
(for-each delete-file
|
(for-each delete-file
|
||||||
(find-files "tests" regexp)))
|
(find-files "tests" regexp)))
|
||||||
|
|
Loading…
Reference in a new issue