nixpkgs/pkgs/by-name
Peder Bergebakken Sundt f5ccf81a9c
Merge pull request #276460 from ralismark/deepfilter-ladspa
deepfilternet: init at 0.5.6
2024-02-10 12:47:44 +01:00
..
_4/_4th
_9/_9base _9base: move flags to env 2024-01-21 22:14:24 +01:00
a4/a4
aa aaaaxy: 1.4.137 -> 1.4.160 2024-01-30 07:39:12 +00:00
ab/aba
ac
ad ad-ldap-enum: init at 0-unstable-2023-02-10 2024-01-30 18:36:01 +01:00
ae aeacus: init at 2.1.1 2024-01-18 08:21:02 +01:00
af/afterstep
ai
al Merge #276663: alsa-lib: 1.2.9 -> 1.2.11 2024-02-03 08:18:35 +01:00
am amphetype: add desktop item 2024-02-09 11:54:59 +00:00
an anytype: 0.37.3 -> 0.38.0 (#284895) 2024-01-31 13:19:05 +01:00
ao/aocl-utils
ap approxmc: 4.1.23 -> 4.1.24 2024-02-09 05:47:11 +00:00
ar arxiv-latex-cleaner: 1.0.1 -> 1.0.3 2024-01-20 06:21:01 +00:00
as ast-grep: 0.17.0 -> 0.18.1 2024-02-01 11:46:22 +05:30
at Merge pull request #277586 from atorres1985-contrib/atari-emulators 2024-02-05 16:39:16 +01:00
au authentik-outposts.ldap: init at 2023.10.7 2024-01-31 13:45:10 +00:00
av/avr-sim
aw aws-gate: fix missing and outdated requirements 2024-02-04 19:05:56 +01:00
ax/axmldec
ay ayatana-indicator-session: init at 23.10.3 2024-02-04 15:42:21 +01:00
ba baresip: 3.8.1 -> 3.9.0 2024-02-09 11:32:45 +00:00
bc/bc-ur
be beekeeper-studio: fix hash 2024-01-20 04:57:32 +01:00
bi Merge pull request #284623 from SuperSandro2000/bitwarden-directory-connector 2024-02-09 12:02:03 +01:00
bk/bk
bl Merge master into staging-next 2024-02-04 18:01:14 +00:00
bm/bmake bmake: 20231210 -> 20240108 2024-01-23 16:26:15 +00:00
bn/bngblaster bngblaster: 0.8.34 -> 0.8.35 (#286006) 2024-02-03 12:45:16 +01:00
bo Merge pull request #276541 from christoph-heiss/init/boinctui 2024-02-06 16:54:00 +01:00
br Merge pull request #281308 from octodi/bruteforce-salted-openssl 2024-01-18 08:18:56 +01:00
bs/bsync bsync: init at unstable-2023-12-21 2024-01-19 19:38:43 +01:00
bu Merge pull request #282418 from krloer/master 2024-01-29 14:13:39 +01:00
by/bytecode-viewer bytecode-viewer: init at 2.12 2024-01-10 15:15:14 +01:00
c2 c2fmzq: 0.4.17 -> 0.4.18 2024-01-28 13:55:17 +00:00
c- Merge pull request #282375 from sikmir/c-periphery 2024-01-28 19:17:07 +01:00
ca Merge pull request #286092 from trofi/cardboard-mark-broken 2024-02-09 09:13:44 -05:00
cb/cbmbasic
cc/ccache ccache: 4.9 -> 4.9.1 2024-02-09 12:01:03 +00:00
cd
ce celeste64: 0-unstable-2024-02-02 -> 1.1.1 2024-02-06 22:05:07 +01:00
cg/cgl
ch chess-clock: init at 0.6.0 2024-01-16 20:43:54 +02:00
ci Merge pull request #279127 from katexochen/ci-edit/init 2024-02-05 00:35:34 +01:00
cl Merge pull request #284185 from r-ryantm/auto-update/clzip 2024-02-04 20:23:32 +01:00
cm Merge master into staging-next 2024-02-09 18:01:06 +00:00
cn/cntb
co cosmic-icons: unstable-2024-01-23 -> unstable-2024-02-07 2024-02-08 19:13:41 +00:00
cp
cr crc: 2.31.0 -> 2.32.0 2024-02-08 08:20:18 +00:00
cs Merge pull request #284634 from DontEatOreo/pkgs-csharprepl 2024-02-06 18:01:30 +01:00
ct/ctx
cy
cz/czkawka
da/dark-mode-notify
db/dbus-cpp
dc/dc3dd dc3dd: init at 7.3.1 2024-01-27 23:23:09 +01:00
de Merge pull request #276460 from ralismark/deepfilter-ladspa 2024-02-10 12:47:44 +01:00
di Merge pull request #277735: Remove caadar from maintainers 2024-01-15 23:52:47 +01:00
dj/djent
dm
do dorion: 4.1.1 -> 4.1.2 2024-02-08 06:57:48 +00:00
dp/dpp dpp: init at 10.0.29 2024-01-28 19:23:53 -08:00
dr/drone-scp
ds/dsda-doom dsda-doom: init at 0.27.5 2024-02-05 18:36:02 +01:00
dt/dtcmp
du dust: rename from du-dust 2024-02-06 10:04:00 +08:00
dv/dvb-apps
dx
dy Merge pull request #279251 from martinjlowm/chore/dynamodb-local-use-jre-minimal 2024-01-30 10:30:57 +01:00
ea/easyeasm easyeasm: init at 1.0.6 2024-01-28 18:16:03 +01:00
eb ebtks: fix build on darwin 2024-01-21 20:00:48 +01:00
ec
ed/eduvpn-client
ei eigenlayer: 0.5.1 -> 0.5.2 2024-02-01 18:31:22 +00:00
ek/eksctl eksctl: 0.170.0 -> 0.171.0 2024-02-10 06:28:05 +00:00
el elektroid: 3.0 -> 3.0.1 2024-01-30 15:31:31 +00:00
em emulationstation: refactor 2024-02-04 21:34:21 -03:00
en
er
es cargo-espflash: rename to espflash (#286386) 2024-02-09 11:50:17 -05:00
eu eurofurence: init at 2000-04-21 2024-01-12 09:50:48 +00:00
ex Merge pull request #259785 from 0b11stan/add-exegol 2024-01-30 08:10:53 +01:00
ez/eza eza: 0.18.1 -> 0.18.2 2024-02-08 19:17:51 +01:00
fa Merge pull request #286331 from jtbx/farge-style 2024-02-05 01:11:34 +01:00
fb/fbset fbset: init at 2.1 2024-01-30 07:00:55 +01:00
fc
fe fennel-ls: init at 0.1.0 2024-01-22 08:14:43 +02:00
ff ff2mpv-rust: init at 1.1.1 2024-01-15 20:59:41 -03:00
fi files-cli: 2.12.28 -> 2.12.30 2024-02-08 17:47:16 +00:00
fl flarectl: 0.86.0 -> 0.87.0 2024-01-31 05:54:11 +00:00
fm
fn/fnott
fo Merge pull request #254526 from panicgh/foonathan-memory 2024-02-07 14:23:40 +01:00
fr freefilesync: add disable update patch 2024-02-05 14:05:12 +03:00
fu/fuchsia-cursor fuchsia-cursor: init at 2.0.0 2024-01-28 18:08:44 +01:00
fw/fwupd fwupd: 1.9.12 -> 1.9.13 2024-02-09 16:45:09 +01:00
ga galerio: init at 1.2.0 2024-01-24 12:08:34 +01:00
gb/gbar
gc Merge pull request #286810 from wegank/gcli-platforms 2024-02-08 01:26:32 +01:00
ge geist-font: init at 1.1.0 2024-01-20 14:07:43 -05:00
gh
gi
gl glauth: add myself as maintainer 2024-01-19 10:06:32 +01:00
gm/gmic
go Merge pull request #284717 from katexochen/gofumpt/0-6-0 2024-02-10 13:55:33 +04:00
gp gpt4all-chat: 2.6.2 -> 2.7.0 2024-02-09 04:53:32 +00:00
gr graphite-cli: add fish completion 2024-02-06 17:30:32 -05:00
gt Merge pull request #259395 from nixdrin/gtimelog 2024-01-29 14:25:09 +01:00
gu Merge pull request #275493 from chitochi/guile-chickadee 2024-01-30 17:23:00 +01:00
h8/h8mail
ha Merge pull request #286639 from r-ryantm/auto-update/harec 2024-02-10 07:03:26 +11:00
hd/hdrop hdrop: 0.3.0 -> 0.4.4 2024-01-19 09:49:23 +00:00
he helix-gpt: 0.25 -> 0.27 2024-02-09 20:39:55 -05:00
hi/hifile hifile: 0.9.9.7 -> 0.9.9.10 2024-01-15 15:01:05 +01:00
hj/hjson-go
ho
ht htcondor: init at v23.3.0 2024-02-07 21:28:28 +01:00
hu/hugo hugo: 0.121.2 -> 0.122.0 2024-01-27 06:37:30 +00:00
hy hyprlang: init at 0.2.1 2024-01-16 22:24:04 +02:00
i3
ia ianny: init at v1.0.0beta.1 2024-01-27 16:03:16 +00:00
ic icloudpd: init at 1.17.3 2024-01-13 14:30:43 +11:00
id/idsk
if/ifrextractor-rs
ig ignite-cli: 28.1.1 -> 28.2.0 2024-02-07 05:39:58 +00:00
ii iina: 1.3.3 -> 1.3.4 2024-01-11 17:10:56 +01:00
im
in Merge pull request #286470 from r-ryantm/auto-update/invidtui 2024-02-08 19:33:29 -05:00
ir/ironbar ironbar: 0.13.0 -> 0.14.0 2024-01-21 10:50:27 +00:00
ja jazz2: 2.4.1 -> 2.5.0 2024-01-29 18:00:11 +01:00
jd/jdt-language-server jdt-language-server: Call installlPhase hooks 2024-01-25 19:50:35 +01:00
ji
jj/jj
jn/jnr-posix jnr-posix: init at 3.1.18 2024-02-02 10:00:33 +13:00
jo/joycond-cemuhook
ju/justbuild
ka
kc/kconfig-frontends
kd/kdsingleapplication
ke keep-sorted: 0.2.0 -> 0.3.0 2024-01-17 07:45:48 +01:00
kg/kgeotag
ki kikit: 1.3.0 -> 1.4.0 2024-01-21 05:17:06 +00:00
kl/klog-time-tracker
km/kmsvnc kmsvnc: 0.0.5 -> 0.0.6 2024-02-06 05:06:18 +00:00
ko kor: 0.3.2 -> 0.3.3 2024-01-11 04:59:00 +00:00
kp/kplex kplex: init at 1.4 2024-01-18 22:35:27 -05:00
ks/kseexpr
kt ktfmt: 0.46 -> 0.47 2024-01-22 09:35:10 +00:00
ku kubo: 0.25.0 -> 0.26.0 2024-01-22 16:42:00 +01:00
kx/kxstitch
la Merge pull request #278985 from romildo/upd.labwc-tweaks 2024-01-11 19:11:01 -03:00
lc/lcab
le Merge pull request #284332 from r-ryantm/auto-update/lefthook 2024-02-05 21:02:58 +01:00
li Merge master into staging-next 2024-02-09 12:01:11 +00:00
ll llama-cpp: 2050 -> 2074 2024-02-06 00:29:01 +00:00
ln/lngen
lo louvain-community: unstable-2021-03-18 -> unstable-2024-01-30 2024-01-31 22:45:07 +00:00
ls/lshw
lu lunar-client: 3.1.3 -> 3.2.1 2024-01-18 11:00:58 +01:00
lw/lwgrp
lz lzlib: 1.13 -> 1.14 2024-02-09 11:09:15 +00:00
m2
ma Merge pull request #284580 from D3vil0p3r/patch-5 2024-02-10 00:26:46 +01:00
mc mcomix: 3.0.0 -> 3.1.0 2024-02-04 18:00:25 -05:00
md/md4c md4c: 0.5.1 -> 0.5.2 2024-02-05 18:24:50 +00:00
me mercure: 0.15.6 -> 0.15.9 2024-01-28 11:10:32 +01:00
mf/mfoc-hardnested
mg/mgitstatus mgitstatus: init at 2.2 2024-01-20 12:50:38 +05:30
mi microsoft-identity-broker: 1.6.1 -> 1.7.0 2024-02-06 04:17:04 +00:00
mk
ml/mlx42
mo monophony: 2.5.2 -> 2.6.0 2024-02-06 01:08:42 +00:00
mp/mpifileutils
mq/mqttx
ms msalsdk-dbusclient: init at 1.0.1 2024-02-02 10:00:33 +13:00
mu muparser: 2.2.3 -> 2.3.4, refactor 2024-01-22 03:34:06 +01:00
my/mystmd mystmd: 1.1.37 -> 1.1.38 2024-01-30 16:02:01 +00:00
n2/n2
na namespace-cli: 0.0.332 -> 0.0.333 2024-02-06 07:27:06 +00:00
nc/ncdc ncdc: 1.23.1 -> 1.24 2024-01-09 10:58:44 +00:00
ne Merge pull request #287212 from Aleksanaa/netease-cloud-music-gtk 2024-02-08 20:35:15 +01:00
nf/nfft
nh/nh Merge pull request #281012 from adamcstephens/nh/fix-darwin 2024-01-15 07:11:57 -05:00
ni nimlangserver: init at 1.2.0 2024-02-09 11:56:40 +00:00
nl
nm/nmap-parse nmap-parse: init at 0-unstable-2022-09-26 2024-02-03 23:51:00 +01:00
nn/nncp
no noto-fonts: 24.1.1 -> 24.2.1 2024-02-03 04:04:20 +00:00
np np: init at 0.11.0 2024-02-03 23:19:06 +01:00
nr nrf-command-line-tools: init at 10.23.2 2024-02-01 10:25:50 +01:00
ns nsplist: migrate to by-name, refactor 2024-01-13 07:17:11 +01:00
nu nucleiparser: source is now tagged 2024-01-12 00:33:08 +01:00
nv nixosTests.nvmetcfg: init 2024-02-02 17:10:25 -05:00
nw nwg-hello: init at 0.1.6 2024-02-01 08:11:03 -06:00
oa oam-tools: init at 0.1.2 2024-01-28 18:15:25 +01:00
ob obsidian-export: init at 23.12.0 2024-01-23 15:42:11 +01:00
oc ocenaudio: fix url 2024-02-09 14:09:22 +00:00
oe/oelint-adv oelint-adv: 4.1.0 -> 4.1.1 2024-02-03 11:57:20 +00:00
of/offpunk offpunk: convert to buildPythonApplication 2024-01-31 01:47:49 +02:00
oh/oh-my-fish
on treewide: replace lib/${python.libPrefix}/site-packages with its shorthand ${python.sitePackages} 2024-01-30 19:56:57 +01:00
op Merge pull request #283850 from TomaSajt/openrocket 2024-02-05 00:33:25 +01:00
or orchard: 0.15.0 -> 0.15.1 2024-02-06 06:02:59 +00:00
ot oterm: 0.1.21 -> 0.1.22 2024-02-01 23:38:27 +00:00
ou/outputcheck
ov
ow/owncloud-client
pa parallel-disk-usage: ignore broken test 2024-02-07 07:56:09 +00:00
pd pdf-sign: fix version name, simplify installPhase, move to pkgs/by-name 2024-02-07 20:12:13 +01:00
pe Merge pull request #282470 from raspher/peergos 2024-02-08 01:29:32 +00:00
pf/pfft pfft: init at 1.0.8-alpha 2024-01-18 10:21:01 +01:00
pg pget: init at 0.2.1 2024-02-07 21:02:33 +04:00
ph phpunit: 10.5.1 -> 11.0.2 2024-02-08 08:21:42 +01:00
pi Merge pull request #280590 from Liassica/add-pio 2024-02-03 10:55:43 +01:00
pk/pkcrack
pl plzip: 1.10 -> 1.11 2024-02-09 11:09:15 +00:00
pm pmtiles: 1.14.0 -> 1.14.1 2024-02-08 07:19:52 +00:00
pn/pnfft pnfft: init at 1.0.7-alpha 2024-01-18 10:21:02 +01:00
po posterazor: minor improvements 2024-02-06 16:41:33 +01:00
pp/ppsspp ppsspp: 1.17 -> 1.17.1 2024-02-05 07:12:45 +00:00
pr Merge pull request #282432 from r-ryantm/auto-update/prr 2024-02-04 23:58:04 +01:00
pt/pterm
pu pupdate: 3.2.0 -> 3.2.1 2024-02-04 05:04:52 +00:00
pw
px/pxder
py pysqlrecon: 0.1.3 -> 0.1.4 2024-02-07 12:00:00 +00:00
pz/pzip
qa/qadwaitadecorations qadwaitadecorations-qt6: 0.1.3 -> 0.1.4 2024-01-26 12:40:37 +00:00
qc/qcm qcm: init at 1.0.2 2024-02-09 00:42:18 +08:00
qg/qgrep qgrep: 1.1 -> 1.3 2024-01-18 04:35:52 +01:00
qr qrtool: 0.10.2 -> 0.10.4 2024-01-22 14:57:21 +00:00
qs qsreplace: init at 0.0.3 2024-01-29 04:29:08 +00:00
qt/qtractor qtractor: 0.9.25 -> 0.9.38 2024-01-24 01:08:20 +01:00
qu quicktype: 23.0.80 -> 23.0.81 2024-01-17 04:20:00 +00:00
ra rage: migrate to by-name 2024-02-04 04:20:00 +00:00
rc Merge pull request #281048 from iynaix/bump-rclip 2024-02-06 18:02:11 +01:00
re renode-unstable: 1.14.0+20240119git1a0826937 -> 1.14.0+20240130git6e173a1bb 2024-02-05 22:01:34 +00:00
ri ricochet-refresh: init at 3.0.18 2024-01-24 11:14:06 +01:00
rm/rmg rmg: Fix licensing 2024-01-28 22:33:51 +01:00
ro
rp/rpcs3
rq/rqbit rqbit: 5.4.1 -> 5.4.2 2024-01-21 04:20:00 +00:00
rs
rt/rtl-sdr-osmocom
ru rustdesk-flutter: init at unstable-2024-02-03 2024-02-05 12:23:22 +01:00
s3/s3scanner
sa
sc scitoken-cpp: init at v1.1.0 2024-02-07 21:28:00 +01:00
sd
se Merge pull request #255185 from StarGate01/nrfconnect 2024-02-06 21:20:50 +01:00
sg/sgfutils
sh shopware-cli: 0.4.18 -> 0.4.22 2024-01-31 17:42:56 +00:00
si signal-export: 1.8.0 -> 1.8.1 2024-02-06 17:24:09 +00:00
sl
sm smuview: init at 0.0.5-unstable-2023-04-12 2024-02-08 21:53:09 +01:00
sn snicat: set ldflags 2024-02-06 23:17:47 +08:00
so
sp spicetify-cli: 2.31.0 -> 2.31.1 2024-02-10 02:49:15 +00:00
sq/sqlite-vss
sr srm-cuarzo: 0.5.0-1 -> 0.5.1-1 2024-02-09 20:23:35 +00:00
ss
st Merge pull request #282459 from aaronjheng/starlark 2024-01-23 22:12:30 -05:00
su supersonic: 0.8.2 -> 0.9.0 2024-01-28 02:52:18 +10:00
sv svp: init at 4.5.210-2 2024-01-27 13:58:55 -08:00
sw Merge pull request #282067 from michaelgrahamevans/switcheroo 2024-02-03 17:26:55 +01:00
sx
sy Merge pull request #284119 from vifino/syslog-ng-4.6.0 2024-01-30 08:12:57 -05:00
ta tailscale-nginx-auth: 1.58.0 -> 1.58.2 2024-01-27 23:40:34 +00:00
tc/tcsh
td/tdl tdl: init at 0.15.1 2024-02-07 13:12:30 +04:00
te Merge pull request #286147 from gangaram-tii/pr/tetragon 2024-02-06 15:29:05 +01:00
th
ti Merge pull request #286881 from r-ryantm/auto-update/tilda 2024-02-09 22:10:19 +01:00
tk/tkdiff
tl tlmi-auth: enable cross-compliation by correctly classifying dependencies 2024-02-03 12:13:37 +01:00
tm/tmuxifier
to toml-cli: init at 0.2.3 2024-01-23 11:50:09 +08:00
tp
tr trealla: 2.33.0 -> 2.34.0 2024-01-24 17:44:12 -03:00
tt/ttop
tu tuxclocker: 1.4.0 -> 1.5.0 2024-01-31 15:40:32 +02:00
tx/txr
ty typodermic-free-fonts: init at 2023a 2024-01-20 14:56:54 +00:00
uc uchecker: init at 0.1.2 2024-01-16 22:36:01 +01:00
ud udebug: unstable-2023-11-28 -> unstable-2023-12-06 2024-01-22 01:42:09 +01:00
ue/uemacs uemacs: init at 4.0-unstable-2018-07-19 2024-01-19 20:30:47 +01:00
ui uiua: 0.7.1 -> 0.8.0 2024-01-31 18:19:23 +01:00
um/umpire umpire: init at 2023.06.0 2024-01-30 10:43:43 +01:00
un unbook: 0.7.3 -> 0.8.2 2024-01-13 19:21:32 -08:00
up uplosi: add shell completion 2024-01-26 16:30:58 +01:00
us/usql usql: 0.17.4 -> 0.17.5 2024-01-18 04:20:00 +00:00
ut/ut
uu/uuu
ux/uxn uxn: unstable-2024-01-21 -> unstable-2024-02-07 2024-02-07 21:21:33 +00:00
va/valijson
vc vcpkg-tool: 2024-01-11 -> 2024-02-05 2024-02-07 08:10:18 +00:00
ve ventoy: 1.0.96 -> 1.0.97 2024-01-24 10:27:33 -03:00
vg/vgm2x
vi vinegar: 1.6.0 -> 1.6.1 2024-01-24 12:11:52 +00:00
vu/vulkan-volk libplacebo_5, vulkan-volk: move to by-name 2024-01-21 14:25:59 +03:00
wa wait4x: 2.13.0 -> 2.14.0 2024-01-25 12:07:26 +00:00
wb/wb32-dfu-updater
we websploit: move to pkgs/by-name 2024-01-17 10:58:02 +01:00
wh whistle: 2.9.63 -> 2.9.64 2024-02-01 04:49:14 +00:00
wi Merge pull request #282164 from arikgrahl/wireguard-vanity-keygen 2024-01-21 23:58:43 +01:00
wl wl-clipboard-rs: init at 0.8.0-unstable-2023-11-27 2024-01-13 00:45:42 +00:00
wo worker: 5.0.0 -> 5.0.1 2024-01-26 21:21:41 +00:00
wp/wp-cli
ws/wslay
wt/wtfis
x1/x16
xa/xarcan
xd
xf/xfs-undelete xfs_undelete: init at unstable-2023-04-12 2024-01-19 22:08:05 +04:00
xi/xib2nib plistcpp: migrate to by-name, refactor 2024-01-13 07:17:08 +01:00
xm xmpp-bridge: init at 0.6.0 2024-01-18 09:22:17 -08:00
xo xonsh: 0.14.0 -> 0.14.4 (#282368) 2024-02-04 23:06:22 +01:00
xp/xplr
xs Add appres to the path for xscreensaver 2024-02-01 18:03:37 +13:00
xw/xwayland-run
ya/yanic yanic: init at 1.5.0 2024-01-25 09:12:00 +01:00
ye rustdesk-server: init module 2024-01-23 18:01:54 +01:00
yg/yggdrasil yggdrasil: 0.5.4 -> 0.5.5 2024-01-29 18:48:36 +00:00
yj/yj yj: add meta.mainProgram, move to by-name 2024-01-25 02:46:57 +08:00
yo Merge pull request #282952 from purcell/youplot 2024-02-01 18:16:22 -05:00
yt
yu/yunfaavatar
za/zapzap zapzap: 4.5.5.2 -> 5.1.3 2024-01-17 00:26:28 +01:00
zb/zbus-xmlgen
zc/zcfan
ze/zesarux
zi Merge pull request #277643 from Sorixelle/zitadel-fixes 2024-02-02 16:38:05 +00:00
zo/zola
zp zpaqfranz: 58.11 -> 59.1 2024-01-20 14:56:40 +00:00
zs/zs
zu/zug
zw/zwave-js-server
zx
README.md tests.nixpkgs-check-by-name: Enforce pkgs/by-name for new packages 2024-01-10 19:29:26 +01:00

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

$ ./pkgs/test/nixpkgs-check-by-name/scripts/run-local.sh master

See here for more info.