[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68332] [PATCH 2/6] gnu: Add nghttp3.
From: |
Tomas Volf |
Subject: |
[bug#68332] [PATCH 2/6] gnu: Add nghttp3. |
Date: |
Mon, 8 Jan 2024 20:38:14 +0100 |
* gnu/packages/web.scm (nghttp3): New variable.
Change-Id: I4ed318506f6d3bdd0c47a367b1dcc1b4454c09b2
---
gnu/packages/web.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e0f8bf4547..3c7ff49fb9 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -65,6 +65,7 @@
;;; Copyright © 2023 Christopher Howard <christopher@librehacker.com>
;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
;;; Copyright © 2023 Evgeny Pisemsky <evgeny@pisemsky.com>
+;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -8137,6 +8138,41 @@ (define-public nghttp2-for-node
(("print \\(ver >= '3\\.8'\\)")
"print (tuple(map(int, ver.split('.'))) >=
(3,8))")))))))))))
+(define-public nghttp3
+ (package
+ (name "nghttp3")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/ngtcp2/nghttp3/"
+ "releases/download/v" version "/"
+ "nghttp3-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fzvadnwb03jlm180313gg5m4fg09qdcc67fwcfrv9zs22anaa55"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list pkg-config
+ ;; Required by tests.
+ cunit))
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "--enable-lib-only")))
+ (home-page "https://nghttp2.org/nghttp3/")
+ (synopsis "HTTP/3 protocol library")
+ (description
+ "nghttp3 is an implementation of RFC 9114 HTTP/3 mapping over QUIC and
+RFC 9204 QPACK in C. It does not depend on any particular QUIC transport
+implementation.
+
+It implements extensions specified in RFC 9218 and RFC 9220. It supports
+SETTINGS_H3_DATAGRAM from RFC 9297.
+
+It does not support server push.")
+ (license license:expat)))
+
(define-public hpcguix-web
(package
(name "hpcguix-web")
--
2.41.0
- [bug#68332] [PATCH 0/6] Add curl-full, Tomas Volf, 2024/01/08
- [bug#68332] [PATCH 1/6] gnu: web: Delete trailing whitespace., Tomas Volf, 2024/01/08
- [bug#68332] [PATCH 2/6] gnu: Add nghttp3.,
Tomas Volf <=
- [bug#68332] [PATCH 3/6] gnu: ngtcp2: Update to 1.1.0., Tomas Volf, 2024/01/08
- [bug#68332] [PATCH 6/6] gnu: curl-full: Update homepage., Tomas Volf, 2024/01/08
- [bug#68332] [PATCH 5/6] gnu: Add curl-full., Tomas Volf, 2024/01/08
- [bug#68332] [PATCH 4/6] gnu: ngtcp2: Build libngtcp2_crypto_gnutls., Tomas Volf, 2024/01/08
- [bug#68332] [PATCH 0/6] Add curl-full, Mathieu Othacehe, 2024/01/17