gnu: Add rust-grep-0.2.

* gnu/packages/crates-io.scm (rust-grep-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2019-12-15 09:59:20 -08:00 committed by Efraim Flashner
parent af88c95b28
commit 417b483c6b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3372,6 +3372,38 @@ (define-public rust-goblin-0.0
loading crate.")
(license license:expat)))
(define-public rust-grep-0.2
(package
(name "rust-grep")
(version "0.2.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "grep" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1pkhjladybzzciwg0mjk3vjz5fyi76hk0d3hgyzv2jxlyp8v4fyc"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-grep-cli" ,rust-grep-cli-0.1)
("rust-grep-matcher" ,rust-grep-matcher-0.1)
("rust-grep-pcre2" ,rust-grep-pcre2-0.1)
("rust-grep-printer" ,rust-grep-printer-0.1)
("rust-grep-regex" ,rust-grep-regex-0.1)
("rust-grep-searcher" ,rust-grep-searcher-0.1))
#:cargo-development-inputs
(("rust-termcolor" ,rust-termcolor-1.0)
("rust-walkdir" ,rust-walkdir-2.2))))
(home-page "https://github.com/BurntSushi/ripgrep")
(synopsis "Line oriented regex searching as a library")
(description
"Fast line oriented regex searching as a library.")
(license (list license:unlicense license:expat))))
(define-public rust-grep-cli-0.1
(package
(name "rust-grep-cli")