From patchwork Wed Oct 2 10:37:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Diego Nicola Barbato X-Patchwork-Id: 15579 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4AAC41749F; Wed, 2 Oct 2019 11:38:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E56F71749D for ; Wed, 2 Oct 2019 11:38:09 +0100 (BST) Received: from localhost ([::1]:53492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFc1J-00029k-CZ for patchwork@mira.cbaines.net; Wed, 02 Oct 2019 06:38:09 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#37581] [PATCH] gnu: Add ruby-wayback-machine-downloader. Resent-From: Diego Nicola Barbato Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Oct 2019 10:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37581 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37581@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15700126495881 (code B ref -1); Wed, 02 Oct 2019 10:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2019 10:37:29 +0000 Received: from localhost ([127.0.0.1]:35541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFc0c-0001Wk-Bc for submit@debbugs.gnu.org; Wed, 02 Oct 2019 06:37:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:54411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFc0Z-0001Wb-2r for submit@debbugs.gnu.org; Wed, 02 Oct 2019 06:37:25 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1570012637; bh=BFl7SZx9r0k1MJuL+9dASefHQ/GO6+RQxf6g7xk/vik=; h=From:To:Subject:Date:From; b=fXP6iXVhgqaBLGBnxPe7TROg+HvqmDALZ8q46wQx+FVcODa4WUDPD0nImIOh1qNp8 xrCpfg7Q0z9Atok4mGIFb50X0JN5wTdAbtL2PratyZhhmsC8Kmi5tkUU4f8tiPUWFv wVEfXnVruapAXm7wlZLE+KQ9jdp4G9YDKeyilQl2ohDheqE9486J5XxP6HxXEvVV86 5EBfrIYpsUx2jP9j7Au/3pCA6ls49Si2bNkktryAcrBCvSO4M+P2CPsBNusGm43+c6 shD5l67UYZG032hs17JrXT668DmRbsA9R84QriAYPH+nkUql7T9Llkrre8lr6apy5t CYoeDRm8CZ/Hw== 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 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 ;;; Copyright © 2019 Brian Leung ;;; Copyright © 2019 Collin J. Doering +;;; Copyright © 2019 Diego N. Barbato ;;; ;;; 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