mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
youtube-dl: upgrade to 2013.06.21
This commit is contained in:
parent
ab3c2b4678
commit
e387731b82
@ -1,27 +1,25 @@
|
||||
{ stdenv, fetchurl, python, pandoc, zip }:
|
||||
{ stdenv, fetchurl, python, zip }:
|
||||
|
||||
let
|
||||
version = "2012.12.11";
|
||||
version = "2013.06.21";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "youtube-dl-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/downloads/rg3/youtube-dl/youtube-dl.${version}.tar.gz";
|
||||
sha256 = "03zv3z8p0fi122nqj7ff8hkgqscir4s7psm03rq7dfpg1z35klmn";
|
||||
url = "http://youtube-dl.org/downloads/${version}/${name}.tar.gz";
|
||||
sha256 = "3d4e9cc38af3c2fccfafd83d0c6382080531fd03e9067ceccc6864dfbea92b1e";
|
||||
};
|
||||
|
||||
buildInputs = [ python ];
|
||||
nativeBuildInputs = [ zip ] ++
|
||||
stdenv.lib.optional (stdenv.isi686 || stdenv.isx86_64) pandoc;
|
||||
nativeBuildInputs = [ zip ];
|
||||
|
||||
patchPhase = ''
|
||||
rm youtube-dl
|
||||
substituteInPlace Makefile --replace "#!/usr/bin/env python" "#!${python}/bin/python"
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
makeFlagsArray=( PREFIX=$out SYSCONFDIR=$out/etc )
|
||||
makeFlagsArray=( PREFIX=$out SYSCONFDIR=$out/etc PYTHON=${python}/bin/python )
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -1989,7 +1989,7 @@ let
|
||||
|
||||
xvfb_run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; };
|
||||
|
||||
youtubeDL = callPackage ../tools/misc/youtube-dl { inherit (haskellPackages) pandoc; };
|
||||
youtubeDL = callPackage ../tools/misc/youtube-dl { };
|
||||
|
||||
zbar = callPackage ../tools/graphics/zbar {
|
||||
pygtk = lib.overrideDerivation pygtk (x: {
|
||||
|
Loading…
Reference in New Issue
Block a user