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.
This commit is contained in:
Peder Bergebakken Sundt 2024-04-29 01:41:45 +02:00
parent fff67afa24
commit 51cd84ba57

View File

@ -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