git.iko.soy/typeable/nixpkgs
on master help sign in
Changelog meta entry (#60371)

meta.changelog: enable, document, add for GNU Hello

commit76e2a964750802a93d9f33692acfe63d1df3035e authorMichael Raskin <7c6f434c@mail.ru> dateFri 10 May 2019, 16:55 (8 years ago) parent11fe4f3
3 files changed+15
doc/meta.xml+13 pkgs/applications/misc/hello/default.nix+1 pkgs/stdenv/generic/check-meta.nix+1
doc/meta.xml+13
@@ -150,6 +150,19 @@ hello-2.3 A program that produces a familiar, friendly greeting
150150 </para>
151151 </listitem>
152152 </varlistentry>
153+ <varlistentry>
154+ <term>
155+ <varname>changelog</varname>
156+ </term>
157+ <listitem>
158+ <para>
159+ A link or a list of links to the location of Changelog for a package.
160+ A link may use expansion to refer to the correct changelog version.
161+ Example:
162+ <literal>"https://git.savannah.gnu.org/cgit/hello.git/plain/NEWS?h=v${version}"</literal>
163+ </para>
164+ </listitem>
165+ </varlistentry>
153166 <varlistentry>
154167 <term>
155168 <varname>license</varname>
pkgs/applications/misc/hello/default.nix+1
@@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
1818 It is fully customizable.
1919 '';
2020 homepage = https://www.gnu.org/software/hello/manual/;
21+ changelog = "https://git.savannah.gnu.org/cgit/hello.git/plain/NEWS?h=v${version}";
2122 license = licenses.gpl3Plus;
2223 maintainers = [ maintainers.eelco ];
2324 platforms = platforms.all;
pkgs/stdenv/generic/check-meta.nix+1
@@ -165,6 +165,7 @@ let
165165 branch = str;
166166 homepage = either (listOf str) str;
167167 downloadPage = str;
168+ changelog = either (listOf str) str;
168169 license = either (listOf lib.types.attrs) (either lib.types.attrs str);
169170 maintainers = listOf (attrsOf str);
170171 priority = int;