diff mbox series

[bug#49451,18/20] gnu: Add rust-tokio-xmpp

Message ID YOtjBt84J5jZObYZ@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 | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9bd91b0b7d..f85b096547 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49637,6 +49637,49 @@  stream-based WebSocket implementation.")
         ("rust-tokio" ,rust-tokio-0.2)
         ("rust-tokio-test" ,rust-tokio-test-0.2))))))
 
+(define-public rust-tokio-xmpp-3
+  (package
+    (name "rust-tokio-xmpp")
+    (version "3.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "tokio-xmpp" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0f8s4gsv9zs6rlkc40jjglcm0prq10ypxszrwvpxhjbygbxrzb2n"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-bytes" ,rust-bytes-1)
+         ("rust-futures" ,rust-futures-0.3)
+         ("rust-idna" ,rust-idna-0.2)
+         ("rust-log" ,rust-log-0.4)
+         ("rust-native-tls" ,rust-native-tls-0.2)
+         ("rust-rustc-version" ,rust-rustc-version-0.3)
+         ("rust-sasl" ,rust-sasl-0.5)
+         ("rust-tokio" ,rust-tokio-1)
+         ("rust-tokio-native-tls"
+          ,rust-tokio-native-tls-0.3)
+         ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+         ("rust-tokio-util" ,rust-tokio-util-0.6)
+         ("rust-trust-dns-proto"
+          ,rust-trust-dns-proto-0.20)
+         ("rust-trust-dns-resolver"
+          ,rust-trust-dns-resolver-0.20)
+         ("rust-xml5ever" ,rust-xml5ever-0.16)
+         ("rust-xmpp-parsers" ,rust-xmpp-parsers-0.18))))
+    (home-page "https://gitlab.com/xmpp-rs/xmpp-rs")
+    (synopsis
+      "Asynchronous XMPP for Rust with tokio")
+    (description
+      "Asynchronous XMPP for Rust with tokio")
+    (license license:mpl2.0)))
+
 (define-public rust-toml-0.5
   (package
     (name "rust-toml")