youtube-dl: remove meta.version
This commit is contained in:
parent
5d482336b9
commit
41a91a5495
|
@ -10,10 +10,10 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
|
||||||
name = "youtube-dl-${meta.version}";
|
name = "youtube-dl-2016.01.01";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://yt-dl.org/downloads/${meta.version}/${name}.tar.gz";
|
url = "http://yt-dl.org/downloads/${(builtins.parseDrvName name).version}/${name}.tar.gz";
|
||||||
sha256 = "0b0pk8h2iswdiyf65c0zcwcad9dm2hid67fnfafj7d3ikp4kfbvk";
|
sha256 = "0b0pk8h2iswdiyf65c0zcwcad9dm2hid67fnfafj7d3ikp4kfbvk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ buildPythonPackage rec {
|
||||||
''wrapProgram $out/bin/youtube-dl --prefix PATH : "${ffmpeg}/bin"'';
|
''wrapProgram $out/bin/youtube-dl --prefix PATH : "${ffmpeg}/bin"'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
version = "2016.01.01";
|
|
||||||
homepage = http://rg3.github.io/youtube-dl/;
|
homepage = http://rg3.github.io/youtube-dl/;
|
||||||
repositories.git = https://github.com/rg3/youtube-dl.git;
|
repositories.git = https://github.com/rg3/youtube-dl.git;
|
||||||
description = "Command-line tool to download videos from YouTube.com and other sites";
|
description = "Command-line tool to download videos from YouTube.com and other sites";
|
||||||
|
|
Loading…
Reference in a new issue