mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
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:
parent
8a4fb595e8
commit
992987bf48
1 changed files with 7 additions and 6 deletions
|
@ -379,7 +379,7 @@ (define-public hexyl
|
||||||
(define-public ripgrep
|
(define-public ripgrep
|
||||||
(package
|
(package
|
||||||
(name "ripgrep")
|
(name "ripgrep")
|
||||||
(version "12.1.1")
|
(version "13.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -388,13 +388,13 @@ (define-public ripgrep
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1grfi0j9zczzipipc21lkdbqmd2lvy2wlqy65fy4sckqvix5amdr"))))
|
"1gv4imhjgxmyxaa996yshcjlakmrjw9pf4rycp90pq675cn9sz7k"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; XXX: Upgrading rust-bstr-0.2 from 0.2.12 to 0.2.15 introduced 11 test
|
;; 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
|
;; failures. Skip tests for now. Check again at next bstr or ripgrep
|
||||||
;; upgrade.
|
;; upgrade.
|
||||||
`(#:tests? #false
|
`(#:tests? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-bstr" ,rust-bstr-0.2)
|
(("rust-bstr" ,rust-bstr-0.2)
|
||||||
("rust-clap" ,rust-clap-2)
|
("rust-clap" ,rust-clap-2)
|
||||||
|
@ -409,7 +409,8 @@ (define-public ripgrep
|
||||||
("rust-termcolor" ,rust-termcolor-1))
|
("rust-termcolor" ,rust-termcolor-1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-serde" ,rust-serde-1)
|
(("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)
|
#:modules ((ice-9 match)
|
||||||
(guix build cargo-build-system)
|
(guix build cargo-build-system)
|
||||||
(guix build utils))
|
(guix build utils))
|
||||||
|
@ -422,8 +423,8 @@ (define-public ripgrep
|
||||||
(match (find-files "target" "^rg\\.1$")
|
(match (find-files "target" "^rg\\.1$")
|
||||||
((manpage)
|
((manpage)
|
||||||
(install-file manpage (string-append
|
(install-file manpage (string-append
|
||||||
(assoc-ref outputs "out")
|
(assoc-ref outputs "out")
|
||||||
"/share/man/man1"))))
|
"/share/man/man1"))))
|
||||||
#t)))
|
#t)))
|
||||||
#:features '("pcre2")))
|
#:features '("pcre2")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Loading…
Reference in a new issue