guix-commits
[Top][All Lists]
Advanced

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

289/330: gnu: Add rust-tungstenite-0.16.


From: guix-commits
Subject: 289/330: gnu: Add rust-tungstenite-0.16.
Date: Mon, 18 Mar 2024 07:16:39 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 063730265f94c5072ca535c6c4ca4f45918aacd7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:33 2024 +0200

    gnu: Add rust-tungstenite-0.16.
    
    * gnu/packages/crates-web.scm (rust-tungstenite-0.16): New variable.
    
    Change-Id: I81871190bd2b318729e07a8586f1311ac85037e1
---
 gnu/packages/crates-web.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

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)



reply via email to

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