diff mbox series

[bug#49451,17/20] gnu: Add rust-xmpp-parsers

Message ID YOti/6mcQBY1PRip@thunix.net
State New
Headers show
Series [bug#49451,01/20] gnu: rust-blake2: Update to 0.9 | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

southerntofu July 11, 2021, 9:30 p.m. UTC
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f2e32d6172..9bd91b0b7d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55033,6 +55033,40 @@  to XDG Base Directory specification.")
 parser.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-xmpp-parsers-0.18
+  (package
+    (name "rust-xmpp-parsers")
+    (version "0.18.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "xmpp-parsers" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "064bjmngy0abcp9wcms7h5b13rljr0isliy83csaa0j7xyjmpkq1"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-base64" ,rust-base64-0.13)
+         ("rust-blake2" ,rust-blake2-0.9)
+         ("rust-chrono" ,rust-chrono-0.4)
+         ("rust-digest" ,rust-digest-0.9)
+         ("rust-jid" ,rust-jid-0.9)
+         ("rust-minidom" ,rust-minidom-0.13)
+         ("rust-sha-1" ,rust-sha-1-0.9)
+         ("rust-sha2" ,rust-sha2-0.9)
+         ("rust-sha3" ,rust-sha3-0.9))))
+    (home-page "https://gitlab.com/xmpp-rs/xmpp-rs")
+    (synopsis
+      "Collection of parsers and serialisers for XMPP extensions")
+    (description
+      "Collection of parsers and serialisers for XMPP extensions")
+    (license license:mpl2.0)))
+
 (define-public rust-xshell-macros-0.1
   (package
     (name "rust-xshell-macros")