Commit | Line | Data |
---|---|---|
233e7676 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> | |
da7b042d | 3 | ;;; |
233e7676 | 4 | ;;; This file is part of GNU Guix. |
da7b042d | 5 | ;;; |
233e7676 | 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
da7b042d NK |
7 | ;;; under the terms of the GNU General Public License as published by |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
233e7676 | 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
da7b042d NK |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
233e7676 | 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
da7b042d | 18 | |
1ffa7090 | 19 | (define-module (gnu packages wget) |
4a44e743 | 20 | #:use-module (guix licenses) |
1ffa7090 | 21 | #:use-module ((gnu packages gettext) |
6b345e06 | 22 | #:renamer (symbol-prefix-proc 'guix:)) |
1ffa7090 LC |
23 | #:use-module (gnu packages gnutls) |
24 | #:use-module (gnu packages perl) | |
da7b042d NK |
25 | #:use-module (guix packages) |
26 | #:use-module (guix download) | |
27 | #:use-module (guix build-system gnu)) | |
28 | ||
29 | (define-public wget | |
30 | (package | |
31 | (name "wget") | |
32 | (version "1.14") | |
33 | (source | |
34 | (origin | |
35 | (method url-fetch) | |
36 | (uri (string-append "mirror://gnu/wget/wget-" | |
37 | version ".tar.xz")) | |
38 | (sha256 | |
39 | (base32 | |
40 | "0yqllj3nv9p3vqbdm6j4nvpjcwf1y19rq8sd966nrbd2qvvxfq8p")))) | |
41 | (build-system gnu-build-system) | |
42 | (inputs | |
43 | `(("gnutls" ,gnutls) | |
44 | ("perl" ,perl) | |
6b345e06 | 45 | ("gettext" ,guix:gettext))) |
da7b042d NK |
46 | (arguments |
47 | '(#:phases | |
48 | (alist-cons-before 'build 'patch-/usr/bin/env | |
49 | (lambda _ | |
50 | (for-each patch-shebang | |
51 | '("doc/texi2pod.pl" "tests/run-px"))) | |
52 | %standard-phases))) | |
53 | (home-page "http://www.gnu.org/software/wget/") | |
f50d2669 | 54 | (synopsis "Non-interactive command-line utility for downloading files") |
da7b042d NK |
55 | (description |
56 | "GNU Wget is a free software package for retrieving files using HTTP, | |
57 | HTTPS and FTP, the most widely-used Internet protocols. It is a | |
58 | non-interactive commandline tool, so it may easily be called from | |
59 | scripts, cron jobs, terminals without X-Windows support, etc.") | |
4a44e743 | 60 | (license gpl3+))) ; some files are under GPLv2+ |