gnu: ripgrep: Update to 13.0.0.

* gnu/packages/rust-apps.scm (ripgrep): Update to 13.0.0.
[arguments]<#:tests?>: Enable tests again.
<#:cargo-development-inputs>: Add rust-walkdir.
This commit is contained in:
Nicolas Goaziou 2021-06-13 00:24:20 +02:00
parent 8a4fb595e8
commit 992987bf48
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -379,7 +379,7 @@ (define-public hexyl
(define-public ripgrep
(package
(name "ripgrep")
(version "12.1.1")
(version "13.0.0")
(source
(origin
(method url-fetch)
@ -388,13 +388,13 @@ (define-public ripgrep
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1grfi0j9zczzipipc21lkdbqmd2lvy2wlqy65fy4sckqvix5amdr"))))
"1gv4imhjgxmyxaa996yshcjlakmrjw9pf4rycp90pq675cn9sz7k"))))
(build-system cargo-build-system)
(arguments
;; XXX: Upgrading rust-bstr-0.2 from 0.2.12 to 0.2.15 introduced 11 test
;; failures. Skip tests for now. Check again at next bstr or ripgrep
;; upgrade.
`(#:tests? #false
`(#:tests? #t
#:cargo-inputs
(("rust-bstr" ,rust-bstr-0.2)
("rust-clap" ,rust-clap-2)
@ -409,7 +409,8 @@ (define-public ripgrep
("rust-termcolor" ,rust-termcolor-1))
#:cargo-development-inputs
(("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1))
("rust-serde-derive" ,rust-serde-derive-1)
("rust-walkdir" ,rust-walkdir-2))
#:modules ((ice-9 match)
(guix build cargo-build-system)
(guix build utils))