GNU bug report logs - #73365
[PATCH] gnu: Add curl-http3.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Ashish SHUKLA <ashish.is@HIDDEN>; Keywords: patch; dated Thu, 19 Sep 2024 16:04:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Sep 2024 16:03:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 19 12:03:24 2024
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>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add curl-http3.
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-Debbugs-Envelope-To: submit
Cc: Ashish SHUKLA <ashish.is@HIDDEN>
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





Acknowledgement sent to Ashish SHUKLA <ashish.is@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#73365; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.