summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-10-27 22:44:24 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-11-23 00:07:28 +0100
commit10ac558ca10c11019d07f1fda8f9406a0642e81d (patch)
tree2a25fac5e7bf4130df810eb8e4c32ded6810dabc
parente89b21504f3e61e535229afa0b121defb52d2a50 (diff)
downloadnixpkgs-10ac558ca10c11019d07f1fda8f9406a0642e81d.tar
nixpkgs-10ac558ca10c11019d07f1fda8f9406a0642e81d.tar.gz
nixpkgs-10ac558ca10c11019d07f1fda8f9406a0642e81d.tar.bz2
nixpkgs-10ac558ca10c11019d07f1fda8f9406a0642e81d.tar.lz
nixpkgs-10ac558ca10c11019d07f1fda8f9406a0642e81d.tar.xz
nixpkgs-10ac558ca10c11019d07f1fda8f9406a0642e81d.tar.zst
nixpkgs-10ac558ca10c11019d07f1fda8f9406a0642e81d.zip
lib: Add lib.teams
Also add a freedesktop maintainer group as an example.
-rw-r--r--lib/default.nix1
-rw-r--r--maintainers/team-list.nix24
2 files changed, 25 insertions, 0 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 74d508ec1d6..716bd772c7f 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -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;
diff --git a/maintainers/team-list.nix b/maintainers/team-list.nix
new file mode 100644
index 00000000000..f98bbeee912
--- /dev/null
+++ b/maintainers/team-list.nix
@@ -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.";
+  };
+}