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>
This commit is contained in:
John Soo 2019-12-13 21:52:17 -08:00 committed by Efraim Flashner
parent 0cb1001329
commit bc0d1bb718
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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")