From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 1/2] gnu: Add python-pafy. Date: Wed, 2 Nov 2016 14:24:38 +0000 Message-ID: <20161102142439.3523-2-ng0@we.make.ritual.n0.is> References: <87twbqgf80.fsf@we.make.ritual.n0.is> <20161102142439.3523-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1wTA-00050i-KO for guix-devel@gnu.org; Wed, 02 Nov 2016 10:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1wT7-0001lg-Ge for guix-devel@gnu.org; Wed, 02 Nov 2016 10:24:48 -0400 Received: from aibo.runbox.com ([91.220.196.211]:39109) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1wT7-0001lC-9v for guix-devel@gnu.org; Wed, 02 Nov 2016 10:24:45 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1c1wT5-0002Pp-Rf for guix-devel@gnu.org; Wed, 02 Nov 2016 15:24:43 +0100 In-Reply-To: <20161102142439.3523-1-ng0@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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