@@ -1,18 +1,16 @@
11{ stdenv, fetchurl, makeWrapper, python, zip, pandoc, ffmpeg }:
22
3−let
4− version = "2015.03.24";
5−in
3+with stdenv.lib;
64stdenv.mkDerivation rec {
75 name = "youtube-dl-${version}";
6+ version = "2015.04.03";
87
98 src = fetchurl {
109 url = "http://youtube-dl.org/downloads/${version}/${name}.tar.gz";
11− sha256 = "1m462hcgizdp59s9h62hjwhq4vjrgmck23x2bh5jvb9vjpcfqjxv";
10+ sha256 = "0ndzswv6vq5ld5p1ny23sh76cx6acf8yli9gi9r21dm94ida2885";
1211 };
1312
14− buildInputs = [ python makeWrapper ];
15− nativeBuildInputs = [ zip pandoc ];
13+ buildInputs = [ python makeWrapper zip pandoc ];
1614
1715 patchPhase = ''
1816 rm youtube-dl
@@ -31,9 +29,14 @@ stdenv.mkDerivation rec {
3129 homepage = "http://rg3.github.com/youtube-dl/";
3230 repositories.git = https://github.com/rg3/youtube-dl.git;
3331 description = "Command-line tool to download videos from YouTube.com and other sites";
34− license = stdenv.lib.licenses.unlicense;
35−
36− platforms = with stdenv.lib.platforms; linux ++ darwin;
37− maintainers = with stdenv.lib.maintainers; [ bluescreen303 simons phreedom AndersonTorres fuuzetsu ];
32+ longDescription = ''
33+ youtube-dl is a small, Python-based command-line program
34+ to download videos from YouTube.com and a few more sites.
35+ youtube-dl is released to the public domain, which means
36+ you can modify it, redistribute it or use it however you like.
37+ '';
38+ license = licenses.publicDomain;
39+ platforms = with platforms; linux ++ darwin;
40+ maintainers = with maintainers; [ bluescreen303 simons phreedom AndersonTorres fuuzetsu ];
3841 };
3942}