Subject: [PATCH 16/20] gnu: Add rust-jid

From: southerntofu <[email-masked]>
Date: Sun, 11 Jul 2021 17:30:34 -0400

---
 gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 44ae54f84c..f2e32d6172 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22727,6 +22727,33 @@ primitives to an @code{io::Write}.")
 byte slices for sets of ASCII characters or bytes.")
     (license license:expat)))
 
+(define-public rust-jid-0.9
+  (package
+    (name "rust-jid")
+    (version "0.9.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "jid" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1s3dl38wwhnx0pbzm4cnwqmmr09nfg4nv6w4yl3cmbkc2n7xipma"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-minidom" ,rust-minidom-0.13)
+         ("rust-serde" ,rust-serde-1))))
+    (home-page "https://gitlab.com/xmpp-rs/xmpp-rs")
+    (synopsis
+      "Crate which provides a Jid struct for Jabber IDs")
+    (description
+      "This package provides a crate which provides a Jid struct for Jabber IDs.")
+    (license license:mpl2.0)))
+
 (define-public rust-jni-0.18
   (package
     (name "rust-jni")
@@ -39611,7 +39638,7 @@ motivation for writing this library.
     (synopsis
       "Crate for SASL authentication. Currently only does the client side")
     (description
-      "This package provides a crate for SASL authentication.  Currently only does the client side")
+      "Crate for SASL authentication.  Currently only does the client side")
     (license license:lgpl3+)))
 
 (define-public rust-scan-fmt-0.2
-- 
2.30.2