>From a43ed2194a17d8e97b4f0cd41d0bc0b4873dcb42 Mon Sep 17 00:00:00 2001 From: Vincent Cloutier Date: Thu, 31 Mar 2016 20:02:56 -0400 Subject: [PATCH] Add wayback-machine-downloader --- gnu/packages/web.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 516e623..cc65dc9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -35,12 +35,14 @@ #:use-module (guix build-system perl) #:use-module (guix build-system cmake) #:use-module (guix build-system r) + #:use-module (guix build-system ruby) #:use-module (gnu packages) #:use-module (gnu packages apr) #:use-module (gnu packages asciidoc) #:use-module (gnu packages docbook) #:use-module (gnu packages autotools) #:use-module (gnu packages compression) + #:use-module (gnu packages ruby) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages databases) #:use-module (gnu packages mit-krb5) @@ -3109,3 +3111,33 @@ callback or connection interfaces.") "Gumbo is an implementation of the HTML5 parsing algorithm implemented as a pure C99 library.") (license l:asl2.0))) + + + (define-public wayback-machine-downloader + (package + (name "wayback-machine-downloader") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hartator/wayback-machine-downloader.git") + (commit "7000035a304"))) + (sha256 + (base32 + "0p8q0qpfq6b9akapypyxyvdj12kyz3xw3c2fpg4nxrzq0f7lq6dl")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f )) ; no test, tests need to access archive.org + (native-inputs + `(("ruby-rake-compiler" ,ruby-rake-compiler))) + (synopsis "Download websites from archive.org's Wayback Machine") + (description + "Download any website from the Wayback Machine from the command line. +Wayback Machine by Internet Archive (archive.org) is an awesome tool to view +any website at any point of time but lacks an export feature. Wayback Machine +Downloader brings exactly this.") + (home-page + "https://github.com/hartator/wayback-machine-downloader") + (license l:expat))) + -- 2.6.3