summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2023-09-11 23:18:54 +0800
committerMarius Bakke <marius@gnu.org>2023-09-22 01:29:18 +0800
commitf2e2c51ec945e78faea7d2325ea7f1ff8282a0de (patch)
treeb005151a01a86194a77e1e8a87fc5acc8ec46f50
parent370c8bd78b06314dc860695a6aad820c209e1386 (diff)
gnu: Add python-pylsqpack.
* gnu/packages/python-compression.scm (python-pylsqpack): New variable.
-rw-r--r--gnu/packages/python-compression.scm22
1 files changed, 21 insertions, 1 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index 000d42524d..bc96bc05d3 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2018-2020, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2020, 2022, 2023 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
;;;
;;; This file is part of GNU Guix.
@@ -207,6 +207,26 @@ compression algorithm.")
and decompression by implementing Python bindings for the ISA-L library.")
(license license:expat)))
+(define-public python-pylsqpack
+ (package
+ (name "python-pylsqpack")
+ (version "0.3.17")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pylsqpack" version))
+ (sha256
+ (base32
+ "1qiwmavmxy6ba89mrdkzk52hqrd4awnp4yca395pxp2np66pf81g"))))
+ ;; FIXME: Unbundle ls-qpack and xxhash!
+ (build-system pyproject-build-system)
+ (home-page "https://github.com/aiortc/pylsqpack")
+ (synopsis "Python bindings for @code{ls-qpack}")
+ (description
+ "@code{pylsqpack} is a wrapper around the @code{ls-qpack} library.
+It provides Python Decoder and Encoder objects to read or write HTTP/3
+headers compressed with QPACK.")
+ (license license:expat)))
+
(define-public python-pyppmd
(package
(name "python-pyppmd")