From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SIrNLR8cS2YDPwEAe85BDQ:P1 (envelope-from ) for ; Mon, 20 May 2024 11:47:12 +0200 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 SIrNLR8cS2YDPwEAe85BDQ (envelope-from ) for ; Mon, 20 May 2024 11:47:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=XHquzA3Q; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716198431; h=from:from:sender:sender:reply-to: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=05ZTwy+eVjCgIOahQBpYETx5Q14+RGGhqRefcf63yZY=; b=FJtgvAroW2fgRAD2JxmbiZ/sMdl9quz6Zn/RQtwvEo49dLPn2alIpJ0G2ibwWOcOI6jvXv DcyuUneV4Nb92QVXbeaBYAmmYEn6FYCoKkgsCUW2rZ3zO0lpaDhGBpAtHzMJIFaoNSkM+1 pwnoDA7MmiUI+ftIFjL9Ls7S/Ppeo8Dw3bxsWrqgGimoozLLFoK9Ckp/h4VhPFUGN203sM xASfpeWV4A0XrK2GiaK1zHAeHr5n+oA8zmkHnsW7ghzzU/1jn+f1N67cwPPWOAN+tbvbE9 mOFAhutl5GQew+kAdlXnhmy/mCDt2xbxmQbzubOMM4UCEwnGVmZvvNtL5ojQRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716198431; a=rsa-sha256; cv=none; b=mf8KTTiTcWOxYSlFTNnmI4Bf7/CJ72Brpr09sJ690lq37HgRW1ipbdmGSYowoIUAoVthUA zAfyq5Fl3LJFQtRsAh2z//ojPiAkNaXtUPc2lPoWRg2ltfPs0fWa268U2oRoYPWLqY8+k+ wCacW5DcDd9LBrUfcveLzi+EAiRv8NVWmi5lGb9ibthwmvZ2pZcFaLrlnoOI9sphL5wCCw TO2yJjIro8Ohd6rPlCgOr+OcZr27RSQ4lwcIex96O2f8OHBcohbQb906QBWBYFJUDhYg5L xpAaAOiV38e46WiAdg07QhcFVRrZsY4kdtV5tnfUC31tC2h4ydA/1j9uAnAu7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=XHquzA3Q; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 7E06C67DF8 for ; Mon, 20 May 2024 11:47:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8yux-0001Vv-07; Mon, 20 May 2024 05:02:51 -0400 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 1s8yta-0000cG-IV for guix-patches@gnu.org; Mon, 20 May 2024 05:01:26 -0400 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 1s8ytU-0006tF-Rr for guix-patches@gnu.org; Mon, 20 May 2024 05:01:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8ytZ-0007Kz-8N; Mon, 20 May 2024 05:01:25 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71076] [PATCH 52/81] gnu: Add rust-h3-0.0.4. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 09:01:25 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71076@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71076-submit@debbugs.gnu.org id=B71076.171619567027785 (code B ref 71076); Mon, 20 May 2024 09:01:25 +0000 Received: (at 71076) by debbugs.gnu.org; 20 May 2024 09:01:10 +0000 Received: from localhost ([127.0.0.1]:41241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ytJ-0007Ds-C4 for submit@debbugs.gnu.org; Mon, 20 May 2024 05:01:09 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:57321 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysa-000746-Rq for 71076@debbugs.gnu.org; Mon, 20 May 2024 05:00:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1716195614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=05ZTwy+eVjCgIOahQBpYETx5Q14+RGGhqRefcf63yZY=; b=XHquzA3Q5n6wb5VqFTsbPt+BHFt/GQylPb/8kRrHwOdOW3b1y9nB1k2dzeGlwSWx+2oV7S UFn3LgwYlTlambt3UNxDWO6RZtigW4LsZTF4WLC+KU16G6lUP5B/yxrNrF6wKqrSs+h4q9 Mx8nHPB63go1Z9j5GHYZiwPoc+SA8w4G6AB5CdBBClBp7PT9JEk1938v9a52wtIoP78W6h /Vf+xAkVtvkTC/0l4R8PJBSQELvjTl5JtysBNMx9AYnhZHK6okEPjvWwiTC9Qu2Ggu3cJK lPabQ2FyX82eLFaI5ApPFD8Ob8I2cm9BR9BGxKo+qtvVJK4/ZGq9Zr166sF8wg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id e1a79da5 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <71076@debbugs.gnu.org>; Mon, 20 May 2024 09:00:14 +0000 (UTC) Date: Mon, 20 May 2024 10:58:57 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via 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: -1.86 X-Spam-Score: -1.86 X-Migadu-Queue-Id: 7E06C67DF8 X-Migadu-Scanner: mx11.migadu.com X-TUID: 5FH4xTaozCB9 * gnu/packages/crates-web.scm (rust-h3-0.0.4): Add variable. (rust-h3-0.0.3): Inherit from rust-h3-0.0.4. Change-Id: I9d6cae92e738b2d0e27a6885237daf5b9c1e6cd2 --- gnu/packages/crates-web.scm | 59 +++++++++++++++++++++++++++++++++---- 1 file changed, 53 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 12706984ab..30df5dd9fa 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2558,8 +2558,60 @@ (define-public rust-h2-0.1 ("rust-webpki" ,rust-webpki-0.21) ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) +(define-public rust-h3-0.0.4 + (package + (name "rust-h3") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04clhh6b5iqlgnbppikbz4zpxl78g4vkyhyrjgnyg4vfkrmqij5i")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "src/tests/mod.rs" + (("../h3-quinn") + "guix-vendor/rust-h3-quinn-0.0.5.tar.gz")) + (substitute* "Cargo.toml" + (("\"tls-rustls\"") + "\"tls-rustls\",\n\"futures-io\"")))))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-test-flags + `(list "release" "--" + "--skip=server_and_client_should_connect_successfully") + #:cargo-inputs (list rust-bytes-1 + rust-fastrand-2 + rust-futures-util-0.3 + rust-http-1 + rust-pin-project-lite-0.2 + rust-tokio-1 + rust-tracing-0.1) + #:cargo-development-inputs (list rust-assert-matches-1 + rust-futures-0.3 + rust-futures-util-0.3 + rust-h3-quinn-0.0.5 + rust-proptest-1 + rust-quinn-0.10 + rust-quinn-proto-0.10 + rust-rcgen-0.11 + rust-rustls-0.21 + rust-tokio-1 + rust-tokio-util-0.7 + rust-tracing-subscriber-0.3))) + (home-page "https://github.com/hyperium/h3") + (synopsis "Async HTTP/3 implementation") + (description + "This package provides an async HTTP/3 implementation.") + (license license:expat))) + (define-public rust-h3-0.0.3 (package + (inherit rust-h3-0.0.4) (name "rust-h3") (version "0.0.3") (source @@ -2569,7 +2621,6 @@ (define-public rust-h3-0.0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "101vg73galsyk5gnjb49cjb6q40c9z2npcdxpfsj99ky2waijgmq")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included #:cargo-inputs @@ -2591,11 +2642,7 @@ (define-public rust-h3-0.0.3 ("rust-rustls" ,rust-rustls-0.21) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-util" ,rust-tokio-util-0.7) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/hyperium/h3") - (synopsis "Async HTTP/3 implementation") - (description "This package provides an async HTTP/3 implementation.") - (license license:expat))) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) (define-public rust-h3-0.0.2 (package -- 2.41.0