diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 13:21:41 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 13:21:41 +0300 |
commit | db86f555c3c9686380966ea997ece325e3b33d42 (patch) | |
tree | 58d27324e20403db2ace1e78421b87780a0cdfb5 /gnu/packages | |
parent | 1d6b31c150e317f7fd3283538c080887b4d1712e (diff) | |
download | guix-db86f555c3c9686380966ea997ece325e3b33d42.tar.gz guix-db86f555c3c9686380966ea997ece325e3b33d42.zip |
gnu: Add rust-serde-xml-rs-0.6.
* gnu/packages/crates-io.scm (rust-serde-xml-rs-0.6): New variable.
(rust-serde-xml-rs-0.5): Inherit from rust-serde-xml-rs-0.6.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b9725a7083..d9dec6f7c5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -63449,8 +63449,38 @@ Rust's serde.") @code{serde_with}.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-xml-rs-0.6 + (package + (name "rust-serde-xml-rs") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-xml-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10i7dvd0c1clj4jbljd08qs8466nlymx7ma7k3ncksx1rn7affpv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-xml-rs" ,rust-xml-rs-0.8)) + #:cargo-development-inputs + (("rust-docmatic" ,rust-docmatic-0.1) + ("rust-rstest" ,rust-rstest-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-simple-logger" ,rust-simple-logger-2)))) + (home-page "https://github.com/RReverser/serde-xml-rs") + (synopsis "xml-rs based deserializer for Serde") + (description "This package provies a xml-rs based deserializer for Serde +(compatible with 0.9+).") + (license license:expat))) + (define-public rust-serde-xml-rs-0.5 (package + (inherit rust-serde-xml-rs-0.6) (name "rust-serde-xml-rs") (version "0.5.1") (source (origin @@ -63460,18 +63490,12 @@ Rust's serde.") (sha256 (base32 "1ypdy4cry8y6jbia0l0cqvkxkdvl7vplzfzb44s6lbxyb682w5k5")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-xml-rs" ,rust-xml-rs-0.8)))) - (home-page "https://github.com/RReverser/serde-xml-rs") - (synopsis "xml-rs based deserializer for Serde") - (description "This package provies a xml-rs based deserializer for Serde -(compatible with 0.9+)") - (license license:expat))) + ("rust-xml-rs" ,rust-xml-rs-0.8)))))) (define-public rust-serde-xml-rs-0.4 (package |