gnu: wget2: Use G-expressions.

* gnu/packages/wget.scm (wget2): Use G-expressions.

Change-Id: I8fbb5bab0746c5c98d2513fb31936ba56a8b7049
This commit is contained in:
Zheng Junjie 2024-11-29 17:14:53 +08:00
parent adfda4a075
commit db8a0b480a
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -24,6 +24,7 @@
(define-module (gnu packages wget)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix gexp)
#:use-module (gnu packages)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression)
@ -137,7 +138,7 @@ (define-public wget2
"0mykji96ap5acdh416x1d7c3h657mj6iy7zlllyd69pvny2rqfrb"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(list #:phases #~(modify-phases %standard-phases
(add-after 'unpack 'skip-network-tests
(lambda _
(substitute* "tests/Makefile.in"
@ -145,7 +146,7 @@ (define-public wget2
(("test-gpg-valid\\$\\(EXEEXT)") "")
(("test-gpg-styles\\$\\(EXEEXT)") "")))))
#:configure-flags
'("--enable-static=no"
#~(list "--enable-static=no"
"--with-bzip2=yes"
"--with-lzma=yes")))
(inputs (list brotli