Merge pull request #12156 from peti/remove-meta-version-attribute-from-manual

doc/meta.xml: don't encourage users to add a meta.version attribute
This commit is contained in:
Peter Simons 2016-01-05 17:43:46 +01:00
commit 5a7116f8ea
2 changed files with 2 additions and 8 deletions

View file

@ -112,11 +112,6 @@ meta-attributes</title>
package.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>version</varname></term>
<listitem><para>Package version.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>branch</varname></term>
<listitem><para>Release branch. Used to specify that a package is not

View file

@ -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";