You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
2.0 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  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. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  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
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages wget)
  19. #:use-module (guix licenses)
  20. #:use-module ((gnu packages gettext)
  21. #:renamer (symbol-prefix-proc 'guix:))
  22. #:use-module (gnu packages gnutls)
  23. #:use-module (gnu packages perl)
  24. #:use-module (guix packages)
  25. #:use-module (guix download)
  26. #:use-module (guix build-system gnu))
  27. (define-public wget
  28. (package
  29. (name "wget")
  30. (version "1.14")
  31. (source
  32. (origin
  33. (method url-fetch)
  34. (uri (string-append "mirror://gnu/wget/wget-"
  35. version ".tar.xz"))
  36. (sha256
  37. (base32
  38. "0yqllj3nv9p3vqbdm6j4nvpjcwf1y19rq8sd966nrbd2qvvxfq8p"))))
  39. (build-system gnu-build-system)
  40. (inputs
  41. `(("gnutls" ,gnutls)
  42. ("perl" ,perl)
  43. ("gettext" ,guix:gettext)))
  44. (home-page "http://www.gnu.org/software/wget/")
  45. (synopsis "Non-interactive command-line utility for downloading files")
  46. (description
  47. "Wget is a non-interactive tool for fetching files using the HTTP,
  48. HTTPS and FTP protocols. It can resume interrupted downloads, use filename
  49. wild cards, supports proxies and cookies, and it can convert absolute links
  50. in downloaded documents to relative links.")
  51. (license gpl3+))) ; some files are under GPLv2+