From a5c269c4fc29733c73a79ee1c6f6980bc60b1250 Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 22:54:55 -0800 Subject: [PATCH 020/206] gnu: Add rust-grep-pcre2-0.1. * gnu/packages/crates-io.scm (rust-grep-pcre2-0.1): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3860ddeb3b..bc176d43b9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1398,6 +1398,30 @@ path simultaneously, and returning all of the globs that matched.") focus on line oriented search.") (license `(,license:expat ,license:unlicense)))) +(define-public rust-grep-pcre2-0.1 + (package + (name "rust-grep-pcre2") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "grep-pcre2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wjc3gsan20gapga8nji6jcrmwn9n85q5zf2yfq6g50c7abkc2ql")))) + (build-system cargo-build-system) + ;; (arguments + ;; `(#:cargo-inputs + ;; (("rust-grep-matcher" ,rust-grep-matcher-0.1) + ;; ("rust-pcre2" ,rust-pcre2-0.2)))) + (home-page + "https://github.com/BurntSushi/ripgrep") + (synopsis "Use PCRE2 with the grep crate") + (description "Use PCRE2 with the grep crate.") + (license `(,license:expat ,license:unlicense)))) + (define-public rust-heapsize-0.4 (package (name "rust-heapsize") -- 2.24.0