about summary refs log tree commit diff
path: root/pkgs/README.md
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2024-04-29 01:41:45 +0200
committerPeder Bergebakken Sundt <pbsds@hotmail.com>2024-05-03 00:47:59 +0200
commit51cd84ba57e5acde737d71919b1728fb309b1296 (patch)
tree63e64a0a4b56fed1f5b9cfbf5e053f42ff6fbc2e /pkgs/README.md
parentfff67afa248fbea5e2f633b09fcfd2bc166f9849 (diff)
pkgs/README.md: add `meta.mainProgram` to new-package checklist template
The document already states that `meta.mainProgram` is mandatory for new packages, this change adds it to the template list of checks during review.
Diffstat (limited to 'pkgs/README.md')
-rw-r--r--pkgs/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/README.md b/pkgs/README.md
index 5439ad913d187..fd958702fb493 100644
--- a/pkgs/README.md
+++ b/pkgs/README.md
@@ -748,6 +748,7 @@ Review process:
   - License must match the upstream license.
   - Platforms should be set (or the package will not get binary substitutes).
   - Maintainers must be set. This can be the package submitter or a community member that accepts taking up maintainership of the package.
+  - The `meta.mainProgram` must be set if a main executable exists.
 - Report detected typos.
 - Ensure the package source:
   - Uses `mirror://` URLs when available.
@@ -769,6 +770,7 @@ Sample template for a new package review is provided below.
 - [ ] `meta.license` fits upstream license
 - [ ] `meta.platforms` is set
 - [ ] `meta.maintainers` is set
+- [ ] `meta.mainProgram` is set, if applicable.
 - [ ] build time only dependencies are declared in `nativeBuildInputs`
 - [ ] source is fetched using the appropriate function
 - [ ] the list of `phases` is not overridden