From f2e2c51ec945e78faea7d2325ea7f1ff8282a0de Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 11 Sep 2023 23:18:54 +0800 Subject: gnu: Add python-pylsqpack. * gnu/packages/python-compression.scm (python-pylsqpack): New variable. --- gnu/packages/python-compression.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) 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 ;;; Copyright © 2018-2020, 2022 Efraim Flashner ;;; Copyright © 2020 Nicolas Goaziou -;;; Copyright © 2020, 2022 Marius Bakke +;;; Copyright © 2020, 2022, 2023 Marius Bakke ;;; Copyright © 2021 Brendan Tildesley ;;; ;;; 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") -- cgit v1.2.3