Subject: New package: gallery-dl

From: Bird <[email-masked]>
Date: Thu, 20 Jan 2022 11:48:25 +0000

Hello,

The attached patch adds a new package: gallery-dl in
gnu/packages/video.scm

Thanks!

>From 799d589e6b5d76b4cac6272d22f87603729fb9e1 Mon Sep 17 00:00:00 2001
From: Bird <[email-masked]>
Date: Thu, 20 Jan 2022 11:42:24 +0000
Subject: [PATCH] gnu: gallery-dl: Add a new package. *
 gnu/packages/video.scm(gallery-dl): Add package.

---
 gnu/packages/video.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 461ccbb950..237cb931d0 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2245,6 +2245,31 @@ (define-public smplayer
 the last played position, etc.")
     (license license:gpl2+)))
 
+(define-public gallery-dl
+  (package
+    (name "gallery-dl")
+    (version "1.20.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/mikf/gallery-dl"
+                                  "/releases/download/v"
+                                  version
+                                  "/gallery_dl-"
+                                  version
+                                  ".tar.gz"))
+              (sha256
+               (base32
+                "0qkz8aznvybdqrjxsl6ir319ras05mi8l0sal4mgi18l70jndh51"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-requests))
+    (home-page "https://github.com/mikf/gallery-dl")
+    (synopsis "Command-line program to download images from several sites")
+    (description "Command-line program to download image galleries
+ and collections from several image hosting sites")
+    (license gpl2+)
+    (arguments
+     '(#:tests? #f))))
+
 (define-public gnome-mpv
   (deprecated-package "gnome-mpv" celluloid))

base-commit: 2b6af630d61dd5b16424be55088de2b079e9fbaf
-- 
2.34.0