mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 10:14:09 +00:00
youtube-dl: remove meta.version
This commit is contained in:
parent
5d482336b9
commit
41a91a5495
@ -10,10 +10,10 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
||||
name = "youtube-dl-${meta.version}";
|
||||
name = "youtube-dl-2016.01.01";
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
@ -24,7 +24,6 @@ buildPythonPackage rec {
|
||||
''wrapProgram $out/bin/youtube-dl --prefix PATH : "${ffmpeg}/bin"'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
version = "2016.01.01";
|
||||
homepage = http://rg3.github.io/youtube-dl/;
|
||||
repositories.git = https://github.com/rg3/youtube-dl.git;
|
||||
description = "Command-line tool to download videos from YouTube.com and other sites";
|
||||
|
Loading…
Reference in New Issue
Block a user