mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
At the scale of Nixpkgs, actively maintaining a package is only possible with integration into CI. To be able to be pinged for review requests, the maintainer must have a GitHub handle, which: - Leads to an invitation to the NixOS org, which comes with additional privileges. - Allows to request the maintainer for review as a member of this org. - Automatically requests the maintainer for review in CI. Currently, the GitHub handle is not strictly enforced. This leads to some new maintainers accidentally forgetting to set these. We can avoid these mistakes and enforce them via CI.
34 lines
636 B
Nix
34 lines
636 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) types;
|
|
in
|
|
{
|
|
options = {
|
|
name = lib.mkOption {
|
|
type = types.str;
|
|
};
|
|
github = lib.mkOption {
|
|
type = types.str;
|
|
};
|
|
githubId = lib.mkOption {
|
|
type = types.ints.unsigned;
|
|
};
|
|
email = lib.mkOption {
|
|
type = types.nullOr types.str;
|
|
default = null;
|
|
};
|
|
matrix = lib.mkOption {
|
|
type = types.nullOr types.str;
|
|
default = null;
|
|
};
|
|
keys = lib.mkOption {
|
|
type = types.listOf (
|
|
types.submodule {
|
|
options.fingerprint = lib.mkOption { type = types.str; };
|
|
}
|
|
);
|
|
default = [ ];
|
|
};
|
|
};
|
|
}
|