unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "VÖRÖSKŐI András" <voroskoi@gmail.com>
To: 68481@debbugs.gnu.org
Cc: "VÖRÖSKŐI András" <voroskoi@gmail.com>,
	"Efraim Flashner" <efraim@flashner.co.il>
Subject: [bug#68481] [PATCH v2 11/13] gnu: Add rust-tungstenite-0.21.
Date: Tue, 30 Jan 2024 20:25:14 +0100	[thread overview]
Message-ID: <526a3cba5223037fddf2d4db607acd74102da944.1706642716.git.voroskoi@gmail.com> (raw)
In-Reply-To: <f6f6aa6e34d7741b6ee4c8a01fc56068b4a55868.1706642716.git.voroskoi@gmail.com>

* gnu/packages/crates-io.scm (rust-tungstenite-0.21): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3037c6fdd4..59008c83a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72191,6 +72191,147 @@ (define-public rust-tuikit-0.2
        #:cargo-development-inputs
        (("rust-env-logger" ,rust-env-logger-0.6))))))
 
+(define-public rust-tungstenite-0.21
+  (package
+    (name "rust-tungstenite")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tungstenite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qaphb5kgwgid19p64grhv2b9kxy7f1059yy92l9kwrlx90sdwcy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-data-encoding" ,rust-data-encoding-2)
+                       ("rust-http" ,rust-http-1)
+                       ("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.22)
+                       ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7)
+                       ("rust-rustls-pki-types" ,rust-rustls-pki-types-1)
+                       ("rust-sha1" ,rust-sha1-0.10)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-url" ,rust-url-2)
+                       ("rust-utf-8" ,rust-utf-8-0.7)
+                       ("rust-webpki-roots" ,rust-webpki-roots-0.26))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
+                                   ("rust-env-logger" ,rust-env-logger-0.10)
+                                   ("rust-input-buffer" ,rust-input-buffer-0.5)
+                                   ("rust-rand" ,rust-rand-0.8)
+                                   ("rust-socket2" ,rust-socket2-0.5))))
+    (home-page "https://github.com/snapview/tungstenite-rs")
+    (synopsis "Lightweight stream-based WebSocket implementation")
+    (description
+     "This library provides an implementation of WebSockets, RFC6455.  It
+allows for both synchronous (like TcpStream) and asynchronous usage and is
+easy to integrate into any third-party event loops including MIO.  The API
+design abstracts away all the internals of the WebSocket protocol but still
+makes them accessible for those who wants full control over the network.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-tungstenite-0.19
+  (package
+    (name "rust-tungstenite")
+    (version "0.19.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tungstenite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0rxzxg4y22rsvdvs4la7igy9117yidc2m6lsfm2hf0xvsska3yqm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-byteorder" ,rust-byteorder-1)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-data-encoding" ,rust-data-encoding-2)
+        ("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.21)
+        ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+        ("rust-sha1" ,rust-sha1-0.10)
+        ("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.23))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.4)
+        ("rust-env-logger" ,rust-env-logger-0.10)
+        ("rust-input-buffer" ,rust-input-buffer-0.5)
+        ("rust-net2" ,rust-net2-0.2)
+        ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/snapview/tungstenite-rs")
+    (synopsis "Lightweight stream-based WebSocket implementation")
+    (description
+     "This library provides an implementation of WebSockets, RFC6455.  It
+allows for both synchronous (like TcpStream) and asynchronous usage and is
+easy to integrate into any third-party event loops including MIO.  The API
+design abstracts away all the internals of the WebSocket protocol but still
+makes them accessible for those who wants full control over the network.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-tungstenite-0.11
+  (package
+    (inherit rust-tungstenite-0.19)
+    (name "rust-tungstenite")
+    (version "0.11.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tungstenite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08ra94x3zqkmbsrcmwszknxv2a8g08gk5xlyif3wa037v208sc7h"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-base64" ,rust-base64-0.12)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-bytes" ,rust-bytes-0.5)
+        ("rust-http" ,rust-http-0.2)
+        ("rust-httparse" ,rust-httparse-1)
+        ("rust-input-buffer" ,rust-input-buffer-0.3)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-native-tls" ,rust-native-tls-0.2)
+        ("rust-rand" ,rust-rand-0.7)
+        ("rust-sha-1" ,rust-sha-1-0.9)
+        ("rust-url" ,rust-url-2)
+        ("rust-utf-8" ,rust-utf-8-0.7))))))
+
+(define-public rust-twofish-0.7
+  (package
+    (name "rust-twofish")
+    (version "0.7.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "twofish" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "04w0ii2c0c9ws08aw6c7illh9zql22il9lbwjk1mgir30aiq73m7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cipher" ,rust-cipher-0.4))
+       #:cargo-development-inputs
+       (("rust-cipher" ,rust-cipher-0.4)
+        ("rust-hex-literal" ,rust-hex-literal-0.3))))
+    (home-page "https://github.com/RustCrypto/block-ciphers")
+    (synopsis "Twofish block cipher")
+    (description "Twofish block cipher")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-twoway-0.2
   (package
     (name "rust-twoway")
-- 
2.41.0





  parent reply	other threads:[~2024-01-30 19:27 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-15 19:18 [bug#68481] Update rbw to 1.9 András Vöröskői
2024-01-15 19:28 ` [bug#68481] [PATCH 01/32] gnu: rust-anstream: Update to 0.6.7 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 02/32] gnu: Add rust-aws-lc-fips-sys-0.11 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 03/32] gnu: Add rust-aws-lc-sys-0.12 VÖRÖSKŐI András
2024-01-18  7:45     ` Efraim Flashner
2024-01-30 19:29       ` András Vöröskői
2024-01-15 19:28   ` [bug#68481] [PATCH 04/32] gnu: Add rust-aws-lc-rs-1 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 05/32] gnu: rust-clap-builder: Update to 4.4.16 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 06/32] gnu: rust-clap: " VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 07/32] gnu: rust-clap-complete: Update to 4.4.6 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 08/32] gnu: Add rust-completest-0.2 VÖRÖSKŐI András
2024-01-18  7:45     ` Efraim Flashner
2024-01-30 19:32       ` András Vöröskői
2024-01-15 19:28   ` [bug#68481] [PATCH 09/32] gnu: rust-env-logger: Update to 0.10.1 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 10/32] gnu: rust-hkdf: Update to 0.12.4 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 11/32] gnu: rust-is-terminal: Update to 0.4.10 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 12/32] gnu: rust-mio: Update to 0.8.10 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 13/32] gnu: Add rust-mirai-annotations-1 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 14/32] gnu: Add rust-rcgen-0.12 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 15/32] gnu: rust-rsa: Update to 0.9.6 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 16/32] gnu: rust-serde-repr: Update to 0.1.18 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 17/32] gnu: rust-socket2: Update to 0.5.5 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 18/32] gnu: rust-spki: Update to 0.7.3 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 19/32] gnu: rust-subtle: Update to 2.5.0 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 20/32] gnu: rust-thiserror-impl: Update to 1.0.56 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 21/32] gnu: rust-thiserror: " VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 22/32] gnu: rust-zeroize: Update to 1.7.0 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 23/32] gnu: Add rust-rustls-webpki-0.102 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 24/32] gnu: Add rust-rustls-native-certs-0.7 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 25/32] gnu: Add rust-rustls-0.22 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 26/32] gnu: Add rust-webpki-roots-0.26 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 27/32] gnu: Add rust-tokio-rustls-0.25 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 28/32] gnu: Add rust-tungstenite-0.21 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 29/32] gnu: Add rust-tokio-tungstenite-0.21 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 30/32] gnu: rust-tokio-macros: Update to 2.2.0 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 31/32] gnu: rust-tokio: Update to 1.35.1 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 32/32] gnu: rbw: Update to 1.9.0 VÖRÖSKŐI András
2024-01-18  7:45     ` Efraim Flashner
2024-01-29 19:44       ` András Vöröskői
2024-01-30 19:25 ` [bug#68481] [PATCH v2 01/13] gnu: rust-clap-builder: Update to 4.4.16 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 02/13] gnu: rust-clap: " VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 03/13] gnu: Add rust-mirai-annotations-1 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 04/13] gnu: Add rust-rcgen-0.12 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 05/13] gnu: rust-subtle: Update to 2.5.0 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 06/13] gnu: Add rust-rustls-native-certs-0.7 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 07/13] gnu: Add rust-rustls-webpki-0.102 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 08/13] gnu: Add rust-rustls-0.22 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 09/13] gnu: Add rust-webpki-roots-0.26 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 10/13] gnu: Add rust-tokio-rustls-0.25 VÖRÖSKŐI András
2024-01-30 19:25   ` VÖRÖSKŐI András [this message]
2024-01-30 19:25   ` [bug#68481] [PATCH v2 12/13] gnu: Add rust-tokio-tungstenite-0.21 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 13/13] gnu: rbw: Update to 1.9.0 VÖRÖSKŐI András
2024-02-08 19:09     ` bug#68481: " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=526a3cba5223037fddf2d4db607acd74102da944.1706642716.git.voroskoi@gmail.com \
    --to=voroskoi@gmail.com \
    --cc=68481@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).