Skip to content

Commit

Permalink
meta: introduce releaseNews meta-attribute
Browse files Browse the repository at this point in the history
Handy for maintainers, but can be used in future by proactive
automated package update detectors.

While here, replaced http:// -> https:// in doc/meta.nix
  • Loading branch information
danbst committed May 29, 2018
1 parent d798427 commit 5ae8361
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
20 changes: 15 additions & 5 deletions doc/meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ meta = with stdenv.lib; {
GNU Hello is a program that prints "Hello, world!" when you run it.
It is fully customizable.
'';
homepage = http://www.gnu.org/software/hello/manual/;
homepage = https://www.gnu.org/software/hello/manual/;
license = licenses.gpl3Plus;
maintainers = [ maintainers.eelco ];
platforms = platforms.all;
Expand All @@ -35,11 +35,11 @@ $ nix-env -qa hello --json
"hello": {
"meta": {
"description": "A program that produces a familiar, friendly greeting",
"homepage": "http://www.gnu.org/software/hello/manual/",
"homepage": "https://www.gnu.org/software/hello/manual/",
"license": {
"fullName": "GNU General Public License version 3 or later",
"shortName": "GPLv3+",
"url": "http://www.fsf.org/licensing/licenses/gpl.html"
"url": "https://www.fsf.org/licensing/licenses/gpl.html"
},
"longDescription": "GNU Hello is a program that prints \"Hello, world!\" when you run it.\nIt is fully customizable.\n",
"maintainers": [
Expand Down Expand Up @@ -131,7 +131,7 @@ hello-2.3 A program that produces a familiar, friendly greeting
<listitem>
<para>
The package’s homepage. Example:
<literal>http://www.gnu.org/software/hello/manual/</literal>
<literal>https://www.gnu.org/software/hello/</literal>
</para>
</listitem>
</varlistentry>
Expand All @@ -141,7 +141,17 @@ hello-2.3 A program that produces a familiar, friendly greeting
<listitem>
<para>
The page where a link to the current version can be found. Example:
<literal>http://ftp.gnu.org/gnu/hello/</literal>
<literal>https://ftp.gnu.org/gnu/hello/</literal>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>releaseNews</varname>
</term>
<listitem>
<para>
The package’s release news page. May be a link to RSS news feed. Example:
<literal>https://savannah.gnu.org/news/atom.php?group=hello</literal>
</para>
</listitem>
</varlistentry>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ in stdenv.mkDerivation {

meta = {
homepage = https://zoom.us/;
releaseNews = "https://support.zoom.us/hc/en-us/articles/205759689-New-Updates-for-Linux";
description = "zoom.us video conferencing application";
license = stdenv.lib.licenses.unfree;
platforms = builtins.attrNames srcs;
Expand Down
1 change: 1 addition & 0 deletions pkgs/stdenv/generic/check-meta.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ let
platforms = listOf (either str lib.systems.parsedPlatform.types.system);
hydraPlatforms = listOf str;
broken = bool;
releaseNews = str;

# Weirder stuff that doesn't appear in the documentation?
knownVulnerabilities = listOf str;
Expand Down

0 comments on commit 5ae8361

Please sign in to comment.