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

Previous Next

Package: guix-patches;

Reported by: Ashish SHUKLA <ashish.is <at> lostca.se>

Date: Thu, 19 Sep 2024 16:04:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 73365 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73365; Package guix-patches. (Thu, 19 Sep 2024 16:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ashish SHUKLA <ashish.is <at> lostca.se>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 19 Sep 2024 16:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ashish SHUKLA <ashish.is <at> lostca.se>
To: guix-patches <at> gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH] gnu: Add curl-http3.
Date: Thu, 19 Sep 2024 16:00:01 +0000
* 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





This bug report was last modified 268 days ago.

Previous Next


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