From unknown Wed Jun 18 23:17:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#73365 <73365@debbugs.gnu.org> To: bug#73365 <73365@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add curl-http3. Reply-To: bug#73365 <73365@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:17:45 +0000 retitle 73365 [PATCH] gnu: Add curl-http3. reassign 73365 guix-patches submitter 73365 Ashish SHUKLA severity 73365 normal tag 73365 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 19 12:03:24 2024 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 ) id 1srJcq-0007oA-Hp for submit@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 ) id 1srJco-0007nz-9p for submit@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 ) id 1srJcO-0005Wt-OS for guix-patches@gnu.org; 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 ) id 1srJcJ-0005oP-Ri for guix-patches@gnu.org; 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: Add curl-http3. Date: Thu, 19 Sep 2024 16:00:01 +0000 Message-ID: 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@lostca.se; 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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