diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-13 21:52:17 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:09 +0200 |
commit | bc0d1bb7183e2c5ba7a462d6e4d26a2307dcfdde (patch) | |
tree | c30f2657becb591f4bef2e24691a9ec4cc1d8074 /gnu | |
parent | 0cb1001329fd41d54e62496ed2e992187f89e453 (diff) |
gnu: Add rust-pcre2-0.2.
* gnu/packages/crates-io.scm (rust-pcre2-0.2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
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 @@ 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 + `(#: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") |