guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50367] [PATCH 22/22] gnu: Add rust-serde-xml-rs-0.4.


From: phodina
Subject: [bug#50367] [PATCH 22/22] gnu: Add rust-serde-xml-rs-0.4.
Date: Sat, 04 Sep 2021 07:45:44 +0000

* gnu/packages/crates-io.scm (rust-serde-xml-rs-0.4): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 33eb89f945..aa39149f1e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43713,6 +43713,36 @@ for later processing.")
        (("rust-ordered-float" ,rust-ordered-float-1)
         ("rust-serde" ,rust-serde-1))))))

+(define-public rust-serde-xml-rs-0.4
+  (package
+    (name "rust-serde-xml-rs")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde-xml-rs" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ykx1xkfd59gf0ijnp93xhpd457xy4zi8xv2hrr0ikvcd6h1pgzh"))))
+    (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 based deserializer for Serde (compatible with 0.9+)")
+    (description
+     "XML based deserializer for Serde (compatible with 0.9+)")
+    (license license:expat)))
+
 (define-public rust-serde-yaml-0.8
   (package
     (name "rust-serde-yaml")
--
2.32.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]