gnu: wget2: Reindent package.

* gnu/packages/wget.scm (wget2): Reindent package with 'guix style'.
This commit is contained in:
Efraim Flashner 2022-05-28 22:19:56 +03:00
parent 81803c5eaa
commit 0542905a2c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -134,42 +134,40 @@ (define-public wgetpaste
(define-public wget2 (define-public wget2
(package (package
(name "wget2") (name "wget2")
(version "2.0.1") (version "2.0.1")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (string-append "mirror://gnu/wget/wget2-" version ".tar.gz"))
(uri (string-append "mirror://gnu/wget/wget2-" version ".tar.gz")) (sha256
(sha256 (base32
(base32 "1caxhkwk08z3npzw8x2qhkmjc224cfw1aphvbv8bidbvd41zmdqb"))))
"1caxhkwk08z3npzw8x2qhkmjc224cfw1aphvbv8bidbvd41zmdqb")))) (build-system gnu-build-system)
(build-system gnu-build-system) (arguments
(arguments `(#:phases (modify-phases %standard-phases
`(#:phases (add-after 'unpack 'skip-network-tests
(modify-phases %standard-phases (lambda _
(add-after 'unpack 'skip-network-tests (substitute* "tests/Makefile.in"
(lambda _ (("test-gpg-verify-no-file\\$\\(EXEEXT)") "")
(substitute* "tests/Makefile.in" (("test-gpg-valid\\$\\(EXEEXT)") "")
(("test-gpg-verify-no-file\\$\\(EXEEXT)") "") (("test-gpg-styles\\$\\(EXEEXT)") "")))))
(("test-gpg-valid\\$\\(EXEEXT)") "") #:configure-flags
(("test-gpg-styles\\$\\(EXEEXT)") ""))))) '("--enable-static=no")))
#:configure-flags '("--enable-static=no"))) (inputs (list bzip2
(inputs gnutls/dane
(list bzip2 gpgme
gnutls/dane libidn2
gpgme libmicrohttpd
libidn2 libpsl
libmicrohttpd pcre2
libpsl zlib))
pcre2 ;; TODO: Add libbrotlidec, libnghttp2.
zlib)) (native-inputs (list pkg-config))
;; TODO: Add libbrotlidec, libnghttp2. (home-page "https://gitlab.com/gnuwget/wget2")
(native-inputs (synopsis "Successor of GNU Wget")
(list pkg-config)) (description
(home-page "https://gitlab.com/gnuwget/wget2") "GNU Wget2 is the successor of GNU Wget, a file and recursive website
(synopsis "Successor of GNU Wget") downloader. Designed and written from scratch it wraps around libwget, that
(description "GNU Wget2 is the successor of GNU Wget, a file and recursive provides the basic functions needed by a web client.")
website downloader. Designed and written from scratch it wraps around libwget, (properties '((ftp-directory . "/gnu/wget")))
that provides the basic functions needed by a web client.") (license (list license:gpl3+ license:lgpl3+))))
(properties '((ftp-directory . "/gnu/wget")))
(license (list license:gpl3+ license:lgpl3+))))