guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: Add rust-serde-xml-rs.


From: guix-commits
Subject: 02/05: gnu: Add rust-serde-xml-rs.
Date: Thu, 8 Dec 2022 16:07:59 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit 95742d1d565220442c3b352aed09f339f6d15800
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Wed Dec 7 18:52:43 2022 +0100

    gnu: Add rust-serde-xml-rs.
    
    * gnu/packages/crates-io.scm (rust-serde-xml-rs-0.5): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9612d50a12..d348ce27bf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51767,6 +51767,30 @@ the application/x-www-form-urlencoded format.")
 for later processing.")
     (license license:expat)))
 
+(define-public rust-serde-xml-rs-0.5
+  (package
+    (name "rust-serde-xml-rs")
+    (version "0.5.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "serde-xml-rs" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (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)))
+
 (define-public rust-serde-yaml-0.8
   (package
     (name "rust-serde-yaml")



reply via email to

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