diff --git a/doc/redirects.json b/doc/redirects.json index 41d1f5a9a3e9..b8c6eb6367db 100644 --- a/doc/redirects.json +++ b/doc/redirects.json @@ -926,6 +926,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 a88683ed37b7..beac596c2e02 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 62b2abdf5b2f..ac5ff3c0a6f1 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)