mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
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:
parent
fff67afa24
commit
51cd84ba57
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user