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:
commit
5a7116f8ea
@ -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
|
||||
|
@ -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