youtube-dl: update to version 2012.12.11
The new build comes with man page and bash completion installed.
This commit is contained in:
parent
b31e6aa794
commit
60cb018d80
@ -1,31 +1,25 @@
|
|||||||
{stdenv, fetchgit, python}:
|
{ stdenv, fetchurl, python, pandoc }:
|
||||||
|
|
||||||
let pkgname = "youtube-dl";
|
let
|
||||||
pkgver = "2012.09.27";
|
version = "2012.12.11";
|
||||||
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${pkgname}-${pkgver}";
|
name = "youtube-dl-${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
url = "git://github.com/rg3/${pkgname}";
|
url = "https://github.com/downloads/rg3/youtube-dl/youtube-dl.${version}.tar.gz";
|
||||||
rev = "refs/tags/${pkgver}";
|
sha256 = "03zv3z8p0fi122nqj7ff8hkgqscir4s7psm03rq7dfpg1z35klmn";
|
||||||
sha256 = "a98f3339301324ddd6620f7b1353abed807cd8dea5586d6901d7fe69bc6a397c";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [python];
|
buildInputs = [ python pandoc ];
|
||||||
buildPhase = "sed -i 's|#!/usr/bin/env python|#!#{python}/bin/python|' youtube-dl";
|
|
||||||
|
|
||||||
installPhase = ''
|
configurePhase = ''
|
||||||
ensureDir $out/bin
|
makeFlagsArray=( PREFIX=$out SYSCONFDIR=$out/etc )
|
||||||
cp youtube-dl $out/bin
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
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/";
|
||||||
homepage = http://rg3.github.com/youtube-dl/;
|
description = "Command-line tool to download videos from YouTube.com and other sites";
|
||||||
maintainers = [
|
maintainers = [ stdenv.lib.maintainers.bluescreen303 stdenv.lib.maintainers.simons ];
|
||||||
stdenv.lib.maintainers.bluescreen303
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1804,7 +1804,7 @@ let
|
|||||||
|
|
||||||
xvfb_run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; };
|
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 {};
|
zbar = callPackage ../tools/graphics/zbar {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user