all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: [PATCH 1/2] gnu: Add python-pafy.
Date: Wed,  2 Nov 2016 14:24:38 +0000	[thread overview]
Message-ID: <20161102142439.3523-2-ng0@we.make.ritual.n0.is> (raw)
In-Reply-To: <20161102142439.3523-1-ng0@we.make.ritual.n0.is>

* gnu/packages/python.scm (python-pafy): New variable.
---
 gnu/packages/python.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b7c9e11..32caf20 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -86,6 +86,7 @@
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages video)
   #:use-module (gnu packages web)
   #:use-module (gnu packages base)
   #:use-module (gnu packages xml)
@@ -1583,6 +1584,26 @@ standard library.")
      `(#:python ,python-2
        #:tests? #f)))) ; no setup.py test command
 
+(define-public python-pafy
+  (package
+    (name "python-pafy")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pafy" version))
+       (sha256
+        (base32
+         "1ckvrypyvb7jbqlgwdz0y337ajagjv7dgxyns326nqwypn1wpq0i"))))
+    (build-system python-build-system)
+    (inputs
+     `(("youtube-dl" ,youtube-dl)))
+    (home-page "http://np1.github.io/pafy/")
+    (synopsis "Retrieve YouTube content and metadata")
+    (description
+     "@code{pafy} is a python library to retrieve YouTube content and metadata.")
+    (license license:lgpl3)))
+
 (define-public python-py
   (package
     (name "python-py")
-- 
2.10.1

  reply	other threads:[~2016-11-02 14:24 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             ` [PATCH 2/2] gnu: Add mps-youtube ng0
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       ` ng0 [this message]
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

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

  git send-email \
    --in-reply-to=20161102142439.3523-2-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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.