gnu: wget2: Add more support libraries.

* gnu/packages/wget.scm (wget2)[inputs]: Add brotli, nghttp2:lib, xz,
zstd:lib. Update TODO comment.
[arguments]: Adjust configure-flags to add support for bzip2, lzma
compression.
This commit is contained in:
Efraim Flashner 2023-09-03 11:19:16 +03:00
parent 98fe926db7
commit 9d2e632377
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017, 2019-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
@ -152,16 +152,22 @@ (define-public wget2
(("test-gpg-valid\\$\\(EXEEXT)") "")
(("test-gpg-styles\\$\\(EXEEXT)") "")))))
#:configure-flags
'("--enable-static=no")))
(inputs (list bzip2
'("--enable-static=no"
"--with-bzip2=yes"
"--with-lzma=yes")))
(inputs (list brotli
bzip2
gnutls/dane
gpgme
libidn2
libmicrohttpd
libpsl
`(,nghttp2 "lib")
pcre2
zlib))
;; TODO: Add libbrotlidec, libnghttp2.
xz
zlib
`(,zstd "lib")))
;; TODO: Add libhsts.
(native-inputs (list pkg-config))
(home-page "https://gitlab.com/gnuwget/wget2")
(synopsis "Successor of GNU Wget")