unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: [PATCH 2/2] gnu: Add mps-youtube.
Date: Fri,  4 Nov 2016 19:23:02 +0000	[thread overview]
Message-ID: <20161104192302.19335-3-ng0@we.make.ritual.n0.is> (raw)
In-Reply-To: <20161104192302.19335-1-ng0@we.make.ritual.n0.is>

* gnu/packages/video.scm (mps-youtube): New variable.
---
 gnu/packages/video.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6ce03f7..50dcb5d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
 ;;; Copyright © 2016 Dmitry Nikolaev <cameltheman@gmail.com>
 ;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
+;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1683,3 +1684,35 @@ specifications.")
     (description "libaacs is a library which implements the Advanced Access
 Content System specification.")
     (license license:lgpl2.1+)))
+
+(define-public mps-youtube
+  (package
+    (name "mps-youtube")
+    (version "0.2.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/mps-youtube/mps-youtube/"
+                           "archive/v" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1s7h35yx6f0szf8mm8612ic913w3v05m2kwphjfcxnpq0ammhyci"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pafy" ,python-pafy)
+       ("python-pygobject" ,python-pygobject))) ; For mpris2 support
+    ;; These are runtime requirements.
+    (inputs
+     `(("mpv" ,mpv)
+       ("ffmpeg" ,ffmpeg))) ; For the convertion feature
+    (home-page "http://github.com/np1/mps-youtube")
+    (synopsis "Terminal based YouTube player and downloader")
+    (description
+     "@code{mps-youtube} is based on mps, a terminal based program to
+search, stream and download music.  This implementation uses YouTube as
+a source of content and can play and download video as well as audio.
+It can use either mpv or mplayer for playback, and for conversion of
+formats ffmpeg or libav is used.  The choice is up to users which one
+they like to go with.")
+    (license license:gpl3)))
-- 
2.10.2

  parent reply	other threads:[~2016-11-04 19:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 10:40 [PATCH] mps-youtube ng0
2016-11-02 10:40 ` [PATCH 1/2] gnu: Add python-pafy ng0
2016-11-02 17:27   ` Hartmut Goebel
2016-11-04 18:18     ` ng0
2016-11-04 18:41       ` Hartmut Goebel
2016-11-04 18:52         ` ng0
2016-11-04 19:23           ` [PATCH] mps-youtube, revision 3 ng0
2016-11-04 19:23             ` [PATCH 1/2] gnu: Add python-pafy ng0
2016-11-04 19:23             ` ng0 [this message]
2016-11-04 19:42             ` [PATCH] mps-youtube, revision 3 Hartmut Goebel
2016-11-05 12:33               ` Marius Bakke
2016-11-05 12:49                 ` ng0
2016-11-02 10:40 ` [PATCH 2/2] gnu: Add mps-youtube ng0
2016-11-02 12:34 ` [PATCH] mps-youtube Marius Bakke
2016-11-02 13:53   ` ng0
2016-11-02 14:20     ` Marius Bakke
2016-11-02 14:24     ` [PATCH] mps-youtube, revision 2 ng0
2016-11-02 14:24       ` [PATCH 1/2] gnu: Add python-pafy ng0
2016-11-02 14:24       ` [PATCH 2/2] gnu: Add mps-youtube ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161104192302.19335-3-ng0@we.make.ritual.n0.is \
    --to=ng0@we.make.ritual.n0.is \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).