From 8a82ed4b0728744cc598f6756a9544f2fb9561be Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 21:14:19 -0800 Subject: [PATCH 004/206] gnu: Add rust-globset-0.4. * gnu/packages/crates-io.scm (rust-globset-0.4): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a9c4efd957..f35fbabb5e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1182,6 +1182,39 @@ 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 + ;; `(#:cargo-inputs + ;; (("rust-aho-corasick" ,rust-aho-corasick) + ;; ("rust-bstr" ,rust-bstr-0.2 + ;; ("rust-fnv" ,rust-fnv) + ;; ("rust-log" ,rust-log-0.4) + ;; ("rust-regex" ,rust-regex)) + ;; #:cargo-development-inputs + ;; (("rust-glob" ,rust-glob))))) + (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.0