From patchwork Tue Jan 30 19:25:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= X-Patchwork-Id: 59656 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9A55227BBE2; Tue, 30 Jan 2024 19:27:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 86DC127BBE9 for ; Tue, 30 Jan 2024 19:27:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUtl2-0005xy-OI; Tue, 30 Jan 2024 14:26:56 -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 1rUtl0-0005uQ-6w for guix-patches@gnu.org; Tue, 30 Jan 2024 14:26:54 -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 1rUtkz-00059L-V3 for guix-patches@gnu.org; Tue, 30 Jan 2024 14:26:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUtl8-00034i-Vp; Tue, 30 Jan 2024 14:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68481] [PATCH v2 11/13] gnu: Add rust-tungstenite-0.21. Resent-From: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 30 Jan 2024 19:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68481 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 68481@debbugs.gnu.org Cc: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68481-submit@debbugs.gnu.org id=B68481.170664277911730 (code B ref 68481); Tue, 30 Jan 2024 19:27:02 +0000 Received: (at 68481) by debbugs.gnu.org; 30 Jan 2024 19:26:19 +0000 Received: from localhost ([127.0.0.1]:36848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUtkQ-000332-QU for submit@debbugs.gnu.org; Tue, 30 Jan 2024 14:26:19 -0500 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:44515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUtjy-0002zW-IT for 68481@debbugs.gnu.org; Tue, 30 Jan 2024 14:25:51 -0500 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a364b5c5c19so91223666b.1 for <68481@debbugs.gnu.org>; Tue, 30 Jan 2024 11:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706642736; x=1707247536; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ITiqD+Fy7yuTkEKups3TF96hgwd1FqOAWRA4kATkUJo=; b=gxit7+IRMxrqy1Xt4ae9ecyZjA5RWneXnfM/KgvsLeByWGj7y4LR5kNk/Ypqy9PJpr OASIdhqOej4Map0jpUTM10ZDOw+U7ZlyUUyPpCZCz1OFpvGepyu7NoP620N7ocXJo9Y/ AWL7+OHZrGeDlbeRs6CORhlin0j0Ti/4z/mns2NFCeO+8qEl2XhLTwTm9x2g3huT3+7A 24btXv9lviXvrb20mxmiv5CjAnmd/0PlkhDpAHTj/p2MpF3zpI8mphUICGuuWMXIsVCF +17xRg9yF02EVnO5HWqSZRIxQgemFQr6Z1mV3kFy5LdZH7/qv8aEJ8z6lMGrztSfIeW4 jwXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706642736; x=1707247536; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ITiqD+Fy7yuTkEKups3TF96hgwd1FqOAWRA4kATkUJo=; b=o38FTOq5nAZVwjwEIt9lyeZ9Bo+GA4dDa014t652Iw6fjszrbgBbPr497/GwWKjZRL lsUW9eOQg5YOxgqt0M9uQEkOMH1kYd4gqWb0Wu8kRg25f2IUJtGeSZfFYDB2bKG2+B40 U5lCnD8b7HMdhbYDGI69Ut5nCndqlAk/G7fxFLfmgLqmwv2wyH1hJLq1uJTj9Lrtdxo4 ZoT9NwbBj02QucxsS7zhaSE096PIuq1/R5GncjWtaUdxCWfhz6BuiDbXfoOFYjN0dRQq buP4B/pkQHrf9fP413bo6imeiaPA6L6smVDQ22DuXCo7nsO6ar3miHowm6Qu7moMfM/5 NSRA== X-Gm-Message-State: AOJu0Ywjwg9Z/BX1jWGINYyERwctxoGCyA1c37NxvdgbUWA0YJAk9XQV zdAO2YWnEol8EOlxvlsJXc28dJNWkICv6MNg8/H4Vyb/onSGQCydVjDD0MYC X-Google-Smtp-Source: AGHT+IHt3tteBZpCNHK2rCwluVGLOos11PpnuPlYBB4WaDoKADs+/Gm+zPk3ieP8AOUMfgI/V0x1WQ== X-Received: by 2002:a17:906:340f:b0:a34:9686:8e03 with SMTP id c15-20020a170906340f00b00a3496868e03mr185089ejb.4.1706642735721; Tue, 30 Jan 2024 11:25:35 -0800 (PST) Received: from localhost (176-241-13-110.pool.digikabel.hu. [176.241.13.110]) by smtp.gmail.com with ESMTPSA id ck5-20020a170906c44500b00a31930ffa7esm5364309ejb.153.2024.01.30.11.25.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 11:25:35 -0800 (PST) From: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= Date: Tue, 30 Jan 2024 20:25:14 +0100 Message-ID: <526a3cba5223037fddf2d4db607acd74102da944.1706642716.git.voroskoi@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")