diff --git a/doc/redirects.json b/doc/redirects.json index d06728e02abd..aa3fab88f28a 100644 --- a/doc/redirects.json +++ b/doc/redirects.json @@ -899,6 +899,9 @@ "var-go-buildTestBinaries": [ "index.html#var-go-buildTestBinaries" ], + "var-meta-donationPage": [ + "index.html#var-meta-donationPage" + ], "var-meta-identifiers-cpe": [ "index.html#var-meta-identifiers-cpe" ], diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md index 1fac5244af66..eb0d4f3c2cc2 100644 --- a/doc/stdenv/meta.chapter.md +++ b/doc/stdenv/meta.chapter.md @@ -61,6 +61,12 @@ Release branch. Used to specify that a package is not going to receive updates t The package’s homepage. Example: `https://www.gnu.org/software/hello/manual/` +### `donationPage` {#var-meta-donationPage} + +The package or project's donation page, if it exists. Example: `https://neovim.io/sponsors/` + +Authoritative project URLs are preferred. + ### `downloadPage` {#var-meta-downloadPage} The page where a link to the current version can be found. Example: `https://ftp.gnu.org/gnu/hello/` diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index 91e40c365127..17be55522861 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -329,6 +329,7 @@ let (listOf str) str ]; + donationPage = str; downloadPage = str; changelog = union [ (listOf str)