youtube-dl: update to version 2012.12.11

The new build comes with man page and bash completion installed.
This commit is contained in:
Peter Simons 2012-12-27 20:37:04 +01:00
parent b31e6aa794
commit 60cb018d80
2 changed files with 14 additions and 20 deletions

@ -1,31 +1,25 @@
{stdenv, fetchgit, python}:
{ stdenv, fetchurl, python, pandoc }:
let pkgname = "youtube-dl";
pkgver = "2012.09.27";
let
version = "2012.12.11";
in
stdenv.mkDerivation {
name = "${pkgname}-${pkgver}";
name = "youtube-dl-${version}";
src = fetchgit {
url = "git://github.com/rg3/${pkgname}";
rev = "refs/tags/${pkgver}";
sha256 = "a98f3339301324ddd6620f7b1353abed807cd8dea5586d6901d7fe69bc6a397c";
src = fetchurl {
url = "https://github.com/downloads/rg3/youtube-dl/youtube-dl.${version}.tar.gz";
sha256 = "03zv3z8p0fi122nqj7ff8hkgqscir4s7psm03rq7dfpg1z35klmn";
};
buildInputs = [python];
buildPhase = "sed -i 's|#!/usr/bin/env python|#!#{python}/bin/python|' youtube-dl";
buildInputs = [ python pandoc ];
installPhase = ''
ensureDir $out/bin
cp youtube-dl $out/bin
configurePhase = ''
makeFlagsArray=( PREFIX=$out SYSCONFDIR=$out/etc )
'';
meta = {
description = "A small command-line program to download videos from YouTube.com and a few more sites";
homepage = http://rg3.github.com/youtube-dl/;
maintainers = [
stdenv.lib.maintainers.bluescreen303
];
homepage = "http://rg3.github.com/youtube-dl/";
description = "Command-line tool to download videos from YouTube.com and other sites";
maintainers = [ stdenv.lib.maintainers.bluescreen303 stdenv.lib.maintainers.simons ];
};
}

@ -1804,7 +1804,7 @@ let
xvfb_run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; };
youtubeDL = callPackage ../tools/misc/youtube-dl { };
youtubeDL = callPackage ../tools/misc/youtube-dl { inherit (haskellPackages) pandoc; };
zbar = callPackage ../tools/graphics/zbar {};