summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-09-18 17:03:25 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-11-03 13:28:43 +0100
commit17d7aeab49f2ca88b7d7b29756d92d2af9368bb6 (patch)
treec6a99ad89097be0d0a78dc5b64b3d92dd1826702 /gnu/packages/crates-io.scm
parent69d781ffaeae7ad0c73e520f95e77acfd344b02d (diff)
gnu: Add rust-strong-xml-0.6.
* gnu/packages/crates-io.scm (rust-strong-xml-0.6): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
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 @@ and write it somewhere that does not easily support them, such as a log
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")