Subject: [bug#56298] [PATCH 3/7] gnu: Add rust-minidom-0.12.

From: [email-masked]
Date: Wed, 29 Jun 2022 10:46:29 -0400

From: Peter Polidoro <[email-masked]>

* gnu/packages/crates-io.scm (rust-minidom-0.12): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cdef764993..c4a975afd3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11679,6 +11679,27 @@ (define-public rust-cmake-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-minidom-0.12
+  (package
+    (name "rust-minidom")
+    (version "0.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "minidom" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "06nbqscsv2clc4mvdzzl1syn89plsqvmxn2lqxjfrxbllqar2m7y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-quick-xml" ,rust-quick-xml-0.17))))
+    (home-page "https://gitlab.com/xmpp-rs/xmpp-rs")
+    (synopsis
+     "DOM implementation on top of quick-xml")
+    (description
+     "This package provides a minimal DOM implementation on top of quick-xml
+targeting the subset of XML useful for XMPP.")
+    (license license:mpl2.0)))
 (define-public rust-cocoa-0.24
   (package
     (name "rust-cocoa")
-- 
2.36.1