From b0fbc0a35e27bf6951d6faad1ee6b7752f450199 Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 22:53:24 -0800 Subject: [PATCH 020/263] gnu: Add rust-grep-matcher-0.1. * gnu/packages/crates-io.scm (rust-grep-matcher-0.1): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5dc3b3ab65..33f09cfe45 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1377,6 +1377,34 @@ path simultaneously, and returning all of the globs that matched.") "Utilities for search oriented command line applications.") (license license:expat))) +(define-public rust-grep-matcher-0.1 + (package + (name "rust-grep-matcher") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "grep-matcher" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03j26zygfgwyam66bl5g922gimrvp4yyzl8qvaykyklnf247bl3r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-memchr" ,rust-memchr-2.2)) + #:cargo-development-inputs + (("rust-regex" ,rust-regex-1.1)))) + (home-page + "https://github.com/BurntSushi/ripgrep") + (synopsis + "Trait for regular expressions") + (description + "This package provides a trait for regular expressions, with a +focus on line oriented search.") + (license `(,license:expat ,license:unlicense)))) + (define-public rust-heapsize-0.4 (package (name "rust-heapsize") -- 2.24.1