youtube-dl: update from 2015.03.24 to 2015.04.03

This commit is contained in:
AndersonTorres 2015-04-04 13:59:14 -03:00
parent 4a84a9f4c0
commit 835a0e1540

View File

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