guix-patches
[Top][All Lists]
Advanced

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

[bug#68312] [PATCH 136/156] gnu: Add tokio-tunkstenite-0.20.


From: Wilko Meyer
Subject: [bug#68312] [PATCH 136/156] gnu: Add tokio-tunkstenite-0.20.
Date: Mon, 8 Jan 2024 02:53:53 +0100

* gnu/packages/crates-io.scm (tokio-tunkstenite-0.20): New variable.

Change-Id: I99046f6b49f1074022fc499b40fed074e14da915
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af2868fa4ea..d8cfa22fe91 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79400,6 +79400,38 @@ (define-public rust-tokio-trace-core-0.2
     (description "Core primitives for tokio-trace.")
     (license license:expat)))
 
+(define-public rust-tokio-tungstenite-0.20
+  (package
+    (name "rust-tokio-tungstenite")
+    (version "0.20.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tokio-tungstenite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0v1v24l27hxi5hlchs7hfd5rgzi167x0ygbw220nvq0w5b5msb91"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-native-tls" ,rust-native-tls-0.2)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-rustls-native-certs" 
,rust-rustls-native-certs-0.6)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+                       ("rust-tungstenite" ,rust-tungstenite-0.20)
+                       ("rust-webpki-roots" ,rust-webpki-roots-0.25))))
+    (home-page "https://github.com/snapview/tokio-tungstenite";)
+    (synopsis
+     "Tokio binding for Tungstenite, the Lightweight stream-based WebSocket 
implementation")
+    (description
+     "Tokio binding for Tungstenite, the Lightweight stream-based 
@code{WebSocket}
+implementation")
+    (license license:expat)))
+
 (define-public rust-tokio-tungstenite-0.19
   (package
     (name "rust-tokio-tungstenite")
-- 
2.41.0






reply via email to

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