From c01cd631e298551da6fe8b7b2f8da89fac22040c Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 21:52:17 -0800 Subject: [PATCH 008/206] gnu: Add rust-pcre2-0.2. * gnu/packages/crates-io.scm (rust-pcre2-0.2): 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 223a29d995..7f6ec9d105 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2373,6 +2373,34 @@ deserialization, and interpreter in Rust.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pcre2-0.2 + (package + (name "rust-pcre2") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pcre2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "103i66a998g1fjrqf9sdyvi8qi83hwglz3pjdcq9n2r207hsagb0")))) + (build-system cargo-build-system) + ;; (arguments + ;; `(#:cargo-inputs + ;; (("rust-libc" ,rust-libc-0.2.58) + ;; ("rust-log" ,rust-log-0.4) + ;; ("rust-pcre2-sys" ,rust-pcre2-sys-0.2) + ;; ("rust-thread-local" ,rust-thread-local-0.3)))) + (home-page + "https://github.com/BurntSushi/rust-pcre2") + (synopsis + "High level wrapper library for PCRE2") + (description + "High level wrapper library for PCRE2.") + (license `(,license:expat ,license:unlicense)))) + (define-public rust-pcre2-sys-0.2 (package (name "rust-pcre2-sys") -- 2.24.0