diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-11 13:10:53 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-11 15:47:57 +0100 |
| commit | d54eccc4ad83715cc615556dc010abd4ef785cd4 (patch) | |
| tree | 7ed24ee74783d796dcaeebb0e952ae264722ef3f /gnu/packages | |
| parent | 03d37551cfec1e72b76fcb9a9b68d66007fdd58c (diff) | |
gnu: Add ls-qpack.
* gnu/packages/compression.scm (ls-qpack): New variable.
Change-Id: I560c7df7dfaf72e5a2f01edc0f2aaccbaa64e36b
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/compression.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 6f03094ee27..83e3f58a26b 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm | |||
| @@ -89,6 +89,7 @@ | |||
| 89 | #:use-module (gnu packages crypto) | 89 | #:use-module (gnu packages crypto) |
| 90 | #:use-module (gnu packages curl) | 90 | #:use-module (gnu packages curl) |
| 91 | #:use-module (gnu packages documentation) | 91 | #:use-module (gnu packages documentation) |
| 92 | #:use-module (gnu packages digest) | ||
| 92 | #:use-module (gnu packages file) | 93 | #:use-module (gnu packages file) |
| 93 | #:use-module (gnu packages gcc) | 94 | #:use-module (gnu packages gcc) |
| 94 | #:use-module (gnu packages gettext) | 95 | #:use-module (gnu packages gettext) |
| @@ -273,6 +274,43 @@ adding and extracting files to/from a tar archive.") | |||
| 273 | (home-page "https://repo.or.cz/libtar.git") | 274 | (home-page "https://repo.or.cz/libtar.git") |
| 274 | (license license:bsd-3))) | 275 | (license license:bsd-3))) |
| 275 | 276 | ||
| 277 | (define-public ls-qpack | ||
| 278 | (package | ||
| 279 | (name "ls-qpack") | ||
| 280 | (version "2.6.2") | ||
| 281 | (source | ||
| 282 | (origin | ||
| 283 | (method git-fetch) | ||
| 284 | (uri (git-reference | ||
| 285 | (url "https://github.com/litespeedtech/ls-qpack") | ||
| 286 | (commit (string-append "v" version)))) | ||
| 287 | (file-name (git-file-name name version)) | ||
| 288 | (sha256 | ||
| 289 | (base32 "1gipc7lvxxj8wnzbx4mrw4c78x78qf9j6k4j4pnfsanvin219vmi")) | ||
| 290 | (snippet | ||
| 291 | #~(begin | ||
| 292 | (use-modules (guix build utils)) | ||
| 293 | (delete-file-recursively "deps/xxhash"))))) | ||
| 294 | (build-system cmake-build-system) | ||
| 295 | (arguments | ||
| 296 | (list | ||
| 297 | #:configure-flags | ||
| 298 | #~(list "-DLSQPACK_XXH=OFF" | ||
| 299 | "-DLSQPACK_TESTS=ON"))) | ||
| 300 | (native-inputs | ||
| 301 | (list pkg-config)) | ||
| 302 | (inputs | ||
| 303 | (list xxhash)) | ||
| 304 | (home-page "https://github.com/litespeedtech/ls-qpack") | ||
| 305 | (synopsis "QPACK compression library for use with HTTP/3") | ||
| 306 | (description | ||
| 307 | "QPACK is the compression mechanism used by | ||
| 308 | @url{https://en.wikipedia.org/wiki/HTTP/3, HTTP/3} to compress HTTP headers. | ||
| 309 | It's based on specification | ||
| 310 | @url{https://tools.ietf.org/html/draft-ietf-quic-qpack-11, QPACK | ||
| 311 | Internet-Draft}.") | ||
| 312 | (license license:expat))) | ||
| 313 | |||
| 276 | (define-public gzip | 314 | (define-public gzip |
| 277 | (package | 315 | (package |
| 278 | (name "gzip") | 316 | (name "gzip") |
