gnu: Add svtplay-dl.
authorJessica Tallon <tsyesika@tsyesika.se>
Tue, 15 Nov 2022 21:02:33 +0000 (22:02 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 28 Nov 2022 22:34:16 +0000 (23:34 +0100)
* gnu/packages/video.scm (svtplay-dl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/video.scm

index 70a9cd4..297252d 100644 (file)
@@ -5606,3 +5606,27 @@ VCS, by default, makes screenshots the same size as the video, see the manual
 for details on how to change this.")
    (home-page "http://p.outlyer.net/vcs/")
    (license license:lgpl2.1+)))
+
+(define-public svtplay-dl
+  (package
+    (name "svtplay-dl")
+    (version "4.14")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/spaam/svtplay-dl")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1wdrdszalvhv80m5jizbvjz4jc08acmbpxcsslyfb5cwh842in8m"))))
+    (build-system python-build-system)
+    (inputs (list ffmpeg python-pyaml python-requests python-pysocks
+                  python-cryptography))
+    (home-page "https://svtplay-dl.se/")
+    (synopsis "Download or stream SVT Play's (and others) TV programmes")
+    (description
+     "@code{svtplay-dl} allows downloading TV programmes from various Swedish
+broadcasters including SVT Play, Sveriges Radio, TV4 Play, along with many
+others.")
+    (license license:expat)))