From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56925) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFc1D-00029c-K9 for guix-patches@gnu.org; Wed, 02 Oct 2019 06:38:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFc1C-0003Jm-DK for guix-patches@gnu.org; Wed, 02 Oct 2019 06:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFc1C-0003Jc-9X for guix-patches@gnu.org; Wed, 02 Oct 2019 06:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFc1C-0001Xc-4p for guix-patches@gnu.org; Wed, 02 Oct 2019 06:38:02 -0400 Subject: [bug#37581] [PATCH] gnu: Add ruby-wayback-machine-downloader. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:56843) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFc0X-0001tc-EV for guix-patches@gnu.org; Wed, 02 Oct 2019 06:37:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFc0W-0002ga-3W for guix-patches@gnu.org; Wed, 02 Oct 2019 06:37:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58697) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iFc0V-0002eV-IU for guix-patches@gnu.org; Wed, 02 Oct 2019 06:37:20 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 85A8A2400E5 for ; Wed, 2 Oct 2019 12:37:17 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46jsyh0cQtz9rxT for ; Wed, 2 Oct 2019 12:37:15 +0200 (CEST) From: Diego Nicola Barbato Date: Wed, 02 Oct 2019 12:37:15 +0200 Message-ID: <878sq3wi04.fsf@GlaDOS.home> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37581@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello Guix, The following patch adds a Ruby program for downloading archived websites from archive.org. The gem contains no tests and while there are tests on the github repository, those do require network access. That's why I left the source as returned by the importer. Regards, Diego --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-ruby-wayback-machine-downloader.patch Content-Transfer-Encoding: quoted-printable >From 1f28318ef8e7c11ff15f09778420567b7dc80e49 Mon Sep 17 00:00:00 2001 From: Diego Nicola Barbato Date: Tue, 1 Oct 2019 16:06:57 +0200 Subject: [PATCH] gnu: Add ruby-wayback-machine-downloader. * gnu/packages/ruby.scm (ruby-wayback-machine-downloader): New variable. --- gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a886a1cdd2..86143277b1 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -18,6 +18,7 @@ ;;; Copyright =C2=A9 2019 Jelle Licht ;;; Copyright =C2=A9 2019 Brian Leung ;;; Copyright =C2=A9 2019 Collin J. Doering +;;; Copyright =C2=A9 2019 Diego N. Barbato ;;; ;;; This file is part of GNU Guix. ;;; @@ -8954,3 +8955,29 @@ programming: intellisense, diagnostics, inline docum= entation, and type checking.") (home-page "https://solargraph.org/") (license license:expat))) + +(define-public ruby-wayback-machine-downloader + (package + (name "ruby-wayback-machine-downloader") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri + "wayback_machine_downloader" + version)) + (sha256 + (base32 + "12kb1qmvmmsaihqab1prn6cmynkn6cgb4vf41mgv22wkcgv5wgk2")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) ; no tests + (synopsis "Download archived websites from the Wayback Machine") + (description + "Wayback Machine Downloader is a command line tool for downloading +websites from the Internet Archive's Wayback Machine (archive.org). +It allows fine grained control over what to download by specifying +which snapshots to consider and what files to include.") + (home-page + "https://github.com/hartator/wayback-machine-downloader") + (license license:expat))) --=20 2.23.0 --=-=-=--