nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 config,
4 # keep-sorted start case=no numeric=no block=yes
5 appres,
6 automake,
7 bdftopcf,
8 bitmap,
9 ed,
10 editres,
11 font-adobe-100dpi,
12 font-adobe-75dpi,
13 font-adobe-utopia-100dpi,
14 font-adobe-utopia-75dpi,
15 font-adobe-utopia-type1,
16 font-alias,
17 font-arabic-misc,
18 font-bh-100dpi,
19 font-bh-75dpi,
20 font-bh-lucidatypewriter-100dpi,
21 font-bh-lucidatypewriter-75dpi,
22 font-bh-ttf,
23 font-bh-type1,
24 font-bitstream-100dpi,
25 font-bitstream-75dpi,
26 font-bitstream-type1,
27 font-cronyx-cyrillic,
28 font-cursor-misc,
29 font-daewoo-misc,
30 font-dec-misc,
31 font-encodings,
32 font-ibm-type1,
33 font-isas-misc,
34 font-jis-misc,
35 font-micro-misc,
36 font-misc-cyrillic,
37 font-misc-ethiopic,
38 font-misc-meltho,
39 font-misc-misc,
40 font-mutt-misc,
41 font-schumacher-misc,
42 font-screen-cyrillic,
43 font-sony-misc,
44 font-sun-misc,
45 font-util,
46 font-winitzki-cyrillic,
47 font-xfree86-type1,
48 fonttosfnt,
49 gccmakedep,
50 iceauth,
51 ico,
52 imake,
53 libapplewm,
54 libdmx,
55 libfontenc,
56 libfs,
57 libice,
58 libpciaccess,
59 libpthread-stubs,
60 libsm,
61 libwindowswm,
62 libx11,
63 libxau,
64 libxaw,
65 libxcb,
66 libxcb-cursor,
67 libxcb-errors,
68 libxcb-image,
69 libxcb-keysyms,
70 libxcb-render-util,
71 libxcb-util,
72 libxcb-wm,
73 libxcomposite,
74 libxcursor,
75 libxcvt,
76 libxdamage,
77 libxdmcp,
78 libxext,
79 libxfixes,
80 libxfont_1,
81 libxfont_2,
82 libxft,
83 libxi,
84 libxinerama,
85 libxkbfile,
86 libxmu,
87 libxp,
88 libxpm,
89 libxpresent,
90 libxrandr,
91 libxrender,
92 libxres,
93 libxscrnsaver,
94 libxshmfence,
95 libxt,
96 libxtst,
97 libxv,
98 libxvmc,
99 libxxf86dga,
100 libxxf86misc,
101 libxxf86vm,
102 listres,
103 lndir,
104 luit,
105 makedepend,
106 mkfontscale,
107 oclock,
108 pixman,
109 sessreg,
110 setxkbmap,
111 smproxy,
112 tab-window-manager,
113 transset,
114 util-macros,
115 viewres,
116 wrapWithXFileSearchPathHook,
117 x11perf,
118 xauth,
119 xbacklight,
120 xbitmaps,
121 xcalc,
122 xcb-proto,
123 xclock,
124 xcmsdb,
125 xcompmgr,
126 xconsole,
127 xcursor-themes,
128 xcursorgen,
129 xdm,
130 xdpyinfo,
131 xdriinfo,
132 xev,
133 xeyes,
134 xf86-input-evdev,
135 xf86-input-joystick,
136 xf86-input-keyboard,
137 xf86-input-libinput,
138 xf86-input-mouse,
139 xf86-input-synaptics,
140 xf86-input-vmmouse,
141 xf86-input-void,
142 xf86-video-amdgpu,
143 xf86-video-apm,
144 xf86-video-ark,
145 xf86-video-ast,
146 xf86-video-ati,
147 xf86-video-chips,
148 xf86-video-cirrus,
149 xf86-video-dummy,
150 xf86-video-fbdev,
151 xf86-video-geode,
152 xf86-video-i128,
153 xf86-video-i740,
154 xf86-video-intel,
155 xf86-video-mga,
156 xf86-video-neomagic,
157 xf86-video-nouveau,
158 xf86-video-nv,
159 xf86-video-omap,
160 xf86-video-openchrome,
161 xf86-video-qxl,
162 xf86-video-r128,
163 xf86-video-s3virge,
164 xf86-video-savage,
165 xf86-video-siliconmotion,
166 xf86-video-sis,
167 xf86-video-sisusb,
168 xf86-video-suncg6,
169 xf86-video-sunffb,
170 xf86-video-sunleo,
171 xf86-video-tdfx,
172 xf86-video-trident,
173 xf86-video-v4l,
174 xf86-video-vbox,
175 xf86-video-vesa,
176 xf86-video-vmware,
177 xf86-video-voodoo,
178 xfd,
179 xfontsel,
180 xfs,
181 xfsinfo,
182 xgamma,
183 xgc,
184 xhost,
185 xinit,
186 xinput,
187 xkbcomp,
188 xkbevd,
189 xkbprint,
190 xkbutils,
191 xkeyboard-config,
192 xkeyboard-config_custom,
193 xkill,
194 xload,
195 xlsatoms,
196 xlsclients,
197 xlsfonts,
198 xmag,
199 xmessage,
200 xmodmap,
201 xmore,
202 xorg-cf-files,
203 xorg-docs,
204 xorg-server,
205 xorg-sgml-doctools,
206 xorgproto,
207 xpr,
208 xprop,
209 xrandr,
210 xrdb,
211 xrefresh,
212 xset,
213 xsetroot,
214 xsm,
215 xstdcmap,
216 xtrans,
217 xvfb,
218 xvinfo,
219 xwd,
220 xwininfo,
221 xwud,
222 # keep-sorted end
223}:
224_:
225{
226 inherit
227 # keep-sorted start case=no numeric=no block=yes
228 appres
229 bdftopcf
230 bitmap
231 editres
232 fonttosfnt
233 gccmakedep
234 iceauth
235 ico
236 imake
237 libdmx
238 libfontenc
239 libpciaccess
240 libxcb
241 libxcvt
242 libxkbfile
243 libxshmfence
244 listres
245 lndir
246 luit
247 makedepend
248 mkfontscale
249 oclock
250 pixman
251 sessreg
252 setxkbmap
253 smproxy
254 transset
255 viewres
256 wrapWithXFileSearchPathHook
257 x11perf
258 xauth
259 xbacklight
260 xbitmaps
261 xcalc
262 xclock
263 xcmsdb
264 xcompmgr
265 xconsole
266 xcursorgen
267 xdm
268 xdpyinfo
269 xdriinfo
270 xev
271 xeyes
272 xfd
273 xfontsel
274 xfs
275 xfsinfo
276 xgamma
277 xgc
278 xhost
279 xinit
280 xinput
281 xkbcomp
282 xkbevd
283 xkbprint
284 xkbutils
285 xkill
286 xload
287 xlsatoms
288 xlsclients
289 xlsfonts
290 xmag
291 xmessage
292 xmodmap
293 xmore
294 xorgproto
295 xpr
296 xprop
297 xrandr
298 xrdb
299 xrefresh
300 xset
301 xsetroot
302 xsm
303 xstdcmap
304 xtrans
305 xvfb
306 xvinfo
307 xwd
308 xwininfo
309 xwud
310 # keep-sorted end
311 ;
312
313 # keep-sorted start case=no numeric=no block=yes
314 encodings = font-encodings;
315 fontadobe100dpi = font-adobe-100dpi;
316 fontadobe75dpi = font-adobe-75dpi;
317 fontadobeutopia100dpi = font-adobe-utopia-100dpi;
318 fontadobeutopia75dpi = font-adobe-utopia-75dpi;
319 fontadobeutopiatype1 = font-adobe-utopia-type1;
320 fontalias = font-alias;
321 fontarabicmisc = font-arabic-misc;
322 fontbh100dpi = font-bh-100dpi;
323 fontbh75dpi = font-bh-75dpi;
324 fontbhlucidatypewriter100dpi = font-bh-lucidatypewriter-100dpi;
325 fontbhlucidatypewriter75dpi = font-bh-lucidatypewriter-75dpi;
326 fontbhttf = font-bh-ttf;
327 fontbhtype1 = font-bh-type1;
328 fontbitstream100dpi = font-bitstream-100dpi;
329 fontbitstream75dpi = font-bitstream-75dpi;
330 fontbitstreamtype1 = font-bitstream-type1;
331 fontcronyxcyrillic = font-cronyx-cyrillic;
332 fontcursormisc = font-cursor-misc;
333 fontdaewoomisc = font-daewoo-misc;
334 fontdecmisc = font-dec-misc;
335 fontibmtype1 = font-ibm-type1;
336 fontisasmisc = font-isas-misc;
337 fontjismisc = font-jis-misc;
338 fontmicromisc = font-micro-misc;
339 fontmisccyrillic = font-misc-cyrillic;
340 fontmiscethiopic = font-misc-ethiopic;
341 fontmiscmeltho = font-misc-meltho;
342 fontmiscmisc = font-misc-misc;
343 fontmuttmisc = font-mutt-misc;
344 fontschumachermisc = font-schumacher-misc;
345 fontscreencyrillic = font-screen-cyrillic;
346 fontsonymisc = font-sony-misc;
347 fontsunmisc = font-sun-misc;
348 fontutil = font-util;
349 fontwinitzkicyrillic = font-winitzki-cyrillic;
350 fontxfree86type1 = font-xfree86-type1;
351 libAppleWM = libapplewm;
352 libFS = libfs;
353 libICE = libice;
354 libpthreadstubs = libpthread-stubs;
355 libSM = libsm;
356 libWindowsWM = libwindowswm;
357 libX11 = libx11;
358 libXau = libxau;
359 libXaw = libxaw;
360 libXcomposite = libxcomposite;
361 libXcursor = libxcursor;
362 libXdamage = libxdamage;
363 libXdmcp = libxdmcp;
364 libXext = libxext;
365 libXfixes = libxfixes;
366 libXfont = libxfont_1;
367 libXfont2 = libxfont_2;
368 libXft = libxft;
369 libXi = libxi;
370 libXinerama = libxinerama;
371 libXmu = libxmu;
372 libXp = libxp;
373 libXpm = libxpm;
374 libXpresent = libxpresent;
375 libXrandr = libxrandr;
376 libXrender = libxrender;
377 libXres = libxres;
378 libXScrnSaver = libxscrnsaver;
379 libXt = libxt;
380 libXtst = libxtst;
381 libXv = libxv;
382 libXvMC = libxvmc;
383 libXxf86dga = libxxf86dga;
384 libXxf86misc = libxxf86misc;
385 libXxf86vm = libxxf86vm;
386 mkfontdir = mkfontscale;
387 twm = tab-window-manager;
388 utilmacros = util-macros;
389 xcbproto = xcb-proto;
390 xcbutil = libxcb-util;
391 xcbutilcursor = libxcb-cursor;
392 xcbutilerrors = libxcb-errors;
393 xcbutilimage = libxcb-image;
394 xcbutilkeysyms = libxcb-keysyms;
395 xcbutilrenderutil = libxcb-render-util;
396 xcbutilwm = libxcb-wm;
397 xcursorthemes = xcursor-themes;
398 xf86inputevdev = xf86-input-evdev;
399 xf86inputjoystick = xf86-input-joystick;
400 xf86inputkeyboard = xf86-input-keyboard;
401 xf86inputlibinput = xf86-input-libinput;
402 xf86inputmouse = xf86-input-mouse;
403 xf86inputsynaptics = xf86-input-synaptics;
404 xf86inputvmmouse = xf86-input-vmmouse;
405 xf86inputvoid = xf86-input-void;
406 xf86videoamdgpu = xf86-video-amdgpu;
407 xf86videoapm = xf86-video-apm;
408 xf86videoark = xf86-video-ark;
409 xf86videoast = xf86-video-ast;
410 xf86videoati = xf86-video-ati;
411 xf86videochips = xf86-video-chips;
412 xf86videocirrus = xf86-video-cirrus;
413 xf86videodummy = xf86-video-dummy;
414 xf86videofbdev = xf86-video-fbdev;
415 xf86videogeode = xf86-video-geode;
416 xf86videoi128 = xf86-video-i128;
417 xf86videoi740 = xf86-video-i740;
418 xf86videointel = xf86-video-intel;
419 xf86videomga = xf86-video-mga;
420 xf86videoneomagic = xf86-video-neomagic;
421 xf86videonouveau = xf86-video-nouveau;
422 xf86videonv = xf86-video-nv;
423 xf86videoomap = xf86-video-omap;
424 xf86videoopenchrome = xf86-video-openchrome;
425 xf86videoqxl = xf86-video-qxl;
426 xf86videor128 = xf86-video-r128;
427 xf86videos3virge = xf86-video-s3virge;
428 xf86videosavage = xf86-video-savage;
429 xf86videosiliconmotion = xf86-video-siliconmotion;
430 xf86videosis = xf86-video-sis;
431 xf86videosisusb = xf86-video-sisusb;
432 xf86videosuncg6 = xf86-video-suncg6;
433 xf86videosunffb = xf86-video-sunffb;
434 xf86videosunleo = xf86-video-sunleo;
435 xf86videotdfx = xf86-video-tdfx;
436 xf86videotrident = xf86-video-trident;
437 xf86videov4l = xf86-video-v4l;
438 xf86videovboxvideo = xf86-video-vbox;
439 xf86videovesa = xf86-video-vesa;
440 xf86videovmware = xf86-video-vmware;
441 xf86videovoodoo = xf86-video-voodoo;
442 xkeyboardconfig = xkeyboard-config;
443 xkeyboardconfig_custom = xkeyboard-config_custom;
444 xorgcffiles = xorg-cf-files;
445 xorgdocs = xorg-docs;
446 xorgserver = xorg-server;
447 xorgsgmldoctools = xorg-sgml-doctools;
448 # keep-sorted end
449}
450
451# deprecate some packages
452// lib.optionalAttrs config.allowAliases {
453 # keep-sorted start case=no numeric=no block=yes
454 fontbitstreamspeedo = throw "Bitstream Speedo is an obsolete font format that hasn't been supported by Xorg since 2005"; # added 2025-09-24
455 libXtrap = throw "XTrap was a proposed X11 extension that hasn't been in Xorg since X11R6 in 1994, it is deprecated and archived upstream."; # added 2025-12-13
456 xf86videoglide = throw "The Xorg Glide video driver has been archived upstream due to being obsolete"; # added 2025-12-13
457 xf86videoglint = throw ''
458 The Xorg GLINT/Permedia video driver has been broken since xorg 21.
459 see https://gitlab.freedesktop.org/xorg/driver/xf86-video-glint/-/issues/1''; # added 2025-12-13
460 xf86videonewport = throw "The Xorg Newport video driver is broken and hasn't had a release since 2012"; # added 2025-12-13
461 xf86videotga = throw "The Xorg TGA (aka DEC 21030) video driver is broken and hasn't had a release since 2012"; # added 2025-12-13
462 xf86videowsfb = throw "The Xorg BSD wsdisplay framebuffer video driver is broken and hasn't had a release since 2012"; # added 2025-12-13
463 xtrap = throw "XTrap was a proposed X11 extension that hasn't been in Xorg since X11R6 in 1994, it is deprecated and archived upstream."; # added 2025-12-13
464 # keep-sorted end
465}