Merge pull request #7179 from AndersonTorres/youtubeDL

youtube-dl: update from 2015.03.24 to 2015.04.03
This commit is contained in:
Arseniy Seroka 2015-04-06 00:55:35 +03:00
commit a5d29aaae2

View file

@ -1,18 +1,16 @@
{ stdenv, fetchurl, makeWrapper, python, zip, pandoc, ffmpeg }:
let
version = "2015.03.24";
in
with stdenv.lib;
stdenv.mkDerivation rec {
name = "youtube-dl-${version}";
version = "2015.04.03";
src = fetchurl {
url = "http://youtube-dl.org/downloads/${version}/${name}.tar.gz";
sha256 = "1m462hcgizdp59s9h62hjwhq4vjrgmck23x2bh5jvb9vjpcfqjxv";
sha256 = "0ndzswv6vq5ld5p1ny23sh76cx6acf8yli9gi9r21dm94ida2885";
};
buildInputs = [ python makeWrapper ];
nativeBuildInputs = [ zip pandoc ];
buildInputs = [ python makeWrapper zip pandoc ];
patchPhase = ''
rm youtube-dl
@ -31,9 +29,14 @@ stdenv.mkDerivation rec {
homepage = "http://rg3.github.com/youtube-dl/";
repositories.git = https://github.com/rg3/youtube-dl.git;
description = "Command-line tool to download videos from YouTube.com and other sites";
license = stdenv.lib.licenses.unlicense;
platforms = with stdenv.lib.platforms; linux ++ darwin;
maintainers = with stdenv.lib.maintainers; [ bluescreen303 simons phreedom AndersonTorres fuuzetsu ];
longDescription = ''
youtube-dl is a small, Python-based command-line program
to download videos from YouTube.com and a few more sites.
youtube-dl is released to the public domain, which means
you can modify it, redistribute it or use it however you like.
'';
license = licenses.publicDomain;
platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ bluescreen303 simons phreedom AndersonTorres fuuzetsu ];
};
}