From bc0d1bb7183e2c5ba7a462d6e4d26a2307dcfdde Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 21:52:17 -0800 Subject: [PATCH] gnu: Add rust-pcre2-0.2. * gnu/packages/crates-io.scm (rust-pcre2-0.2): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 24e82e0034..6a038fbe5b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2345,6 +2345,35 @@ (define-public rust-parity-wasm-0.40 (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 + `(#:skip-build #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("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 (list license:expat license:unlicense)))) + (define-public rust-pcre2-sys-0.2 (package (name "rust-pcre2-sys")