From patchwork Sat Nov 11 15:16:12 2023 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: 56284 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 C48BD27BBE2; Sat, 11 Nov 2023 15:19:55 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 559F227BBEC for ; Sat, 11 Nov 2023 15:19:51 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1pl1-0000BI-2l; Sat, 11 Nov 2023 10:18:47 -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 1r1pkz-0000AP-01 for guix-patches@gnu.org; Sat, 11 Nov 2023 10:18:45 -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 1r1pky-0005MO-O2 for guix-patches@gnu.org; Sat, 11 Nov 2023 10:18:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1pld-00019a-3I for guix-patches@gnu.org; Sat, 11 Nov 2023 10:19:25 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67101] [PATCH 24/36] gnu: Add rust-tungstenite-0.19. Resent-From: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Nov 2023 15:19:24 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67101 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67101@debbugs.gnu.org Cc: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16997159614346 (code B ref -1); Sat, 11 Nov 2023 15:19:24 +0000 Received: (at submit) by debbugs.gnu.org; 11 Nov 2023 15:19:21 +0000 Received: from localhost ([127.0.0.1]:53700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1plY-00017t-Vo for submit@debbugs.gnu.org; Sat, 11 Nov 2023 10:19:21 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1plJ-0000zy-PQ for submit@debbugs.gnu.org; Sat, 11 Nov 2023 10:19:06 -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 1r1pka-0008AQ-2r for guix-patches@gnu.org; Sat, 11 Nov 2023 10:18:20 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r1pkY-00059m-Cu for guix-patches@gnu.org; Sat, 11 Nov 2023 10:18:19 -0500 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-54553e4888bso4556214a12.2 for ; Sat, 11 Nov 2023 07:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699715897; x=1700320697; darn=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=aSfY4wQkF5Z8EcyPyFqi8yGOaB8YgHpnRpxjsu8xLPU=; b=dZexnhEQjHmwmi25uOzArXLjbuiuwVh9Y1Ty1DgXbW8gXKE1Qximnro64YDfrHDkmV CLYdI0PGAgx6qXTY4Ym8kljIUTo7wOsosq9Jf7oCmaDqMduUbLUbYkTyc6ft/1MIpH9e iL1b750wN9Ufj2r6UdRFgdQIoivFMS68RIFk/8HOvU7LrYCdV1O09SNhYReZpMnluje6 /NQbx/+94TNwtyLP5e5B+SZCI6zeB9bcAB0rg2wQzwNYQI+fNveHjy7FTsuxy/5hT/xQ hDc+Ot/LYhFoALo7rzisPb0Zc60UOSVop+szODEw+9RiQsTW+gQMb9RKvy1ZIy4RJU+f k96g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699715897; x=1700320697; 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=aSfY4wQkF5Z8EcyPyFqi8yGOaB8YgHpnRpxjsu8xLPU=; b=HMf2ui6dGJwdxq/Yq8feB2DfagrZE7//MP9txTFZBypBeAH/VXEBIKn5NcXvUV1AcC JveY8GHuFHwzcP6mBob6lCDpaxoFG5JLLP43Zig2wcHiEx2s5IYbJ0ji70eV/+9UFtDD 6mwtMftzamp+H6bPP8F+W30WH1N9y0Bpvuf+0K9mldicLR8wKZSf2eyx/+CElk6GdLBL zhceWAwFc910I9pmV6GKWvjv6IYUX/33bEInDz4omFiQi3uKnQDgCNi3MwgqNNPvuHao Q33FmHdW+wKasYMUffZPqilxnbZtRAhqgPPyKwSINSB9hVLlMJO4n8sXcog1wx+bdYRA S6Jw== X-Gm-Message-State: AOJu0YygeGHR+kouIvEvoJuyg+34rtaa797oPvcVy9Fhvxfya5pw4NWI tp8Iaj9EKMN0gDHCBc7VJ0tEXql9Bus= X-Google-Smtp-Source: AGHT+IERb4hYdiFyVDmfGwpehuEarlSz3HGhZUZ2QFzg+RdGOazIyQ2yGy55qfTTyHqABuNu51kqHA== X-Received: by 2002:a17:906:ccc2:b0:9d2:63ab:6d4f with SMTP id ot2-20020a170906ccc200b009d263ab6d4fmr1443698ejb.55.1699715896811; Sat, 11 Nov 2023 07:18:16 -0800 (PST) Received: from localhost (87-97-126-53.pool.digikabel.hu. [87.97.126.53]) by smtp.gmail.com with ESMTPSA id t9-20020a1709066bc900b009b27d4153c0sm1208776ejs.178.2023.11.11.07.18.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 07:18:16 -0800 (PST) From: =?utf-8?b?VsOWUsOWU0vFkEkgQW5kcsOhcw==?= Date: Sat, 11 Nov 2023 16:16:12 +0100 Message-ID: <7485f9d98dd457f02164b87b9f65b5dd02d5c6a7.1699715782.git.voroskoi@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=voroskoi@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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.19): New variable. Change-Id: Ie65bb3ad45991caeda1831bbcdfb07461bcab41e --- gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c479d97757..e94b9d96f5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -79029,6 +79029,52 @@ (define-public rust-tuikit-0.2 #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.6)))))) +(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 (name "rust-tungstenite")