guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26399: gnu: add you-get


From: Feng Shu
Subject: bug#26399: gnu: add you-get
Date: Sat, 08 Apr 2017 18:48:47 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

>From d5660ea2faac735376572dd93fba8bdbb95ee632 Mon Sep 17 00:00:00 2001
From: Feng Shu <address@hidden>
Date: Fri, 7 Apr 2017 21:18:55 +0800
Subject: [PATCH] gnu: add you-get

* gnu/packages/video.scm (you-get): New variable.
---
 gnu/packages/video.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 4f005f594..c599991b8 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2016, 2017 ng0 <address@hidden>
 ;;; Copyright © 2016 Eric Bavier <address@hidden>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
+;;; Copyright © 2017 Feng Shu <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1023,6 +1024,32 @@ YouTube.com and a few more sites.")
     (home-page "https://yt-dl.org";)
     (license license:public-domain)))
 
+(define-public you-get
+  (package
+    (name "you-get")
+    (version "0.4.652")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/soimort/you-get/releases/download/v";
+                    version "/you-get-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0brkz98lycx8mmxjwmn7jlhqfdbvl0hy070n7skwr1k75kh99q30"))))
+    (build-system python-build-system)
+    (arguments
+     ;; no tests
+     '(#:tests? #f))
+    (inputs
+     `(("ffmpeg" ,ffmpeg)))
+    (synopsis "Download videos, audios or images from the websites")
+    (description
+     "You-Get is a tiny command-line utility to download media contents
+(videos, audios, images) from the Web. It can use either mpv or vlc for
+playback.")
+    (home-page "https://you-get.org/";)
+    (license license:expat)))
+
 (define-public libbluray
   (package
     (name "libbluray")
-- 
2.12.2

-- 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]