diff options
author | Vinicius Monego <monego@posteo.net> | 2021-09-18 16:13:12 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 13:28:37 +0100 |
commit | 7f0ccf82fa488989d067167e146b6243b21d5a27 (patch) | |
tree | c99a5dc1123c68196ad3644cfc909863c8207768 | |
parent | c918a0320043a81f66d794cea7aa04fc3572541f (diff) | |
download | guix-7f0ccf82fa488989d067167e146b6243b21d5a27.tar.gz |
gnu: Add rust-libxml-0.3.
* gnu/packages/crates-io.scm (rust-libxml-0.3): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d0dedd7859..f54d1f3250 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25566,6 +25566,37 @@ file. ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-vcpkg" ,rust-vcpkg-0.2)))))) +(define-public rust-libxml-0.3 + (package + (name "rust-libxml") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libxml" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1f42qrc1mim85ivh2d4bn2wbqrn7dfg1i3l1q32yajcr835pxh02")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-rayon" ,rust-rayon-1)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libxml2" ,libxml2))) + (home-page "https://github.com/KWARC/rust-libxml") + (synopsis "Rust wrapper for libxml2") + (description "This package provides a Rust wrapper for libxml2, the XML +C parser and toolkit developed for the GNOME project.") + (license license:expat))) + (define-public rust-libz-sys-1 (package (name "rust-libz-sys") |