1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/by-name
2024-06-20 20:27:18 +05:30
..
_0/_0xpropo
_2/_2ship2harkinian
_4
_6/_64gram _64gram: 1.1.27 -> 1.1.29 2024-06-16 18:13:28 +00:00
_9/_9base
a4/a4
a5/a52dec
aa
ab
ac
ad Merge pull request #319550 from fabaff/ad-miner-bump 2024-06-14 09:33:00 +02:00
ae
af
ag
ai Merge pull request #314908 from r-ryantm/auto-update/python311Packages.hiyapyco 2024-06-10 23:37:01 +02:00
al
am amazon-ssm-agent: remove overrideEtc parameter 2024-06-12 11:50:17 +02:00
an Merge pull request #319634 from diniamo/ananicy-cpp-patch-for-wrappers 2024-06-20 13:09:18 +03:00
ao/aocl-utils
ap apt: 2.9.4 -> 2.9.5 2024-06-15 09:30:52 +00:00
ar Merge pull request #319258 from Guanran928/arkenfox 2024-06-20 14:25:13 +02:00
as Merge pull request #320642 from r-ryantm/auto-update/ast-grep 2024-06-18 16:19:51 -04:00
at atlauncher: 3.4.36.5 -> 3.4.36.6 2024-06-16 15:08:16 +04:00
au Merge pull request #320725 from r-ryantm/auto-update/audion 2024-06-18 15:36:54 +02:00
av
aw
ax
ay Merge pull request #316891 from r-ryantm/auto-update/ayatana-indicator-session 2024-06-16 12:11:33 +02:00
ba Merge pull request #310617 from wentasah/package/python-babeltrace 2024-06-18 09:47:22 +03:00
bc
bd Merge pull request #297786 from matthias-Q/add_boring_data_tool 2024-06-11 00:28:02 +02:00
be Merge pull request #319684 from r-ryantm/auto-update/beekeeper-studio 2024-06-16 22:38:28 +02:00
bi Merge pull request #318744 from Bot-wxt1221/updatebilibili 2024-06-18 01:15:56 +08:00
bk/bk
bl Merge pull request #260000 from lelgenio/init-blade-formatter 2024-06-12 01:19:56 +02:00
bm/bmake
bn/bngblaster
bo Merge pull request #315183 from jopejoe1/fix-pname 2024-06-16 12:34:01 +00:00
bp
bq/bqn
br bruno: fix build failure on darwin 2024-06-14 21:15:26 -03:00
bs
bt btrfs-assistant: cleanup 2024-06-13 19:08:23 -05:00
bu
by
c-
c2
ca cargo-i18n: 0.2.12 -> 0.2.13 2024-06-19 22:03:29 +00:00
cb
cc
cd cdecl: 16.4.1 -> 17.0 2024-06-14 02:51:28 +00:00
ce cemu: 2.0-85 -> 2.0-86 2024-06-17 17:54:13 -03:00
cg
ch ChowKick: rename to chow-kick 2024-06-16 15:56:52 +02:00
ci cimg: fix hash 2024-06-16 10:20:19 +02:00
cl
cm
cn/cntb
co Merge pull request #318581 from msanft/coyim/migrate-go-module 2024-06-19 14:33:34 +02:00
cp
cr cryptor: add desktop item 2024-06-12 23:12:24 +02:00
cs
ct/ctx
cu cue: 0.9.0 -> 0.9.1 2024-06-14 19:13:30 +08:00
cv/cvemap
cy cyme: 1.6.0 -> 1.6.1 2024-06-18 04:23:54 +00:00
cz/czkawka
da Merge pull request #311867 from luftmensch-luftmensch/datatrove_0.2.0 2024-06-11 19:48:02 +02:00
db dbeaver-bin: change order of attrs 2024-06-18 09:42:42 +02:00
dc/dc3dd
dd
de Merge pull request #318829 from linsui/design 2024-06-20 12:01:27 +02:00
dg/dgoss
dh/dhcpig
di Merge pull request #280911 from katexochen/distribution/3 2024-06-19 14:35:40 +02:00
dj/djent
dm dmarc-report-converter: 0.8.0 -> 0.8.1 2024-06-17 12:01:26 +00:00
dn
do docuum: 0.24.0 -> 0.25.0 2024-06-19 18:56:01 +02:00
dp
dr
ds
dt dtools: 2.108.0 -> 2.109.0 2024-06-15 08:28:13 +00:00
du dune3d: fix darwin build 2024-06-11 15:00:05 +02:00
dv/dvb-apps
dx
dy dynamodb-local: 2.5.0 -> 2.5.1 2024-06-12 04:17:23 +00:00
e1/e1s
ea eask: add piotrkwiecinski to maintainers 2024-06-17 23:51:32 +02:00
eb
ec
ed eduvpn-client: 4.2.1 -> 4.3.1 2024-06-15 16:14:50 +02:00
ee/eepers
ei
ej/ejsonkms
ek/eksctl eksctl: 0.181.0 -> 0.182.0 2024-06-11 23:33:10 +00:00
el
em
en
ep Merge pull request #319035 from wegank/epoll-shim-bump 2024-06-16 00:02:44 +02:00
er errands: 46.2.2 -> 46.2.3 2024-06-18 14:34:20 +02:00
es Merge pull request #320259 from Aleksanaa/escambo 2024-06-18 20:40:08 +02:00
et
eu
ev
ew/eww
ex
ez/eza eza: 0.18.17 -> 0.18.18 2024-06-13 14:42:36 +00:00
fa
fb/fbset
fc
fe
ff fflogs: 8.5.12 -> 8.5.16 2024-06-17 19:46:49 +00:00
fg/fgqcanvas
fi fira: use version from fira-mono and update home page 2024-06-18 11:39:05 +02:00
fj/fjo
fl flashmq: 1.14.0 -> 1.15.1 2024-06-17 12:40:39 +00:00
fm
fn/fnott
fo forgejo: actually run go tests 2024-06-18 21:36:26 +02:00
fr freecell-solver: 6.8.0 -> 6.10.0 2024-06-15 03:38:27 +00:00
fs
ft/fte
fu furmark: add an icon 2024-06-19 16:46:56 +02:00
fv
fw/fwupd fwupd: 1.9.20 -> 1.9.21 2024-06-14 08:21:16 +02:00
fy/fypp
fz fzf-make: 0.33.0 -> 0.34.0 2024-06-18 23:06:20 +00:00
g3/g3kb-switch
ga gamescope: don't patch out force_fallback_for 2024-06-14 03:57:20 -04:00
gb
gc
gd
ge Merge pull request #320736 from Aleksanaa/geopard 2024-06-18 20:27:22 +02:00
gf
gg/gg
gh ghciwatch: 0.5.16 -> 1.0.0 2024-06-17 00:45:09 +00:00
gi gitlab-ci-local: 4.50.1 -> 4.51.0 2024-06-19 21:51:30 +00:00
gl glock: migrate to buildGoModule 2024-06-18 08:19:29 +02:00
gm Merge pull request #320845 from r-ryantm/auto-update/gmid 2024-06-18 23:34:21 +04:00
gn gnome-online-accounts-gtk: 3.50.2 -> 3.50.3 2024-06-19 21:39:00 +08:00
go Merge pull request #321168 from r-ryantm/auto-update/gosmee 2024-06-20 10:53:34 +02:00
gp gptscript: 0.5.0 -> 0.8.2 2024-06-18 22:08:27 -03:00
gr Merge pull request #320810 from fabaff/graphqlmaker 2024-06-19 12:41:41 +02:00
gt
gu
gv/gvisor
gx/gxml
h8/h8mail
ha Merge pull request #320786 from r-ryantm/auto-update/halo 2024-06-18 16:54:40 -04:00
hb/hb-honeypot
hd
he Merge pull request #320809 from fabaff/hednsextractor 2024-06-19 12:41:24 +02:00
hi highs: 1.7.0 -> 1.7.1 2024-06-11 14:14:41 +00:00
hj/hjson-go
hn/hn-text hn-text: init at 0.1.4 2024-06-12 05:22:40 +08:00
ho home-manager: 0-unstable-2024-06-04 -> 0-unstable-2024-06-13 2024-06-14 11:25:27 +00:00
ht httping: add anthonyroussel to maintainers 2024-06-13 10:35:47 +02:00
hu
hy hyprutils: 0.1.2 -> 0.1.4 2024-06-19 21:26:01 +05:30
i2/i2p
i3
ia
ic ice-bar: init at 0.9.0 (#317971) 2024-06-20 12:02:45 +02:00
id ida-free: fix desktop item 2024-06-14 14:16:50 +02:00
if/ifrextractor-rs
ig igvm-tooling: add katexochen as maintainer 2024-06-13 12:05:50 +02:00
ii
ij/ijhttp
im Merge pull request #320661 from r-ryantm/auto-update/impala 2024-06-18 16:32:16 -04:00
in
io/ioq3-scion
ip iplookup-gtk: init at 0.3.4 2024-06-18 18:44:55 +08:00
ir irrd: 4.4.2 -> 4.4.4; fix build (#319522) 2024-06-13 17:27:40 +02:00
is/iscc
it Merge pull request #315797 from amyipdev/itools 2024-06-20 10:25:28 +02:00
iw/iw
iz/izrss
ja Merge pull request #315015 from NixOS/r-updates 2024-06-20 16:48:18 +10:00
jd/jdt-language-server
je jellyfin: fix makeWrapperArgs after #313005 2024-06-18 11:13:04 +03:00
ji
jj/jj
jn
jo Merge pull request #320291 from JulienMalka/init-joularjx 2024-06-17 00:00:48 +02:00
jq/jq-zsh-plugin
jr/jrl-cmakemodules
js/jsoncons jsoncons: 0.175.0 -> 0.176.0 2024-06-11 03:51:29 +00:00
jt/jtdx
ju just: 1.28.0 -> 1.29.1 2024-06-15 22:07:54 +02:00
jw/jwasm jwasm: 2.17 -> 2.18 2024-06-14 13:25:37 -03:00
ka
kc
kd
ke Merge pull request #318917 from jzbor/update-kermit-terminal 2024-06-11 11:04:29 +02:00
kg/kgeotag
ki kitex: init at 0.10.0 2024-06-12 15:20:19 +08:00
kl/klog-time-tracker
km
kn
ko Merge pull request #320778 from r-ryantm/auto-update/kor 2024-06-19 10:25:45 -04:00
kp/kplex
kr
ks
kt ktls-utils: 0.10 -> 0.11 2024-06-14 16:31:23 +00:00
ku kubo: 0.28.0 -> 0.29.0 2024-06-11 15:47:09 +02:00
kx
ky
la Merge pull request #320290 from quantenzitrone/laszip 2024-06-18 19:08:36 +00:00
lb
lc lc0: 0.30.0 -> 0.31.0 2024-06-17 01:14:21 +00:00
ld
le Merge pull request #320506 from r-ryantm/auto-update/lefthook 2024-06-17 13:03:11 +00:00
li lint-staged: 15.2.6 -> 15.2.7 2024-06-20 11:32:13 +00:00
lk/lk-jwt-service
ll
lm lmstudio: 0.2.24 -> 0.2.25 2024-06-16 22:41:02 +02:00
ln/lngen
lo logseq: fix build, move to by-name 2024-06-20 08:50:23 -03:00
lp
ls
lt/ltris
lu lunar-client: 3.2.9 -> 3.2.10 2024-06-15 01:38:04 +00:00
lw/lwgrp
lx
lz
m1/m1ddc
m2
ma Merge pull request #320754 from r-ryantm/auto-update/marcel 2024-06-18 16:33:49 -04:00
mb
mc
md mdsh: 0.8.0 -> 0.9.0 2024-06-19 00:26:05 +00:00
me mealie: 1.7.0 -> 1.9.0 2024-06-19 20:48:39 -04:00
mf
mg
mi miru: 5.1.0 -> 5.1.3 2024-06-17 01:25:35 +00:00
mk
ml/mlx42
mo Merge pull request #318783 from pbsds/fix-reproducible-patch-urls-1717622023 2024-06-20 03:01:00 +02:00
mp
mq
ms
mu multiplex: init at 0.1.4 2024-06-17 03:13:41 +08:00
my myks: 4.1.3 -> 4.2.0 2024-06-14 03:59:11 +00:00
n2/n2
na namespace-cli: 0.0.374 -> 0.0.376 2024-06-13 15:08:10 +00:00
nb
nc
nd/ndstrim
ne neovim-qt: move to pkgs/by-name 2024-06-18 10:40:23 +02:00
nf
ng
nh nhost-cli: 1.18.2 -> 1.18.3 2024-06-18 19:40:18 +00:00
ni nickel: 1.6.0 -> 1.7.0 2024-06-16 20:13:46 +00:00
nl
nm/nmap-parse
nn/nncp
no novelwriter: 2.4.3 -> 2.4.4 2024-06-18 22:40:02 +00:00
np
nr nrf-udev: init at 1.0.1 2024-06-15 20:40:11 +02:00
ns
nt/ntfs2btrfs
nu Merge pull request #316731 from d4rkstar/master 2024-06-20 12:27:10 +02:00
nv
nw Merge pull request #320675 from r-ryantm/auto-update/nwg-drawer 2024-06-18 15:52:20 +00:00
nx/nxengine-evo
oa
ob
oc ocis-bin: 5.0.1 -> 5.0.5 2024-06-11 12:25:26 +01:00
od odoo: 17.0.20240507 -> 17.0.20240616 2024-06-19 13:35:22 +00:00
oe/oelint-adv
of
oh oh-my-posh: 21.3.0 -> 21.9.1 2024-06-15 02:11:50 +00:00
oi
ok/okolors
ol Merge pull request #320390 from r-ryantm/auto-update/ols 2024-06-17 16:33:23 -04:00
om omnictl: 0.37.0 -> 0.37.5 2024-06-14 11:02:19 +00:00
on
oo/oo7
op Merge pull request #320933 from r-ryantm/auto-update/openpgp-card-tools 2024-06-19 09:59:49 -04:00
or Merge pull request #319338 from xrelkd/add/ord 2024-06-20 22:37:02 +08:00
os
ot oterm: 0.2.8 -> 0.2.9 2024-06-16 09:41:07 +02:00
ou
ov
ow owncloud-client: 5.3.0 -> 5.3.1 2024-06-14 11:02:27 +00:00
pa
pc/pcsx2
pd pdpmake: 1.4.2 -> 1.4.3 2024-06-13 04:44:48 +00:00
pe
pf/pfft
pg pgraphs: init at 0.6.12 2024-06-14 11:26:12 +02:00
ph Merge pull request #315183 from jopejoe1/fix-pname 2024-06-16 12:34:01 +00:00
pi Merge pull request #316783 from YvesStraten/update/picom-pijulius 2024-06-20 18:01:27 +05:30
pk
pl Merge pull request #319694 from r-ryantm/auto-update/plumber 2024-06-18 01:10:41 +08:00
pm pm2: 5.4.0 -> 5.4.1 2024-06-18 14:01:02 +00:00
pn
po Merge pull request #320803 from r-ryantm/auto-update/powerpipe 2024-06-20 10:14:27 +02:00
pp/ppsspp
pq
pr Merge pull request #311908 from srhb/prometheus-jmx-javaagent 2024-06-17 08:46:00 +02:00
ps/ps_mem
pt
pu Merge pull request #315679 from pyrox0/purescm-src-fix 2024-06-15 02:15:25 +08:00
pv/pvsneslib
pw pwalarmctl: init at 0.1.0 2024-06-12 10:44:12 +02:00
px/pxder
py pyprland: 2.3.7 -> 2.3.8 2024-06-17 00:23:27 +00:00
pz/pzip
qa/qadwaitadecorations
qc/qcm
qd qdrant-web-ui: init at 0.1.28 2024-06-18 12:54:42 +00:00
qg/qgrep
qp/qpoases
qr
qs
qt/qtractor
qu Merge pull request #316758 from eclairevoyant/quickemu 2024-06-13 20:35:08 +02:00
r0/r0vm r0vm: 0.21.0 -> 1.0.1 2024-06-14 15:05:57 +02:00
r1/r10k
ra radicale: 3.2.1 -> 3.2.2 2024-06-19 13:30:01 -07:00
rc Merge pull request #319666 from OPNA2608/update/rcu 2024-06-16 22:08:17 +02:00
rd/rdwatool
re Merge pull request #320508 from r-ryantm/auto-update/redocly 2024-06-19 15:52:57 +00:00
rh/rHttp
ri river: 0.3.2 -> 0.3.3 2024-06-16 14:14:05 +05:30
rk
rl/rl_json
rm
rn/rnd-name
ro rofimoji: 6.3.1 -> 6.3.2 2024-06-18 16:51:27 +00:00
rp/rpcs3 rpcs3: 0.0.31-16391-39e946630 -> 0.0.32-16614-5b973448b 2024-06-16 20:03:29 +00:00
rq
rs
rt
ru Merge pull request #320726 from CherryKitten/init-rusty-diceware 2024-06-19 17:54:33 +08:00
rw/rwpspread maintainers: rename nu-nu-ko to fsnkty 2024-06-15 14:21:38 +12:00
ry
s0/s0ix-selftest-tool
s3
sa sarasa-gothic: 1.0.13 -> 1.0.14 2024-06-16 02:46:07 +00:00
sb/sbom-utility
sc Merge pull request #312366 from r-ryantm/auto-update/scc 2024-06-12 21:48:35 +02:00
sd
se searxng: add nixosTests 2024-06-19 07:06:43 +02:00
sf/sfwbar sfwbar: move to pkgs/by-name 2024-06-15 00:09:13 +02:00
sg/sgfutils
sh show-midi: add desktop item 2024-06-12 23:12:37 +02:00
si
sk Merge pull request #317258 from vigress8/upd-aseprite 2024-06-17 12:21:32 -03:00
sl slumber: 1.4.0 -> 1.5.0 2024-06-18 11:15:23 +02:00
sm
sn snx-rs: 2.2.0 -> 2.2.3 2024-06-17 09:30:48 +02:00
so Merge pull request #318527 from TomaSajt/sourcery 2024-06-16 14:10:28 -03:00
sp spacedrive: 0.2.14 -> 0.3.1 2024-06-18 02:31:17 +03:00
sq sqlite-vss: remove elohmeier as maintainer 2024-06-14 09:18:15 +02:00
sr srm-cuarzo: 0.5.6-2 -> 0.5.7-1 2024-06-18 04:20:32 +00:00
ss
st Merge pull request #320491 from aaronjheng/starlark 2024-06-17 20:43:58 +00:00
su Merge pull request #319297 from onny/sublime-music2 2024-06-15 16:53:51 +02:00
sv Merge pull request #317550 from r-ryantm/auto-update/svelte-language-server 2024-06-12 00:40:18 +02:00
sw Merge pull request #318906 from matteo-pacini/swiftlint 2024-06-16 19:28:47 +02:00
sx
sy Merge pull request #320387 from matteo-pacini/sysmenu 2024-06-20 14:04:34 +08:00
t-/t-rex
ta Merge pull request #319457 from r-ryantm/auto-update/tailscale-nginx-auth 2024-06-16 22:45:42 +02:00
tb/tbump tbump: init at 6.11.0 2024-06-12 21:43:07 +02:00
tc/tcsh tcsh: 6.24.12 -> 6.24.13 2024-06-13 13:41:09 +03:00
td
te tenv: 2.0.3 -> 2.0.7 2024-06-16 17:04:38 +00:00
tg/tgpt
th
ti tinymist: 0.11.10 -> 0.11.11 2024-06-17 08:25:20 +02:00
tk
tl
tm tmsu: migrate to buildGoModule 2024-06-11 09:44:52 +02:00
to
tp tparse: init at 0.13.3 2024-06-18 22:36:52 +02:00
tr troubadix: 24.6.1 -> 24.6.5 2024-06-18 21:07:16 +00:00
tt
tu
tw
tx/txr
ty typos-lsp: 0.1.18 -> 0.1.19 2024-06-16 16:39:57 +00:00
uc Clean up cross bootstrapping 2024-06-18 17:04:16 -04:00
ud
ue
ug
uh/uhttpmock_1_0
ui
um/umpire
un unciv: install icon for desktop item 2024-06-12 23:32:04 +02:00
up Merge pull request #318165 from r-ryantm/auto-update/upbound 2024-06-14 23:48:13 +02:00
us usql: 0.19.2 -> 0.19.3 2024-06-14 13:51:17 +00:00
ut
uu/uuu
uv/uv uv: 0.2.11 -> 0.2.13 2024-06-19 10:43:46 +00:00
uw/uwhoisd
ux uxn: 1.0-unstable-2024-06-05 -> 1.0-unstable-2024-06-14 2024-06-15 17:36:53 +00:00
va
vc vcpkg-tool: 2024-04-23 -> 2024-06-10 2024-06-13 03:02:28 +00:00
vd/vdhcoapp
ve vesktop: fix icon file locations 2024-06-16 14:29:56 -07:00
vg/vgm2x
vi violet: 0.4.6 -> 0.5.0 2024-06-20 08:59:30 +00:00
vk/vkd3d vkd3d: 1.11 -> 1.12 2024-06-14 15:39:10 -03:00
vl vlc: add update script 2024-06-16 10:59:08 +02:00
vm/vms-empire
vo/voidmap
vp Merge pull request #319473 from r-ryantm/auto-update/vpl-gpu-rt 2024-06-14 12:10:47 +00:00
vs/vscode-js-debug vscode-js-debug: fix missing jq in postPatch 2024-06-18 22:24:01 +02:00
vu
vv/vvvvvv
vz/vzic
wa Merge pull request #320789 from khaneliman/waybar-fixes 2024-06-19 16:42:54 +02:00
wb
we werf: 2.5.0 -> 2.6.1 2024-06-18 19:06:05 +03:00
wh whistle: 2.9.71 -> 2.9.73 2024-06-15 09:09:57 +00:00
wi Merge pull request #308949 from amarshall/librusty_v8-source-provenance 2024-06-12 12:46:47 +02:00
wl wl-clipboard-rs: 0.8.1 -> 0.9.0 2024-06-20 04:11:15 +00:00
wo workout-tracker: 0.15.0 -> 1.15.2 2024-06-14 15:25:59 +00:00
wp maintainers: rename nu-nu-ko to fsnkty 2024-06-15 14:21:38 +12:00
ws Merge pull request #317840 from NeverBehave/pkg-ws-tunnel-rust 2024-06-13 13:31:08 -04:00
wt
wx/wxc wxc: init at 1.0.0.2 2024-06-16 08:42:49 +00:00
wy/wyoming-satellite
x1/x16
x5/x509-limbo
xa/xarcan
xc
xd xdg-terminal-exec: 0.9.3 -> 0.10.0 2024-06-13 04:12:15 +00:00
xe xemu: 0.7.122 -> 0.7.123 2024-06-13 03:18:39 +00:00
xf/xfs-undelete
xh/xhosts
xi
xl/xlights
xm Merge pull request #318266 from katexochen/xmonad-log/mod 2024-06-19 15:55:20 +02:00
xn/xnlinkfinder
xo
xp xplr: 0.21.8 -> 0.21.9 2024-06-16 16:45:33 +00:00
xr/xr-hardware
xs xscreensaver: 6.08 -> 6.09 2024-06-11 02:57:19 +00:00
xu/xunit-viewer xunit-viewer: Add basic tests 2024-06-16 14:30:49 +02:00
xw/xwayland-run
ya yamlscript: 0.1.59 -> 0.1.61 2024-06-13 22:18:35 +00:00
yc/ycmd
yd/ydotool
ye
yg/yggdrasil
yj/yj
yo youtrack: use jdk21 2024-06-15 10:11:19 +02:00
ys/ysfx
yt yt-dlg: install desktop item 2024-06-12 23:22:04 +02:00
yu
za zabbix-agent2-plugin-postgresql: 6.4.14 -> 6.4.15 2024-06-11 09:19:45 +00:00
zb/zbus-xmlgen
zc/zcfan
ze
zf/zfind zfind: 0.4.0 -> 0.4.3 2024-06-14 19:11:20 +02:00
zi
zl/zluda
zm/zmkBATx
zo
zp zpaqfranz: 59.7 -> 59.8 2024-06-19 16:16:47 +00:00
zs zsh-wd: 0.7.0 -> 0.7.1 2024-06-13 15:53:43 +00:00
zu/zug
zw/zwave-js-server
zx zxtune: add desktop item 2024-06-12 23:12:49 +02:00
README.md

Name-based package directories

The structure of this directory maps almost directly to top-level package attributes. Add new top-level packages to Nixpkgs using this mechanism whenever possible.

Packages found in the name-based structure are automatically included, without needing to be added to all-packages.nix. However if the implicit attribute defaults need to be changed for a package, this must still be declared in all-packages.nix.

Example

The top-level package pkgs.some-package may be declared by setting up this file structure:

pkgs
└── by-name
   ├── so
   ┊  ├── some-package
      ┊  └── package.nix

Where some-package is the package name and so is the lowercased 2-letter prefix of the package name.

The package.nix may look like this:

# A function taking an attribute set as an argument
{
  # Get access to top-level attributes for use as dependencies
  lib,
  stdenv,
  libbar,

  # Make this derivation configurable using `.override { enableBar = true }`
  enableBar ? false,
}:

# The return value must be a derivation
stdenv.mkDerivation {
  # ...
  buildInputs =
    lib.optional enableBar libbar;
}

You can also split up the package definition into more files in the same directory if necessary.

Once defined, the package can be built from the Nixpkgs root directory using:

nix-build -A some-package

See the general package conventions for more information on package definitions.

Changing implicit attribute defaults

The above expression is called using these arguments by default:

{
  lib = pkgs.lib;
  stdenv = pkgs.stdenv;
  libbar = pkgs.libbar;
}

But the package might need pkgs.libbar_2 instead. While the function could be changed to take libbar_2 directly as an argument, this would change the .override interface, breaking code like .override { libbar = ...; }. So instead it is preferable to use the same generic parameter name libbar and override its value in pkgs/top-level/all-packages.nix:

{
  libfoo = callPackage ../by-name/so/some-package/package.nix {
    libbar = libbar_2;
  };
}

Manual migration guidelines

Most packages are still defined in all-packages.nix and the category hierarchy. Please hold off migrating your maintained packages to this directory.

  1. An automated migration for the majority of packages is being worked on. In order to save on contributor and reviewer time, packages should only be migrated manually afterwards if they couldn't be migrated automatically.

  2. Manual migrations should only be lightly encouraged if the relevant code is being worked on anyways. For example with a package update or refactoring.

  3. Manual migrations should not remove definitions from all-packages.nix with custom arguments. That is a backwards-incompatible change because it changes the .override interface. Such packages may still be moved to pkgs/by-name however, while keeping the definition in all-packages.nix. See also changing implicit attribute defaults.

Limitations

There's some limitations as to which packages can be defined using this structure:

  • Only packages defined using pkgs.callPackage. This excludes packages defined using pkgs.python3Packages.callPackage ....

    Instead:

    • Either change the package definition to work with pkgs.callPackage.
    • Or use the category hierarchy.
  • Only top-level packages. This excludes packages for other package sets like pkgs.pythonPackages.*.

    Refer to the definition and documentation of the respective package set to figure out how such packages can be declared.

Validation

CI performs certain checks on the pkgs/by-name structure. This is done using the nixpkgs-check-by-name tool.

You can locally emulate the CI check using

$ ./maintainers/scripts/check-by-name.sh master

See here for more info.

Recommendation for new packages with multiple versions

These checks of the pkgs/by-name structure can cause problems in combination:

  1. New top-level packages using callPackage must be defined via pkgs/by-name.
  2. Packages in pkgs/by-name cannot refer to files outside their own directory.

This means that outside pkgs/by-name, multiple already-present top-level packages can refer to some common file. If you open a PR to another instance of such a package, CI will fail check 1, but if you try to move the package to pkgs/by-name, it will fail check 2.

This is often the case for packages with multiple versions, such as

{
  foo_1 = callPackage ../tools/foo/1.nix { };
  foo_2 = callPackage ../tools/foo/2.nix { };
}

The best way to resolve this is to not use callPackage directly, such that check 1 doesn't trigger. This can be done by using inherit on a local package set:

{
  inherit
    ({
      foo_1 = callPackage ../tools/foo/1.nix { };
      foo_2 = callPackage ../tools/foo/2.nix { };
    })
    foo_1
    foo_2
    ;
}

While this may seem pointless, this can in fact help with future package set refactorings, because it establishes a clear connection between related attributes.

Further possible refactorings

This is not required, but the above solution also allows refactoring the definitions into a separate file:

{
  inherit (import ../tools/foo pkgs)
    foo_1 foo_2;
}
# pkgs/tools/foo/default.nix
pkgs: {
  foo_1 = callPackage ./1.nix { };
  foo_2 = callPackage ./2.nix { };
}

Alternatively using callPackages if callPackage isn't used underneath and you want the same .override arguments for all attributes:

{
  inherit (callPackages ../tools/foo { })
    foo_1 foo_2;
}
# pkgs/tools/foo/default.nix
{
  stdenv
}: {
  foo_1 = stdenv.mkDerivation { /* ... */ };
  foo_2 = stdenv.mkDerivation { /* ... */ };
}

Exposing the package set

This is not required, but the above solution also allows exposing the package set as an attribute:

{
  foo-versions = import ../tools/foo pkgs;
  # Or using callPackages
  # foo-versions = callPackages ../tools/foo { };

  inherit (foo-versions) foo_1 foo_2;
}