openvswitch: generalize builder
[NixPkgs.git] / lib / tests / maintainer-module.nix
blob8cf8411b476a4b909fed045b39592ac5c589ae49
1 { lib, ... }:
2 let
3   inherit (lib) types;
4 in {
5   options = {
6     name = lib.mkOption {
7       type = types.str;
8     };
9     email = lib.mkOption {
10       type = types.str;
11     };
12     matrix = lib.mkOption {
13       type = types.nullOr types.str;
14       default = null;
15     };
16     github = lib.mkOption {
17       type = types.nullOr types.str;
18       default = null;
19     };
20     githubId = lib.mkOption {
21       type = types.nullOr types.ints.unsigned;
22       default = null;
23     };
24     keys = lib.mkOption {
25       type = types.listOf (types.submodule {
26         options.fingerprint = lib.mkOption { type = types.str; };
27       });
28       default = [];
29     };
30   };