Commit | Line | Data |
---|---|---|
233e7676 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> | |
b5d4a811 | 3 | ;;; Copyright © 2014 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 LC |
22 | #:use-module (gnu packages gnutls) |
23 | #:use-module (gnu packages perl) | |
da7b042d NK |
24 | #:use-module (guix packages) |
25 | #:use-module (guix download) | |
26 | #:use-module (guix build-system gnu)) | |
27 | ||
28 | (define-public wget | |
29 | (package | |
30 | (name "wget") | |
b5d4a811 | 31 | (version "1.15") |
da7b042d NK |
32 | (source |
33 | (origin | |
34 | (method url-fetch) | |
35 | (uri (string-append "mirror://gnu/wget/wget-" | |
36 | version ".tar.xz")) | |
37 | (sha256 | |
38 | (base32 | |
b5d4a811 | 39 | "1yw0sk4mrs7bvga3c79rkbhxivmw8cs3b5wq3cglp1f9ai1mz2ni")))) |
da7b042d NK |
40 | (build-system gnu-build-system) |
41 | (inputs | |
b5d4a811 LC |
42 | `(("gnutls" ,gnutls))) |
43 | (native-inputs | |
44 | `(("perl" ,perl))) | |
da7b042d | 45 | (home-page "http://www.gnu.org/software/wget/") |
f50d2669 | 46 | (synopsis "Non-interactive command-line utility for downloading files") |
da7b042d | 47 | (description |
79c311b8 | 48 | "GNU Wget is a non-interactive tool for fetching files using the HTTP, |
a22dc0c4 LC |
49 | HTTPS and FTP protocols. It can resume interrupted downloads, use filename |
50 | wild cards, supports proxies and cookies, and it can convert absolute links | |
51 | in downloaded documents to relative links.") | |
4a44e743 | 52 | (license gpl3+))) ; some files are under GPLv2+ |