lib: Add lib.teams

Also add a freedesktop maintainer group as an example.
This commit is contained in:
Jan Tojnar 2019-10-27 22:44:24 +01:00
parent e89b21504f
commit 10ac558ca1
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 25 additions and 0 deletions

View file

@ -24,6 +24,7 @@ let
# packaging
customisation = callLibs ./customisation.nix;
maintainers = import ../maintainers/maintainer-list.nix;
teams = callLibs ../maintainers/team-list.nix;
meta = callLibs ./meta.nix;
sources = callLibs ./sources.nix;
versions = callLibs ./versions.nix;

24
maintainers/team-list.nix Normal file
View file

@ -0,0 +1,24 @@
/* List of maintainer teams.
name = {
# Required
members = [ maintainer1 maintainer2 ];
scope = "Maintain foo packages.";
};
where
- `members` is the list of maintainers belonging to the group,
- `scope` describes the scope of the group.
More fields may be added in the future.
Please keep the list alphabetically sorted.
*/
{ lib }:
with lib.maintainers; {
freedesktop = {
members = [ jtojnar worldofpeace ];
scope = "Maintain Freedesktop.org packages for graphical desktop.";
};
}