Skip to content

Commit ecdf2e2

Browse files
committed
stylix: add generated all-maintainers file
1 parent 1d7a781 commit ecdf2e2

File tree

4 files changed

+188
-5
lines changed

4 files changed

+188
-5
lines changed

flake/dev/build-all-maintainers.nix

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{ lib, ... }:
2+
{
3+
perSystem =
4+
{ pkgs, config, ... }:
5+
{
6+
packages.build-all-maintainers =
7+
let
8+
meta = pkgs.callPackage ../../stylix/meta.nix { };
9+
in
10+
lib.pipe meta [
11+
lib.attrsToList
12+
(map ({ value, ... }: value.maintainers or [ ]))
13+
builtins.concatLists
14+
(map (value: {
15+
name = value.github;
16+
inherit value;
17+
}))
18+
builtins.listToAttrs
19+
(lib.generators.toPretty { })
20+
(builtins.toFile "all-maintainers")
21+
];
22+
23+
checks.generated-maintainers = pkgs.testers.testEqualContents {
24+
assertion = "all-maintainers.nix is up to date";
25+
expected = config.packages.generate-all-maintainers;
26+
actual = ../../stylix/generated/all-maintainers.nix;
27+
};
28+
};
29+
}

flake/dev/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
imports = [
3+
./build-all-maintainers.nix
34
./dev-shell.nix
45
./nixpkgs-and-dev-nixpkgs-version-consistency.nix
56
./packages.nix

flake/propagated-packages.nix

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,17 @@
1515
perSystem =
1616
{ pkgs, system, ... }:
1717
lib.optionalAttrs (partitionStack == [ ]) {
18-
packages = lib.mkIf pkgs.stdenv.hostPlatform.isLinux (
19-
lib.mapAttrs (
20-
name: _: config.partitions.dev.module.flake.packages.${system}.${name}
21-
) (import ../stylix/testbed/autoload.nix { inherit lib pkgs; })
22-
);
18+
packages = lib.mkMerge [
19+
{
20+
inherit (config.partitions.dev.module.flake.packages.${system})
21+
build-all-maintainers
22+
;
23+
}
24+
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux (
25+
lib.mapAttrs (
26+
name: _: config.partitions.dev.module.flake.packages.${system}.${name}
27+
) (import ../stylix/testbed/autoload.nix { inherit lib pkgs; })
28+
))
29+
];
2330
};
2431
}

stylix/generated/all-maintainers.nix

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
{
2+
"0x5a4" = {
3+
email = "[email protected]";
4+
github = "0x5a4";
5+
githubId = 54070204;
6+
};
7+
"Adam M. Szalkowski" = {
8+
email = "[email protected]";
9+
github = "butzist";
10+
githubId = 2405792;
11+
};
12+
"Chet Luther" = {
13+
email = "[email protected]";
14+
github = "cluther";
15+
githubId = 86579;
16+
};
17+
"Daniel Thwaites" = {
18+
email = "[email protected]";
19+
github = "danth";
20+
githubId = 28959268;
21+
keys = [
22+
{
23+
fingerprint = "4779 D1D5 3C97 2EAE 34A5 ED3D D8AF C4BF 0567 0F9D";
24+
}
25+
];
26+
matrix = "@danth:danth.me";
27+
};
28+
"Devin Droddy" = {
29+
email = "[email protected]";
30+
github = "justdeeevin";
31+
githubId = 90054389;
32+
};
33+
"Erin Pletches" = {
34+
email = "[email protected]";
35+
github = "Flameopathic";
36+
githubId = 64027365;
37+
};
38+
"Gideon Wolfe" = {
39+
email = "[email protected]";
40+
github = "gideonwolfe";
41+
githubId = 32942052;
42+
};
43+
"Igor Rzegocki" = {
44+
email = "[email protected]";
45+
github = "ajgon";
46+
githubId = 150545;
47+
};
48+
"Karun Sandhu" = {
49+
email = "[email protected]";
50+
github = "MrSom3body";
51+
githubId = 129101708;
52+
matrix = "@mrsom3body:matrix.org";
53+
};
54+
"Louis Dalibard" = {
55+
email = "[email protected]";
56+
github = "make-42";
57+
githubId = 17462236;
58+
keys = [
59+
{
60+
fingerprint = "36BC 916D DD4E B1EE EE82 4BBF DC95 900F 6DA7 9992";
61+
}
62+
];
63+
matrix = "@ontake:matrix.ontake.dev";
64+
};
65+
"Louis Thevenet" = {
66+
github = "louis-thevenet";
67+
githubId = 55986107;
68+
};
69+
"Mateus Auler" = {
70+
email = "[email protected]";
71+
github = "mateusauler";
72+
githubId = 24767687;
73+
keys = [
74+
{
75+
fingerprint = "A09D C093 3C37 4BFC 2B5A 269F 80A5 D62F 6EB7 D9F0";
76+
}
77+
];
78+
};
79+
"Maxim Muravev" = {
80+
email = "[email protected]";
81+
github = "TheMaxMur";
82+
githubId = 31189199;
83+
};
84+
"Nathaniel Barragan" = {
85+
email = "[email protected]";
86+
github = "Noodlez1232";
87+
githubId = 12480453;
88+
matrix = "@noodlez1232:matrix.org";
89+
};
90+
"Noah Pierre Biewesch" = {
91+
github = "trueNAHO";
92+
githubId = 90870942;
93+
keys = [
94+
{
95+
fingerprint = "5FC6 088A FB1A 609D 4532 F919 0C1C 177B 3B64 68E0";
96+
}
97+
];
98+
};
99+
"Osi Bluber" = {
100+
email = "[email protected]";
101+
github = "osipog";
102+
githubId = 87434959;
103+
};
104+
"Shahar \"Dawn\" Or" = {
105+
email = "[email protected]";
106+
github = "mightyiam";
107+
githubId = 635591;
108+
};
109+
"Viktor Titov" = {
110+
email = "[email protected]";
111+
github = "nukdokplex";
112+
githubId = 25458915;
113+
keys = [
114+
{
115+
fingerprint = "7CE2 4C42 942D 58EA 99F6 F00A A47E 7374 3EF6 FCC4";
116+
}
117+
];
118+
};
119+
"Zie Sturges" = {
120+
email = "[email protected]";
121+
github = "skoove";
122+
githubId = 53106860;
123+
};
124+
awwpotato = {
125+
email = "[email protected]";
126+
github = "awwpotato";
127+
githubId = 153149335;
128+
matrix = "@awwpotato:envs.net";
129+
};
130+
"pancho horrillo" = {
131+
email = "[email protected]";
132+
github = "panchoh";
133+
githubId = 471059;
134+
keys = [
135+
{
136+
fingerprint = "4430 F502 8B19 FAF4 A40E C4E8 11E0 447D 4ABB A7D0";
137+
}
138+
];
139+
matrix = "@panchoh:matrix.org";
140+
};
141+
repparw = {
142+
email = "[email protected]";
143+
github = "repparw";
144+
githubId = 45952970;
145+
};
146+
}

0 commit comments

Comments
 (0)