From 17d7aeab49f2ca88b7d7b29756d92d2af9368bb6 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sat, 18 Sep 2021 17:03:25 +0000 Subject: [PATCH] gnu: Add rust-strong-xml-0.6. * gnu/packages/crates-io.scm (rust-strong-xml-0.6): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2b35ad2fbf..eb6e3bac60 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48022,6 +48022,37 @@ (define-public rust-strip-ansi-escapes-0.1 file.") (license (list license:asl2.0 license:expat)))) +(define-public rust-strong-xml-0.6 + (package + (name "rust-strong-xml") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "strong-xml" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gxy34j42x5a572cfkkhmxamrm764pswj5r3wcwi0bwfc4xgn68x")))) + (build-system cargo-build-system) + (arguments + `(#:rust ,rust-1.52 ; fix for E0658 + #:cargo-inputs + (("rust-jetscii" ,rust-jetscii-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-strong-xml-derive" + ,rust-strong-xml-derive-0.6) + ("rust-xmlparser" ,rust-xmlparser-0.13)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.8)))) + (home-page "https://github.com/PoiScript/strong-xml") + (synopsis "Strong typed xml") + (description + "This package provides a strong typed XML parser, based on xmlparser.") + (license license:expat))) + (define-public rust-strong-xml-derive-0.6 (package (name "rust-strong-xml-derive")