Skip to content

Commit f7eb6ef

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

File tree

4 files changed

+210
-5
lines changed

4 files changed

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

0 commit comments

Comments
 (0)