From 0cb1001329fd41d54e62496ed2e992187f89e453 Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 21:29:49 -0800 Subject: [PATCH] gnu: Add rust-grep-cli-0.1. * gnu/packages/crates-io.scm (rust-grep-cli-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 59fd6c9149..24e82e0034 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1200,6 +1200,40 @@ (define-public rust-globset-0.4 path simultaneously, and returning all of the globs that matched.") (license (list license:expat license:unlicense)))) +(define-public rust-grep-cli-0.1 + (package + (name "rust-grep-cli") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "grep-cli" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05a502x5m4fijwx7zj9icxna2dx86scm76ap80zr89pnvpbfk1hp")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-bstr" ,rust-bstr-0.2) + ("rust-globset" ,rust-globset-0.4) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1.1) + ("rust-same-file" ,rust-same-file-1.0) + ("rust-termcolor" ,rust-termcolor-1.0) + ("rust-winapi-util" ,rust-winapi-util-0.1)))) + (home-page + "https://github.com/BurntSushi/ripgrep") + (synopsis + "Utilities for search oriented command line applications") + (description + "Utilities for search oriented command line applications.") + (license license:expat))) + (define-public rust-heapsize-0.4 (package (name "rust-heapsize")