aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-07-03 22:21:53 +0200
committerLudovic Courtès <ludo@gnu.org>2014-07-03 22:21:53 +0200
commit615215a5357268cc6f40c96d2c9ed09ff58f938a (patch)
tree2cd57108f2a197c0bd9887caea09100d211a6c5d /gnu/packages
parent113daf62709fd3cd7ae1713ee3f5ef8782f88c59 (diff)
downloadpatches-615215a5357268cc6f40c96d2c9ed09ff58f938a.tar
patches-615215a5357268cc6f40c96d2c9ed09ff58f938a.tar.gz
gnu: Add youtube-dl.
* gnu/packages/video.scm (youtube-dl): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/video.scm26
1 files changed, 25 insertions, 1 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ab75e44291..9946b3adcf 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -18,14 +18,17 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages video)
- #:use-module ((guix licenses) #:select (gpl2 gpl2+ bsd-3))
+ #:use-module ((guix licenses)
+ #:select (gpl2 gpl2+ bsd-3 public-domain))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module (gnu packages algebra)
#:use-module (gnu packages avahi)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages zip)
#:use-module (gnu packages elf)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gl)
@@ -401,3 +404,24 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
(description "libvpx is a codec for the VP8/VP9 video compression format.")
(license bsd-3)
(home-page "http://www.webmproject.org/")))
+
+(define-public youtube-dl
+ (package
+ (name "youtube-dl")
+ (version "2014.06.26")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://youtube-dl.org/downloads/"
+ version "/youtube-dl-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0jl90plg9mz4mwich219a58y4npwi33myx0cx44v8pymkqykv5cd"))))
+ (build-system python-build-system)
+ (inputs `(("setuptools" ,python-setuptools)))
+ (home-page "http://youtube-dl.org")
+ (synopsis "Download videos from YouTube.com and other sites")
+ (description
+ "youtube-dl is a small command-line program to download videos from
+YouTube.com and a few more sites.")
+ (license public-domain)))