gnu: ugrep: Update to 3.1.11.

* gnu/packages/search.scm (ugrep): Update to 3.1.11.
This commit is contained in:
Tobias Geerinckx-Rice 2021-04-04 13:24:04 +02:00
parent b692a1bb45
commit aaec5de3a7
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -420,14 +420,14 @@ (define (purge-term-support input output)
(define-public ugrep (define-public ugrep
(package (package
(name "ugrep") (name "ugrep")
(version "3.1.4") (version "3.1.11")
(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 "1ydnpdhn1mp2pnbqzvwabrp573626k89kbv97fax6y1bz2pamrg4")) (base32 "1g3sxnrcaz1jxwa8nwrxpr63g4y0ha5zcf10053ciy9wjh6wqs1w"))
(file-name (string-append name "-" version "-checkout")) (file-name (string-append name "-" version "-checkout"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
@ -446,13 +446,13 @@ (define-public ugrep
("pcre2" ,pcre2) ("pcre2" ,pcre2)
("zlib" ,zlib))) ("zlib" ,zlib)))
(arguments (arguments
`(#:tests? #f ;; No script for re-building the binary test input-files `(#:tests? #f ; no way to rebuild the binary input files
#:test-target "test" #:test-target "test"
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'check 'check-setup (add-before 'check 'check-setup
(lambda _ (lambda _
;; unpatch shepengs in tests ;; Unpatch shebangs in tests.
(substitute* '("tests/Hello.bat" (substitute* '("tests/Hello.bat"
"tests/Hello.sh") "tests/Hello.sh")
(("#!/gnu/store/.*/bin/sh") "#!/bin/sh"))))))) (("#!/gnu/store/.*/bin/sh") "#!/bin/sh")))))))