GNU bug report logs - #55575
[PATCH] gnu: Add archivebox.

Previous Next

Package: guix-patches;

Reported by: Pradana Adrinusa AUMARS <paumars <at> courrier.dev>

Date: Sun, 22 May 2022 13:31:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55575 in the body.
You can then email your comments to 55575 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#55575; Package guix-patches. (Sun, 22 May 2022 13:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pradana Adrinusa AUMARS <paumars <at> courrier.dev>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 22 May 2022 13:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pradana Adrinusa AUMARS <paumars <at> courrier.dev>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add archivebox.
Date: Sun, 22 May 2022 15:30:10 +0200
From 597e0ee3e2073cc3bbf2a8a997fcbeef750b9f98 Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <paumars <at> courrier.dev>
Date: Sun, 22 May 2022 15:27:02 +0200
Subject: [PATCH] gnu: Add archivebox.

* gnu/packages/web.scm (archivebox): New variable.
---
 gnu/packages/web.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 600ef0c895..72b78b4d43 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -56,6 +56,7 @@
 ;;; Copyright © 2021 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
 ;;; Copyright © 2021 Vinicius Monego <monego <at> posteo.net>
 ;;; Copyright © 2022 cage <cage-dev <at> twistfold.it>
+;;; Copyright © 2022 Pradana Aumars <paumars <at> courrier.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -112,6 +113,7 @@ (define-module (gnu packages web)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cyrus-sasl)
   #:use-module (gnu packages databases)
+  #:use-module (gnu packages django)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages emacs)
@@ -154,6 +156,7 @@ (define-module (gnu packages web)
   #:use-module (gnu packages markup)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages networking)
+  #:use-module (gnu packages node)
   #:use-module (gnu packages nss)
   #:use-module (gnu packages openldap)
   #:use-module (gnu packages openstack)
@@ -162,6 +165,8 @@ (define-module (gnu packages web)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
@@ -177,7 +182,9 @@ (define-module (gnu packages web)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages valgrind)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages video)
   #:use-module (gnu packages vim)
+  #:use-module (gnu packages wget)
   #:use-module (gnu packages xml)
   #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
 
@@ -8218,3 +8225,40 @@ (define-public quark
       ;; "cpe:2.3:a:comelz:quark" package.  The proper fix is for (guix cve)
       ;; to account for "vendor names".
       (properties '((lint-hidden-cve . ("CVE-2019-15520")))))))
+
+(define-public archivebox
+  (package
+   (name "archivebox")
+   (version "0.6.2")
+   (source (origin
+            (method url-fetch)
+            (uri (pypi-uri name version))
+            (sha256
+             (base32
+              "1mnq82ynq01l7vx957bbx4bvgwdh59qsnx6pdydaqszbakp74yyc"))))
+   (build-system python-build-system)
+   (propagated-inputs
+    (list curl
+          node))
+   (inputs
+    (list python
+          youtube-dl
+          wget
+          git
+          python-w3lib
+          python-ipython
+          python-croniter
+          python-crontab
+          python-dateparser
+          python-django-extensions
+          python-django-3.1.14
+          python-mypy-extensions))
+   (native-inputs
+    (list python-wheel))
+   (synopsis "Open source self-hosted web archiving")
+   (description "ArchiveBox is a powerful, self-hosted internet archiving
+solution to collect, save, and view sites you want to preserve offline.
+You can feed it URLs one at a time, or schedule regular imports.  It saves
+snapshots of the URLs you feed it in several formats.")
+   (home-page "https://archivebox.io/")
+   (license license:expat)))
-- 
2.36.0






Information forwarded to guix-patches <at> gnu.org:
bug#55575; Package guix-patches. (Sun, 22 May 2022 13:35:02 GMT) Full text and rfc822 format available.

Message #8 received at 55575 <at> debbugs.gnu.org (full text, mbox):

From: Pradana Adrinusa AUMARS <paumars <at> courrier.dev>
To: 55575 <at> debbugs.gnu.org
Date: Sun, 22 May 2022 15:33:58 +0200
This patch requires python-django-3.1.14, which is added in patch
bug#54187, so the latter would need to be admitted in first.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 23 May 2022 14:24:01 GMT) Full text and rfc822 format available.

Notification sent to Pradana Adrinusa AUMARS <paumars <at> courrier.dev>:
bug acknowledged by developer. (Mon, 23 May 2022 14:24:01 GMT) Full text and rfc822 format available.

Message #13 received at 55575-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Pradana Adrinusa AUMARS <paumars <at> courrier.dev>
Cc: 55575-done <at> debbugs.gnu.org
Subject: Re: bug#55575: [PATCH] gnu: Add archivebox.
Date: Mon, 23 May 2022 16:23:38 +0200
Hi,

Pradana Adrinusa AUMARS <paumars <at> courrier.dev> skribis:

>>From 597e0ee3e2073cc3bbf2a8a997fcbeef750b9f98 Mon Sep 17 00:00:00 2001
> From: Pradana AUMARS <paumars <at> courrier.dev>
> Date: Sun, 22 May 2022 15:27:02 +0200
> Subject: [PATCH] gnu: Add archivebox.
>
> * gnu/packages/web.scm (archivebox): New variable.

[...]

> +   (synopsis "Open source self-hosted web archiving")

I removed “Open source” (everything is free software in Guix, no need to
be explicit) and applied it.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 21 Jun 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.