Subject: bug#37581: closed (Re: [bug#37581] [PATCH] gnu: Add ruby-wayback-machine-downloader.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 25 Oct 2019 10:36:02 +0000

Your bug report

#37581: [PATCH] gnu: Add ruby-wayback-machine-downloader.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
37581: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37581
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#37581] [PATCH] gnu: Add ruby-wayback-machine-downloader.
From: Ludovic Courtès <[email-masked]>
To: Diego Nicola Barbato <[email-masked]>
Cc: [email-masked]
Date: Fri, 25 Oct 2019 12:35:41 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Diego,

Diego Nicola Barbato <[email-masked]> skribis:

> 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.

OK.

>>>From 1f28318ef8e7c11ff15f09778420567b7dc80e49 Mon Sep 17 00:00:00 2001
> From: Diego Nicola Barbato <[email-masked]>
> 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.

Applied.  Thank you, and sorry for the delay!

Ludo’.

Subject: [PATCH] gnu: Add ruby-wayback-machine-downloader.
From: Diego Nicola Barbato <[email-masked]>
To: [email-masked]
Date: Wed, 02 Oct 2019 12:37:15 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

>From 1f28318ef8e7c11ff15f09778420567b7dc80e49 Mon Sep 17 00:00:00 2001
From: Diego Nicola Barbato <[email-masked]>
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 © 2019 Jelle Licht <[email-masked]>
 ;;; Copyright © 2019 Brian Leung <[email-masked]>
 ;;; Copyright © 2019 Collin J. Doering <[email-masked]>
+;;; Copyright © 2019 Diego N. Barbato <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -8954,3 +8955,29 @@ programming: intellisense, diagnostics, inline documentation, 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)))
-- 
2.23.0