From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aLALCThpm2WjDwEAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 04:17:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YKCbBDhpm2W6mwAAe85BDQ (envelope-from ) for ; Mon, 08 Jan 2024 04:17:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=p9aV8c+e; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704683831; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZUVX4HQuqKemEvkjX/ylSNMWqfHBD6Dyqb9+Rp8ujSk=; b=ZF+Tt7BC7iSfWZfWlBrP7C7dnw9uT65x4a7piz8Ajxg0Etq5GlVWVvxutrNAXJCbZIfSKb 9IMJ/8yv2omJc7XtSRVGtPjhcl48kVZFbXfCPKPq31z4ipMnGF7iEAjZvuOEvmGBpUk3sv vzVSlQEzAxL/TwNNRr98oabBd6b9ivbVnUDMv+1TImu/6awRtOE2TaroYhL8TICDtsGSo1 jqfIyu5xfBxziGZo41lyS11WTiikeaLffi32ugxIJrZypFT4p8YVCF10Ncz3NTl8euMYg4 XyRlTJECtM0nunl4wLGH6Qqpu+jBc2RyUwRzH2JSpBsjwM22vZfpc0Vktq3Ztg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704683831; a=rsa-sha256; cv=none; b=i6z7eKJMVbtgru+bFo0VQAFWWf/0SaYXHMuO7K01KuoU7U5PZu6IAcZB+tOTe4AQCb7lLI ODEBMPvPU6JSCNv5K8fcGga8cHz85jhAxYrATGUHhOeUE/yl4BtPOweaTebS+4OwiaNrJj Vhw51rVz25c3BwlqwL5LPEg+HKKzPZg/14LQfT9GLDVzs+0lxjF4ab63M84+Gc4eQ6jO0V k6fwwlZ8UzvXBFgeKz64KvemRDnWio3NBhzzo/aKjdtLrUFj6GJfRpl7uWnTO55JnCUlG9 aCiRKxssMGA9p8HtOi3kjRKPgLT4nOTiKcDr84xWU9YekTJY767Hb/dZmnqz+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=p9aV8c+e; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E6B8216788 for ; Mon, 8 Jan 2024 04:17:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMesv-0008R0-2u; Sun, 07 Jan 2024 20:57:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMest-0008Ld-AJ for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMest-0004mE-1m for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMesy-0000Pf-U5 for guix-patches@gnu.org; Sun, 07 Jan 2024 20:57:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 142/156] gnu: Add rust-tungstenite-0.20. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 01:57:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.17046790191465 (code B ref 68312); Mon, 08 Jan 2024 01:57:04 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 01:56:59 +0000 Received: from localhost ([127.0.0.1]:34565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMest-0000NR-EU for submit@debbugs.gnu.org; Sun, 07 Jan 2024 20:56:59 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:48678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMerG-0008Da-1q for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 20:55:23 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678911; bh=ZUVX4HQuqKemEvkjX/ylSNMWqfHBD6Dyqb9+Rp8ujSk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=p9aV8c+ev4J97wB7nddWvHtNdxJ2tVaYpdVNg0khxeoPJa/rHqBHmhc70W4fAjgmE gvA788Q5P4mgXPceV+WYA9VepvDA9DkotGd0gq72QI3PrtSqEWZKvcNv/fbxbjzdSq QmkfGCnNvqJeQnG5wMt8po2lk4fX+JZczrC8ZGxs= Date: Mon, 8 Jan 2024 02:53:59 +0100 Message-ID: <8ade06d2fc50840d6a3d68c12e279e410f3da65f.1704675831.git.w@wmeyer.eu> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.69 X-Spam-Score: -3.69 X-Migadu-Queue-Id: E6B8216788 X-Migadu-Scanner: mx11.migadu.com X-TUID: /wPuXv0/pcv4 * gnu/packages/crates-io.scm (rust-tungstenite-0.20): New variable. (rust-tungstenite-0.19): Inherit from rust-tungstenite-0.20. Change-Id: I73c034a3d008c32d0156fce9d201338f1386182e --- gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cee7f4877f8..5ccd7ef0b66 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -81660,8 +81660,48 @@ (define-public rust-tuikit-0.2 #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.6)))))) +(define-public rust-tungstenite-0.20 + (package + (name "rust-tungstenite") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fbgcv3h4h1bhhf5sqbwqsp7jnc44bi4m41sgmhzdsk2zl8aqgcy")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #: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-roots" ,rust-webpki-roots-0.24)))) + (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 + (inherit rust-tungstenite-0.20) (name "rust-tungstenite") (version "0.19.0") (source @@ -81671,7 +81711,6 @@ (define-public rust-tungstenite-0.19 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0rxzxg4y22rsvdvs4la7igy9117yidc2m6lsfm2hf0xvsska3yqm")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) @@ -81695,16 +81734,7 @@ (define-public rust-tungstenite-0.19 ("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)))) + ("rust-rand" ,rust-rand-0.8)))))) (define-public rust-tungstenite-0.11 (package -- 2.41.0