gnu: gettext: Fix non-deterministic msgunfmt behavior.
[jackhill/guix/guix.git] / gnu / packages / wget.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
6b9540bc 3;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
da7b042d 4;;;
233e7676 5;;; This file is part of GNU Guix.
da7b042d 6;;;
233e7676 7;;; GNU Guix is free software; you can redistribute it and/or modify it
da7b042d
NK
8;;; under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 3 of the License, or (at
10;;; your option) any later version.
11;;;
233e7676 12;;; GNU Guix is distributed in the hope that it will be useful, but
da7b042d
NK
13;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;;; GNU General Public License for more details.
16;;;
17;;; You should have received a copy of the GNU General Public License
233e7676 18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
da7b042d 19
1ffa7090 20(define-module (gnu packages wget)
4a44e743 21 #:use-module (guix licenses)
1ffa7090 22 #:use-module (gnu packages gnutls)
fb7bdb43
EB
23 #:use-module (gnu packages libidn)
24 #:use-module (gnu packages python)
1ffa7090 25 #:use-module (gnu packages perl)
fb7bdb43 26 #:use-module (gnu packages web)
6b9540bc 27 #:use-module (gnu packages pkg-config)
da7b042d
NK
28 #:use-module (guix packages)
29 #:use-module (guix download)
30 #:use-module (guix build-system gnu))
31
32(define-public wget
33 (package
34 (name "wget")
1ae8237f 35 (version "1.16.3")
da7b042d
NK
36 (source
37 (origin
38 (method url-fetch)
39 (uri (string-append "mirror://gnu/wget/wget-"
40 version ".tar.xz"))
41 (sha256
42 (base32
1ae8237f 43 "0dzv5xf9qxc2bp4cyifmaghh3h464wbm73xiwcrvckf1ynqbgxv7"))))
da7b042d
NK
44 (build-system gnu-build-system)
45 (inputs
fb7bdb43 46 `(("gnutls" ,gnutls)
edda6db2
EB
47 ("libidn" ,libidn)
48 ("libpsl" ,libpsl)))
b5d4a811 49 (native-inputs
6b9540bc
LC
50 `(("pkg-config" ,pkg-config)
51 ("perl" ,perl)
fb7bdb43
EB
52 ("python" ,python) ;for testenv suite
53 ("perl-http-daemon" ,perl-http-daemon)
54 ("perl-io-socket-ssl" ,perl-io-socket-ssl)))
da7b042d 55 (home-page "http://www.gnu.org/software/wget/")
f50d2669 56 (synopsis "Non-interactive command-line utility for downloading files")
da7b042d 57 (description
79c311b8 58 "GNU Wget is a non-interactive tool for fetching files using the HTTP,
a22dc0c4
LC
59HTTPS and FTP protocols. It can resume interrupted downloads, use filename
60wild cards, supports proxies and cookies, and it can convert absolute links
61in downloaded documents to relative links.")
4a44e743 62 (license gpl3+))) ; some files are under GPLv2+