From f533020f7fdb2f600f372f6f85a1994260205586 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 18 Mar 2024 12:01:34 +0200 Subject: [PATCH] gnu: Add rust-tokio-tungstenite-0.16. * gnu/packages/crates-io.scm (rust-tokio-tungstenite-0.16): New variable. Change-Id: I75835809c1b0ba35c944cb397b937db2db7158a6 --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b8299eaece..f2dfb418d9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -77301,6 +77301,35 @@ (define-public rust-tokio-tungstenite-0.19 ("rust-tokio" ,rust-tokio-1) ("rust-url" ,rust-url-2)))))) +(define-public rust-tokio-tungstenite-0.16 + (package + (inherit rust-tokio-tungstenite-0.21) + (name "rust-tokio-tungstenite") + (version "0.16.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wnadcv9q2yi7bjkdp6z0g4rk7kbdblsv613fpgjrhgwdbgkj2z8")))) + (arguments + `(#: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.20) + ("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.23) + ("rust-tungstenite" ,rust-tungstenite-0.16) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)))))) + (define-public rust-tokio-tungstenite-0.11 (package (name "rust-tokio-tungstenite")