aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 12:01:33 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:06 +0300
commitfae58a14e8be41fd338bb6689763e22aef744f3f (patch)
tree9ee62c82e2a5d4eb50e4a2383593e0fc1833adb4 /gnu/packages/crates-web.scm
parentf511d7f53b013f0d77967c07b17d98ee579301ec (diff)
downloadguix-fae58a14e8be41fd338bb6689763e22aef744f3f.tar.gz
guix-fae58a14e8be41fd338bb6689763e22aef744f3f.zip
gnu: Add rust-tungstenite-0.16.
* gnu/packages/crates-web.scm (rust-tungstenite-0.16): New variable. Change-Id: I81871190bd2b318729e07a8586f1311ac85037e1
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index a25d0d16dd..2e1929a8da 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -6545,6 +6545,41 @@ makes them accessible for those who wants full control over the network.")
("rust-net2" ,rust-net2-0.2)
("rust-rand" ,rust-rand-0.8))))))
+(define-public rust-tungstenite-0.16
+ (package
+ (inherit rust-tungstenite-0.21)
+ (name "rust-tungstenite")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tungstenite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l9s7gi9kgl4zynhbyb7737lmwaxaim4b818lwi7y95f2hx73lva"))))
+ (arguments
+ `(#:cargo-inputs (("rust-base64" ,rust-base64-0.13)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-httparse" ,rust-httparse-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rustls" ,rust-rustls-0.20)
+ ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-utf-8" ,rust-utf-8-0.7)
+ ("rust-webpki" ,rust-webpki-0.22)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.22))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-input-buffer" ,rust-input-buffer-0.5)
+ ("rust-net2" ,rust-net2-0.2)
+ ("rust-rand" ,rust-rand-0.8))))))
+
(define-public rust-tungstenite-0.11
(package
(inherit rust-tungstenite-0.19)