summary refs log tree commit diff
path: root/pkgs/tools/misc/youtube-dl
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2015-04-04 13:59:14 -0300
committerAndersonTorres <torres.anderson.85@gmail.com>2015-04-05 18:22:23 -0300
commit835a0e154022dfc6d64930ea6c300a6b3338685e (patch)
treee19053d1f511db9341eb892c2e04a6d9ef2f24e0 /pkgs/tools/misc/youtube-dl
parent4a84a9f4c0f6945cce01c75670cd8145efdea255 (diff)
downloadnixlib-835a0e154022dfc6d64930ea6c300a6b3338685e.tar
nixlib-835a0e154022dfc6d64930ea6c300a6b3338685e.tar.gz
nixlib-835a0e154022dfc6d64930ea6c300a6b3338685e.tar.bz2
nixlib-835a0e154022dfc6d64930ea6c300a6b3338685e.tar.lz
nixlib-835a0e154022dfc6d64930ea6c300a6b3338685e.tar.xz
nixlib-835a0e154022dfc6d64930ea6c300a6b3338685e.tar.zst
nixlib-835a0e154022dfc6d64930ea6c300a6b3338685e.zip
youtube-dl: update from 2015.03.24 to 2015.04.03
Diffstat (limited to 'pkgs/tools/misc/youtube-dl')
-rw-r--r--pkgs/tools/misc/youtube-dl/default.nix23
1 files changed, 13 insertions, 10 deletions
diff --git a/pkgs/tools/misc/youtube-dl/default.nix b/pkgs/tools/misc/youtube-dl/default.nix
index d6d8fa084be1..60d31fec8c3d 100644
--- a/pkgs/tools/misc/youtube-dl/default.nix
+++ b/pkgs/tools/misc/youtube-dl/default.nix
@@ -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 ];
   };
 }