From 1e9f8bfd05a30069cdeca28d50c278c4ea2c8398 Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 21:14:19 -0800 Subject: [PATCH 005/263] gnu: Add rust-globset-0.4. * gnu/packages/crates-io.scm (rust-globset-0.4): New variable. --- 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 d0e82cca3e..f34f84b981 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1183,6 +1183,40 @@ shell style patterns.") (base32 "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb")))))) +(define-public rust-globset-0.4 + (package + (name "rust-globset") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "globset" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wnqxq91liknmr2w93wjq2spyxbrd1pmnhd4nbi3921dr35a4nlj")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-aho-corasick" ,rust-aho-corasick-0.7) + ("rust-bstr" ,rust-bstr-0.2) + ("rust-fnv" ,rust-fnv-1.0) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1.1)) + #:cargo-development-inputs + (("rust-glob" ,rust-glob-0.3)))) + (home-page + "https://github.com/BurntSushi/ripgrep/tree/master/globset") + (synopsis + "Cross platform single glob and glob set matching") + (description + "Cross platform single glob and glob set matching. Glob set matching is +the process of matching one or more glob patterns against a single candidate +path simultaneously, and returning all of the globs that matched.") + (license `(,license:expat ,license:unlicense)))) + (define-public rust-heapsize-0.4 (package (name "rust-heapsize") -- 2.24.1