Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 40 additions & 6 deletions lib/maintainers.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
{ ...}:
/* List of NixOS maintainers. The format is:
{ lib }:

with lib;

/* List of NixOS maintainers. Two formats are possible. The first is:

handle = "Real Name <address@example.org>";

where <handle> is preferred to be your GitHub username (so it's easy
where <handle> is assumed to be your GitHub username (so it's easy
to ping a package @<handle>), and <Real Name> is your real name, not
a pseudonym. Please keep the list alphabetically sorted. */
{
a pseudonym.

The second format is:

handle = {
name = "Real name";
email = "address@example.org";
github = "handle";
};

Please keep the list alphabetically sorted. */

let
maintainers = {

a1russell = "Adam Russell <adamlr6+pub@gmail.com>";
aaronschif = "Aaron Schif <aaronschif@gmail.com>";
abaldeau = "Andreas Baldeau <andreas@baldeau.net>";
Expand Down Expand Up @@ -782,4 +798,22 @@
zraexy = "David Mell <zraexy@gmail.com>";
zx2c4 = "Jason A. Donenfeld <Jason@zx2c4.com>";
zzamboni = "Diego Zamboni <diego@zzamboni.org>";
}
};

createMaintainer = key: value:
let
struct = {
name = null;
email = null;
github = null;
};
in if isAttrs value then
(struct // value)
else
let
values = [ key ] ++ (splitString " <" (removeSuffix ">" value));
keys = [ "github" "name" "email" ];
attrs = listToAttrs (zipListsWith nameValuePair keys values);
in (struct // attrs);

in mapAttrs createMaintainer maintainers
2 changes: 1 addition & 1 deletion pkgs/development/libraries/java/dbus-java/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ stdenv.mkDerivation {
sed -i -e "s|all: bin doc man|all: bin|" \
-e "s|install: install-bin install-man install-doc|install: install-bin|" Makefile
'';
maintainers = [ stdenv.lib.maintainers.sander ];

meta = {
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.sander ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ stdenv.mkDerivation {
JAVA_HOME=jdk;
PREFIX=''''${out}'';
buildInputs = [ jdk ];
maintainers = [ stdenv.lib.maintainers.sander ];

meta = {
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ sander ];
};
}