nixpkgs/pkgs/by-name
2024-09-30 15:54:53 +02:00
..
_0
_1
_2/_2ship2harkinian
_4
_6/_64gram
_9
a4/a4
a5/a52dec
aa
ab
ac ac-library: init at 1.5.1 (#338071) 2024-09-30 07:33:06 +10:00
ad
ae
af
ag
ai
al albert: 0.26.3 -> 0.26.4 2024-09-29 23:47:34 +00:00
am amber-lang: 0.3.3-alpha -> 0.3.5-alpha, passthru.updateScript (#340439) 2024-09-27 16:20:31 +02:00
an
ao/aocl-utils
ap application-title-bar: 0.7.2 -> 0.7.3 2024-09-29 06:03:59 +00:00
aq/aquamarine
ar arti: add rapiteanu as maintainer 2024-09-28 23:46:22 +03:00
as treewide: replace passthru.optional-dependencies with optional-dependencies (#345232) 2024-09-30 15:41:25 +02:00
at
au autotrash: move to pkgs/by-name and include manpage (#343855) 2024-09-29 10:17:02 +09:00
av arvo-tools: move to by-name and modernize derivation (#343860) 2024-09-27 02:48:58 +02:00
aw awscli2: 2.17.42 -> 2.17.56; unpin python; nixfmt-rfc-style (#343221) 2024-09-26 16:42:44 -04:00
ax
ay
az
b3/b3sum
ba basedpyright: unvendor docify 2024-09-27 07:39:47 +02:00
bc
bd
be bee: 2.1.0 -> 2.2.0 2024-09-26 23:29:54 +02:00
bi bicep: 0.30.3 -> 0.30.23 (#345377) 2024-09-30 00:02:46 +00:00
bk/bk
bl bluemap: 3.21 -> 5.4 (#332245) 2024-09-29 14:05:29 +02:00
bm
bn/bngblaster
bo boxed-cpp: 1.4.2 -> 1.4.3 2024-09-27 03:20:31 +00:00
bp
bq/bqn
br
bs
bt
bu
by
c-
c2
ca caido: 0.40 -> 0.41 (#344501) 2024-09-26 18:53:39 +10:00
cb
cc
cd
ce treewide: drop explicitly added pythonRelaxDepsHook (#341842) 2024-09-27 01:13:09 +02:00
cf/cf-tool
cg
ch chess-clock: 0.6.0 -> 0.6.1 (#344378) 2024-09-28 14:56:12 +02:00
ci civo: 1.0.90 -> 1.0.91 (#344578) 2024-09-26 16:13:30 -04:00
cj/cjs
cl cloudlens: fix darwin build 2024-09-29 21:34:47 +02:00
cm
cn
co treewide: replace passthru.optional-dependencies with optional-dependencies (#345232) 2024-09-30 15:41:25 +02:00
cp cp2k: move to pkgs/by-name 2024-09-27 10:54:24 +02:00
cq/cq
cr
cs
ct/ctx
cu
cv/cvemap
cw/cwe-client-cli
cy cyme: 1.8.3 -> 1.8.4 2024-09-28 09:55:01 +00:00
cz/czkawka
da dablin: move to pkgs/by-name 2024-09-26 23:35:04 +02:00
db
dc
dd
de dethrace: init at 0.8.0 2024-09-27 15:27:03 +00:00
dg
dh/dhcpig
di
dj/djent
dm
dn
do doggo: 1.0.4 -> 1.0.5 2024-09-30 12:17:56 +02:00
dp
dr
ds
dt
du
dv
dw dwlb: init at 0-unstable-2024-05-16 2024-09-27 16:56:25 +08:00
dx
dy
e1/e1s
ea
eb
ec
ed
ee/eepers
ef eflite: add bot-wxt1221 as maintainers; fix build 2024-09-28 10:33:45 +08:00
eg/eg25-manager
ei
ej
ek eksctl: 0.190.0 -> 0.191.0 2024-09-27 03:14:36 +00:00
el
em
en
eo/eog
ep
er eris-go: 20240826 -> 20240920 2024-09-26 16:16:14 +00:00
es
et
eu
ev
ew
ex
ey/eyewitness
ez/eza eza: fix version in man page (#345185) 2024-09-29 05:00:44 +02:00
f2/f2fs-tools
fa fastfetch: 2.26.0 -> 2.26.1 2024-09-29 09:50:36 -05:00
fb/fbset
fc maintainers: rename oo-infty to oosquare 2024-09-30 15:35:17 +08:00
fd/fdroidserver
fe fedimint: 0.4.2 -> 0.4.3 2024-09-28 03:47:19 +00:00
ff
fg/fgqcanvas
fi firefoxpwa: 2.12.4 -> 2.12.5 (#345250) 2024-09-29 07:41:50 -04:00
fj/fjo
fl
fm
fn/fnott
fo
fr freecad: 1.0rc1 → 1.0rc2 2024-09-27 03:43:12 +01:00
fs
ft
fu
fv
fw/fwupd
fx/fx
fy
fz
g3/g3kb-switch
ga gamescope: 3.15.9 -> 3.15.11 (#345024) 2024-09-28 08:54:27 +03:00
gb
gc gcs: 5.21.0 -> 5.27.0 2024-09-28 00:37:32 +02:00
gd
ge
gf
gg/gg
gh
gi githooks: 3.0.3 -> 3.0.4 2024-09-30 03:08:11 +00:00
gk/gk-cli
gl glance: 0.6.1 -> 0.6.2 2024-09-30 00:35:33 +00:00
gm
gn
go golex: init at 1.1.0 (#345323) 2024-09-30 04:18:05 +02:00
gp gpt4all: 3.2.1 -> 3.3.0 (#344001) 2024-09-26 18:48:00 -06:00
gr gren: init at 0.4.5 (#344666) 2024-09-30 17:03:40 +09:00
gt
gu
gv/gvisor
gx
gz/gzdoom
h2/h2
h5/h5utils
h8/h8mail
ha harmonia: 1.0.1 -> 1.0.2 2024-09-26 10:26:12 +00:00
hb/hb-honeypot
hc/hclfmt
hd
he heptabase: 1.39.0 -> 1.40.0 2024-09-29 20:41:16 +00:00
hi
hj/hjson-go
hn/hn-text
ho treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07:00
hp
hr/hred hred: 1.5.0 -> 1.5.1 2024-09-27 16:30:48 -04:00
ht httm: 0.43.0 -> 0.43.2 (#344627) 2024-09-26 16:25:05 -04:00
hu hurl: add versionCheckHook 2024-09-28 22:42:37 +02:00
hv/hvm
hw/hwinfo
hx/hxtools
hy
i2/i2p
i3
ia
ic
id
if
ig
ii
ij
im imsprog: 1.4.3 -> 1.4.4 (#343972) 2024-09-30 21:59:00 +09:00
in
io
ip ipxe: 1.21.1-unstable-2024-09-13 -> 1.21.1-unstable-2024-09-27 2024-09-27 17:06:49 +00:00
ir irust: 1.71.23 -> 1.71.24 2024-09-28 22:38:00 +00:00
is isponsorblocktv: init at 2.2.1 (#343585) 2024-09-29 17:18:16 +01:00
it
iu/iucode-tool
iv
iw
iz/izrss
j/j
ja
jc/jcli
jd/jdt-language-server
je
ji treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07:00
jj/jj
jn
jo
jp/jp-zip-codes
jq/jq-zsh-plugin
jr
js
jt/jtdx
ju
jw/jwasm
k8/k8s-manifest-sigstore
ka
kb/kbld
kc
kd
ke
kg/kgeotag
ki
kl
km
kn
ko
kp/kplex
kr
ks
kt
ku
kv/kvmarwaita
kw/kwok
kx
ky
la lammps: move to pkgs/by-name 2024-09-30 09:10:23 +03:00
lb
lc
ld
le leiningen: moved to by-name and modernized derivation (#344459) 2024-09-27 02:46:35 +02:00
lg/lgogdownloader
li libsbml: 5.20.2 -> 5.20.4 and add python support (#344137) 2024-09-30 09:24:52 +02:00
lk/lk-jwt-service
ll llama-cpp: 3772 -> 3829 2024-09-28 06:09:03 +00:00
lm
ln/lngen
lo
lp
lr/lrcget
ls
lt/ltris
lu lunar-client: 3.2.17 -> 3.2.18 2024-09-29 10:13:33 -03:00
lv/lv_font_conv
lw
lx maintainers: rename oo-infty to oosquare 2024-09-30 15:35:17 +08:00
lz
m1/m1ddc
m2
ma maa-assistant-arknights: 5.6.1 -> 5.6.2 (#344861) 2024-09-27 16:45:17 +00:00
mb
mc mcdreforged: 2.13.1 -> 2.13.2 2024-09-27 10:36:02 +00:00
md mdbook-alerts: 0.6.5 -> 0.6.6 2024-09-29 01:51:59 +00:00
me metacubexd: 1.149.0 -> 1.150.0 2024-09-28 23:30:11 +00:00
mf
mg
mi mission-center: 0.5.2 -> 0.6.0 (#345332) 2024-09-29 20:48:55 +02:00
mk
ml/mlx42
mo mov-cli: 4.4.12 -> 4.4.14 (#344095) 2024-09-30 21:47:54 +09:00
mp
mq
mr/mricron
ms
mu musicpod: 1.11.0 -> 1.12.0 (#344101) 2024-09-27 10:38:26 +08:00
my mycelium: 0.5.4 -> 0.5.5 2024-09-30 10:33:11 +00:00
n2/n2
n8/n8n
n9/n98-magerun2
na navidrome: 0.53.2 -> 0.53.3 2024-09-28 22:14:41 +00:00
nb
nc
nd/ndstrim
ne
nf
ng ngrok: 3.14.0 -> 3.16.0 2024-09-26 22:09:03 +02:00
nh
ni nix-your-shell: move to pkgs/by-name, format with nixfmt-rfc-style (#344766) 2024-09-29 12:45:46 -06:00
nl
nm
nn
no nodemon: 3.1.4 -> 3.1.7 2024-09-28 07:33:12 +00:00
np
nr
ns
nt
nu
nv
nw
nx/nxengine-evo
nz
oa
ob
oc octoscan: 0.1.0 -> 0.1.1 2024-09-26 10:57:53 +02:00
od
oe/oelint-adv
of treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07:00
og/oguri
oh
oi oidc-agent: 5.2.1 -> 5.2.2 2024-09-26 09:25:21 +00:00
ok
ol ollama: 0.3.11 -> 0.3.12 2024-09-28 18:34:11 +02:00
om omnom: init at 0-unstable-2024-08-29 (#339846) 2024-09-26 14:13:40 +02:00
on onedrive: 2.5.0 -> 2.5.1 2024-09-27 08:22:39 +00:00
oo
op openjph: 0.15.0 -> 0.17.0 (#343896) 2024-09-30 22:01:12 +09:00
oq/oqs-provider
or orchard: 0.23.2 -> 0.24.0 2024-09-28 03:14:33 +00:00
os
ot
ou
ov
ow
pa paru: 2.0.3 -> 2.0.4 2024-09-29 23:34:12 +02:00
pc
pd pdi: init at 1.7.1 2024-09-30 13:29:54 +02:00
pe peergos: 0.19.0 -> 0.20.0 2024-09-27 11:51:04 +00:00
pf
pg pgmoneta: 0.13.0 -> 0.14.0 (#341538) 2024-09-27 00:35:59 +02:00
ph phpunit: 11.3.1 -> 11.3.6 (#344880) 2024-09-28 22:43:27 +02:00
pi picom-pijulius: 8.2-unstable-2024-09-14 -> 8.2-unstable-2024-09-27 2024-09-30 00:54:16 +00:00
pk
pl plasticity: 24.2.0 -> 24.2.3 (#343862) 2024-09-30 22:07:49 +09:00
pm
pn
po treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07:00
pp/ppsspp
pq
pr pretix: 2024.8.0 -> 2024.9.0 2024-09-27 14:27:12 +02:00
ps
pt
pu pupdate: 3.15.0 -> 3.18.0 2024-09-28 15:04:29 +00:00
pv
pw
px/pxder
py pylyzer: 0.0.62 -> 0.0.63 2024-09-26 13:05:03 +02:00
pz/pzip
qa/qadwaitadecorations
qb/qbittorrent-enhanced
qc/qcm
qd
qg
qm/qmplay2
qn/qnial
qo/qodem
qp/qpoases
qq/qq qq: 3.2.12-2024.9.2 -> 3.2.12-2024.9.27 2024-09-28 07:32:54 +00:00
qr
qs
qt
qu quill-log: 7.1.0 -> 7.2.2 2024-09-28 04:37:07 +00:00
qw/qwerty-fr
r0/r0vm
r1/r10k
ra rainfrog: 0.2.5 -> 0.2.6 2024-09-30 00:21:34 +03:00
rc
rd/rdwatool
re renode-dts2repl: 0-unstable-2024-09-20 -> 0-unstable-2024-09-27 2024-09-30 09:25:47 +00:00
rf/rfdump
rh/rHttp
ri
rk
rl/rl_json
rm
rn
ro roddhjav-apparmor-rules: 0-unstable-2024-09-19 -> 0-unstable-2024-09-27 2024-09-30 01:39:58 +00:00
rp rpcs3: 0.0.33-16930-d1648dd70 -> 0.0.33-16959-60b5adab6 2024-09-26 11:40:41 +00:00
rq
rr/rrdtool
rs
rt
ru ruff: 0.6.7 -> 0.6.8 2024-09-26 17:05:33 +02:00
rw/rwpspread
rx/rxvt
ry rye: 0.40.0 -> 0.41.0 2024-09-29 22:02:08 +02:00
s0/s0ix-selftest-tool s0ix-selftest-tool: 0-unstable-2024-08-20 -> 0-unstable-2024-09-22 2024-09-27 00:17:40 +00:00
s3
sa sasquatch: 4.4 -> 4.5.1-1 (#219169) 2024-09-27 18:31:13 -03:00
sb
sc
sd
se sesh: 2.2.0 -> 2.4.0 2024-09-28 04:41:50 +00:00
sf
sg/sgfutils
sh treewide: drop explicitly added pythonRelaxDepsHook (#341842) 2024-09-27 01:13:09 +02:00
si simplex-chat-desktop: 6.0.4 -> 6.0.5 2024-09-28 14:32:51 +00:00
sk skypeforlinux: 8.127.0.200 -> 8.129.0.201 2024-09-27 05:50:52 +00:00
sl slskd: add version test 2024-09-27 19:35:01 -04:00
sm smbclient-ng: init at 2.1.5 (#344394) 2024-09-27 09:10:14 +02:00
sn
so soplex: 7.1.0 -> 7.1.1 (#342870) 2024-09-27 02:43:02 +02:00
sp spade: update updateScript 2024-09-28 02:23:34 +02:00
sq sqlite-vec: 0.1.2 -> 0.1.3 2024-09-26 17:26:08 +00:00
sr srgn: 0.13.1 -> 0.13.2 2024-09-29 03:13:23 -04:00
ss
st treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07:00
su superhtml: init at 0.5.0 2024-09-29 14:21:01 +00:00
sv
sw swim: init at 0.10.0 (#344979) 2024-09-29 23:29:35 +02:00
sx
sy sysdig-cli-scanner: 1.15.0 -> 1.17.0 2024-09-27 21:09:13 +00:00
t-/t-rex
ta
tb/tbump
tc
td
te tex-fmt: init at 0.4.3 (#341818) 2024-09-28 15:37:54 +02:00
tg
th
ti tinymist: 0.11.20 -> 0.11.22 2024-09-30 08:45:28 +02:00
tk
tl
tm
to tor-browser: 13.5.4 -> 13.5.5 2024-09-28 11:07:49 +00:00
tp
tr troubadix: 24.9.2 -> 24.9.4 2024-09-29 00:35:21 +00:00
ts
tt
tu turtle: 0.9 -> 0.10 2024-09-27 01:13:34 +08:00
tw twitch-dl: add ffmpeg to application path 2024-09-29 16:28:06 +02:00
tx
ty
u-/u-config
ub
uc
ud
ue
ug maintainers: rename oo-infty to oosquare 2024-09-30 15:35:17 +08:00
uh/uhttpmock_1_0
ui
um/umpire
un
up
ur
us
ut
uu/uuu
uv/uv
uw
ux
va vale{,Styles}: move to by-name 2024-09-27 13:54:09 +02:00
vc
vd/vdhcoapp
ve veracrypt: 1.26.7 -> 1.26.15 (#344488) 2024-09-30 13:43:57 +02:00
vf/vfkit
vg
vi
vk
vl
vm
vn
vo
vp
vr/vrcadvert
vs
vu vunnel: 0.27.0 -> 0.28.0 2024-09-26 20:26:40 +02:00
vv/vvvvvv
vw/vwsfriend
vz/vzic
wa waybar: add systemdSupport input 2024-09-29 17:56:04 +05:30
wb
wc/wcurl
we werf: 2.10.6 -> 2.10.7 2024-09-28 18:52:11 +00:00
wf/wf-touch
wg/wg-access-server
wh
wi
wl
wo
wp
wr/wrangler
ws
wt
wu/wush
wv
wx/wxc
wy/wyoming-satellite treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07:00
x1/x16
x5/x509-limbo
xa
xc
xd
xe teams: create the Xen Project Team and rename instances of Xen to Xen Project. (#344314) 2024-09-28 15:57:32 +01:00
xf/xfs-undelete
xh/xhosts
xi
xl
xm
xn/xnlinkfinder
xo
xp
xr
xs
xt/xtf treewide: assign maintainership of the Xen-related packages to the Xen Project Hypervisor Team 2024-09-28 14:53:59 +00:00
xu/xunit-viewer
xv/xviewer
xw
ya yamlscript: 0.1.75 -> 0.1.76 2024-09-27 07:13:20 +00:00
yc/ycmd
yd/ydotool
ye
yg
yj/yj
yo youki: fix cross compilation 2024-09-29 09:37:27 -04:00
yp/ypbind-mt
ys/ysfx
yt
yu yutto: 2.0.0-beta.40 -> 2.0.0-beta.43 2024-09-28 18:17:55 +02:00
za
zb/zbus-xmlgen
zc
ze zed-editor: 0.154.2 -> 0.154.3 2024-09-28 00:32:25 -04:00
zf/zfind
zi
zl/zluda
zm/zmkBATx
zo treewide: drop explicitly added pythonRelaxDepsHook (#341842) 2024-09-27 01:13:09 +02:00
zp python312Packages.zpp, zpp: init at 1.1.0 2024-09-30 13:29:54 +02:00
zs
zu
zw/zwave-js-server
zx
zy/zydis
zz/zziplib
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 attribute name corresponding to the package, and so is the lowercase 2-letter prefix of the attribute 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. Since it would take a lot of contributor and reviewer time to migrate all packages manually, an automated migration is planned, though it is expected to still take some time to get done. If you're interested in helping out with this effort, please see this ticket.

Since only PRs to packages in pkgs/by-name can be automatically merged, if package maintainers would like to use this feature, they are welcome to migrate their packages to pkgs/by-name. To lessen PR traffic, they're encouraged to also perform some more general maintenance on the package in the same PR, though this is not required and must not be expected.

Note that definitions in all-packages.nix with custom arguments should not be removed. 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-vet tool.

You can locally emulate the CI check using

$ ./ci/nixpkgs-vet.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;
}