X-Loop: help-debbugs@HIDDEN
Subject: [bug#73365] [PATCH] gnu: Add curl-http3.
Resent-From: Ashish SHUKLA <ashish.is@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 19 Sep 2024 16:04:02 +0000
Resent-Message-ID: <handler.73365.B.172676180430023 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 73365
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 73365 <at> debbugs.gnu.org
Cc: Ashish SHUKLA <ashish.is@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.172676180430023
(code B ref -1); Thu, 19 Sep 2024 16:04:02 +0000
Received: (at submit) by debbugs.gnu.org; 19 Sep 2024 16:03:24 +0000
Received: from localhost ([127.0.0.1]:33334 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1srJcq-0007oA-Hp
for submit <at> debbugs.gnu.org; Thu, 19 Sep 2024 12:03:24 -0400
Received: from lists.gnu.org ([209.51.188.17]:36808)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <ashish.is@HIDDEN>) id 1srJco-0007nz-9p
for submit <at> debbugs.gnu.org; Thu, 19 Sep 2024 12:03:24 -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 <ashish.is@HIDDEN>)
id 1srJcO-0005Wt-OS
for guix-patches@HIDDEN; Thu, 19 Sep 2024 12:03:00 -0400
Received: from anamika.lostca.se ([2a01:4f9:3b:505c::2])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <ashish.is@HIDDEN>)
id 1srJcJ-0005oP-Ri
for guix-patches@HIDDEN; Thu, 19 Sep 2024 12:02:53 -0400
Received: from seneca.inet6.in (unknown
[IPv6:2401:c080:3400:28a8:5400:5ff:fe16:9400])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
(No client certificate requested) (Authenticated sender: abbe)
by anamika.lostca.se (Postfix) with ESMTPSA id A4F532C4B4;
Thu, 19 Sep 2024 16:02:48 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika;
t=1726761769;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding;
bh=4gYEBgjjwnOsu6LgO6BQWWOEG/EoSGUtO9Aho5ZYxqA=;
b=LC76PzL1uIGvdbJ9YbE1OIS7cUizicAdUHI01SUU2hB/Y0VrZbXhpj658K9n7KREXSvXd2
N5mkzqKJ1hVXpnUe2v3QjwBpYieQTR2dQLN3lNAh/5IzMQDIAa8WKGDFMzZdEIDbInaxKs
QBsGUD2217rfMI0ew8xngEOq0AI5gfk=
From: Ashish SHUKLA <ashish.is@HIDDEN>
Date: Thu, 19 Sep 2024 16:00:01 +0000
Message-ID: <d6826a5ee1841a1e1ef08f6c406defd8d790e14d.1726761601.git.ashish.is@HIDDEN>
X-Mailer: git-send-email 2.46.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a01:4f9:3b:505c::2;
envelope-from=ashish.is@HIDDEN; helo=anamika.lostca.se
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, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)
* gnu/packages/curl.scm (curl-http3): New variable.
Change-Id: I228fc0e02d75d86e27fbc61ca8a899a62c18011b
---
Hi,
This patch adds curl-http3, curl with HTTP/3 support to be used as HTTP/3 client. It inherits from curl-ssh, as I don't think a more featured curl will hurt, but I'm fine with it inheriting from curl as well.
Thanks!
Ashish SHUKLA
gnu/packages/curl.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 9f74018205..5061a69243 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -55,6 +55,7 @@ (define-module (gnu packages curl)
#:use-module (gnu packages logging)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libidn)
+ #:use-module (gnu packages networking)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
@@ -189,6 +190,18 @@ (define-public curl-ssh
(prepend libssh2)))
(properties `((hidden? . #t)))))
+(define-public curl-http3
+ (package/inherit curl-ssh
+ (name "curl-http3")
+ (arguments (substitute-keyword-arguments (package-arguments curl-ssh)
+ ((#:configure-flags flags)
+ #~(cons* "--with-nghttp3"
+ "--with-ngtcp2"
+ #$flags))))
+ (inputs (modify-inputs (package-inputs curl-ssh)
+ (prepend nghttp3 ngtcp2)))
+ (properties `((hidden? . #t)))))
+
(define-public kurly
(package
(name "kurly")
base-commit: 0feeac35cb14ccfa2193c1ecbba9d0b9936d9bb6
--
2.46.1
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ashish SHUKLA <ashish.is@HIDDEN> Subject: bug#73365: Acknowledgement ([PATCH] gnu: Add curl-http3.) Message-ID: <handler.73365.B.172676180430023.ack <at> debbugs.gnu.org> References: <d6826a5ee1841a1e1ef08f6c406defd8d790e14d.1726761601.git.ashish.is@HIDDEN> X-Gnu-PR-Message: ack 73365 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 73365 <at> debbugs.gnu.org Date: Thu, 19 Sep 2024 16:04:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 73365 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 73365: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73365 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.