From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: [PATCH] Add wayback-machine-downloader Date: Fri, 1 Apr 2016 01:05:50 +0100 (BST) Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_29233_1428738798.1459469150986" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1almbA-0003CJ-07 for guix-devel@gnu.org; Thu, 31 Mar 2016 20:06:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1almb5-00069U-Tz for guix-devel@gnu.org; Thu, 31 Mar 2016 20:05:59 -0400 Received: from w1.tutanota.de ([81.3.6.162]:56567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1almb5-00069Q-Jh for guix-devel@gnu.org; Thu, 31 Mar 2016 20:05:55 -0400 Received: from localhost (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id 486D8FA096C for ; Fri, 1 Apr 2016 00:05:53 +0000 (UTC) Received: from w1.tutanota.de ([127.0.0.1]) by localhost (w1.tutanota.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7lmtO0vlnuSI for ; Fri, 1 Apr 2016 00:05:51 +0000 (UTC) Received: from w1.tutanota.de (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id F364AFA7AA8 for ; Fri, 1 Apr 2016 00:05:50 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix Devel ------=_Part_29233_1428738798.1459469150986 Content-Type: multipart/alternative; boundary="----=_Part_29234_274126421.1459469150986" ------=_Part_29234_274126421.1459469150986 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi everyone! This is my first patch, please double check it. It adds a package with a self-explanatory name: wayback-machine-downloader. It still uses the original package name in the command line (wayback_machine_downloader), for compatibility with upstream. I have tested it with Guix on top of Debian. I'd like to thank Ben Woodcroft for answering all the questions I had! :) Vincent ------=_Part_29234_274126421.1459469150986 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi everyone!

This is my first patch, please double check it. It adds a package with a self-explanatory name: wayback-machine-downloader. It still uses the original package name in the command line (wayback_machine_downloader), for compatibility with upstream. I have tested it with Guix on top of Debian.

I'd like to thank Ben Woodcroft for answering all the questions I had! :)

Vincent
------=_Part_29234_274126421.1459469150986-- ------=_Part_29233_1428738798.1459469150986 Content-Type: text/x-patch; charset=us-ascii; name=0001-Add-wayback-machine-downloader.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-Add-wayback-machine-downloader.patch >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 ------=_Part_29233_1428738798.1459469150986--