From 9ce157feeb529e2bfaa82a357288311093dfa2c4 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 5 Apr 2019 14:12:48 +0200 Subject: [PATCH] gnu: Add httrack. * gnu/packages/web.scm (httrack): New variable. --- gnu/packages/web.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index e84b42358c..c19e49b5f5 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2018 Gábor Boskovits ;;; Copyright © 2018 Mădălin Ionel Patrașcu ;;; Copyright © 2018 Alex Vong +;;; Copyright © 2019 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -6430,3 +6431,35 @@ compressed JSON header blocks. provided by Guix. The list of packages is searchable and provides instructions on how to use Guix in a shared HPC environment.") (license l:agpl3+)))) + +(define-public httrack + (package + (name "httrack") + (version "3.48.21") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xroche/httrack.git") + (commit version) + (recursive? #t))) ;for "coucal" submodule + (file-name (git-file-name name version)) + (sha256 + (base32 + "0cn4h7bzvp2mf5id229cgb101cqmwycc1nkd1n91c69akzivdhl2")))) + (build-system gnu-build-system) + (inputs + `(("libressl" ,libressl) + ("zlib" ,zlib))) + (home-page "https://www.httrack.com/") + (synopsis "Easy-to-use offline browser utility") + (description "HTTrack allows you to download a World Wide Web site from +the Internet to a local directory, building recursively all directories, +getting HTML, images, and other files from the server to your computer. + +HTTrack arranges the original site's relative link-structure. Simply open +a page of the ``mirrored'' website in your browser, and you can browse the +site from link to link, as if you were viewing it online. HTTrack can also +update an existing mirrored site, and resume interrupted downloads. + +HTTrack is fully configurable, and has an integrated help system.") + (license license:gpl3+))) -- 2.21.0