nixpkgs/pkgs/by-name
2024-09-24 00:06:00 +08:00
..
_0
_1
_2/_2ship2harkinian
_4
_6/_64gram
_9
a4/a4
a5/a52dec
aa
ab abpoa: 1.5.2 -> 1.5.3 2024-09-19 01:19:01 +00:00
ac actionlint: moved to by-name and modernized derivation 2024-09-22 18:13:43 +09:00
ad
ae
af
ag
ai aider-chat: 0.56.0 -> 0.57.0 2024-09-22 12:30:53 -04:00
al aliae: init at 0.22.1 (#339118) 2024-09-23 13:33:05 +01:00
am
an ananicy-rules-cachyos: 0-unstable-2024-08-26 -> 0-unstable-2024-09-18 (#343850) 2024-09-23 09:29:08 -04:00
ao/aocl-utils
ap apostrophe: fix latex rendering by providing local mathjax 2024-09-23 22:29:23 +08:00
aq/aquamarine
ar arc-browser: 1.58.1-53264 -> 1.61.0-53949 2024-09-20 19:49:49 +03:00
as astartectl: 24.5.0 -> 24.5.2 2024-09-22 23:26:00 +00:00
at
au autologin: init at 1.0.0 (#340557) 2024-09-23 22:45:27 +08:00
av
aw
ax
ay
az
b3/b3sum
ba backrest: init at 1.5.0 (#342141) 2024-09-20 22:06:40 +08:00
bc
bd
be
bi electron_32: init at 32.1.1, bitwarden-desktop: 2024.8.2 -> 2024.9.0 (#343097) 2024-09-23 07:31:56 -07:00
bk/bk
bl
bm
bn/bngblaster
bo boilr: fix build 2024-09-23 15:16:28 +08:00
bp
bq/bqn
br bruno: 1.28.0 -> 1.29.1 2024-09-20 07:46:58 +00:00
bs
bt
bu
by byedpi: 0.13.1 -> 0.14.1 2024-09-22 00:34:29 +03:00
c-
c2
ca capslock: 0.2.4 -> 0.2.5 2024-09-21 22:49:43 +00:00
cb python312Packages.blessings: drop (#336152) 2024-09-22 15:25:12 +01:00
cc
cd
ce
cf/cf-tool
cg
ch chirp: 0.4.0-unstable-2024-09-05 -> 0.4.0-unstable-2024-09-19 2024-09-20 10:20:09 +00:00
ci cirrus-cli: 0.126.0 -> 0.126.1 2024-09-21 01:20:40 +00:00
cj/cjs
cl clash-verge: remove (#342557) 2024-09-22 01:41:17 +02:00
cm
cn
co compose2nix: 0.2.2 -> 0.2.3 2024-09-23 00:40:51 +00:00
cp
cq/cq
cr crossplane-cli: 1.16.1 -> 1.17.1 2024-09-21 08:59:49 +00:00
cs
ct/ctx
cu
cv/cvemap
cw/cwe-client-cli
cy
cz/czkawka
da
db dbeaver-bin: 24.2.0 -> 24.2.1 2024-09-23 03:45:12 +00:00
dc
dd
de nixos/dependency-track: add nixos test 2024-09-22 16:38:45 +02:00
dg
dh/dhcpig
di disko: depend on nixos-install directly (#342320) 2024-09-21 14:42:58 +02:00
dj/djent
dm
dn
do dopamine: 3.0.0-preview.33 -> 3.0.0-preview.34 (#343809) 2024-09-23 09:24:26 -04:00
dp
dr
ds
dt
du dumbpipe: 0.16.0 -> 0.17.0 2024-09-21 22:36:48 +00:00
dv
dw
dx
dy dynamips: add anthonyroussel to maintainers 2024-09-22 20:29:31 +02:00
e1/e1s
ea easytier: init at 1.2.3 (#339616) 2024-09-23 20:21:11 +08:00
eb
ec
ed
ee/eepers
ef/efibootmgr
eg/eg25-manager
ei eiquadprog: build documentation 2024-09-18 23:27:16 +02:00
ej/ejsonkms
ek
el elvis: modernize 2024-09-19 22:00:06 -03:00
em
en envision-unwrapped: 0-unstable-2024-09-09 -> 0-unstable-2024-09-21 2024-09-21 19:59:12 +00:00
eo/eog
ep
er
es
et
eu
ev
ew
ex example-robot-data: build documentation 2024-09-18 23:26:26 +02:00
ey/eyewitness
ez/eza
f2/f2fs-tools
fa fastfetch: 2.24.0 -> 2.25.0 2024-09-18 20:44:10 -06:00
fb/fbset
fc
fd/fdroidserver
fe
ff
fg/fgqcanvas
fi firefly-iii-data-importer: 1.5.5 -> 1.5.6 (#341746) 2024-09-23 16:00:43 +02:00
fj/fjo
fl flexget: 3.11.45 -> 3.11.46 2024-09-23 09:41:12 +00:00
fm
fn/fnott
fo
fr
fs
ft
fu
fv
fw/fwupd
fx/fx
fy
fz
g3/g3kb-switch
ga
gb
gc
gd
ge gen-license: 0.1.2 -> 0.1.4 (#321190) 2024-09-22 19:05:42 +08:00
gf
gg/gg
gh
gi gitlab-ci-ls: 0.21.1 -> 0.21.2 2024-09-23 01:18:04 +00:00
gk/gk-cli
gl glance: 0.6.0 -> 0.6.1 2024-09-20 08:50:58 +00:00
gm
gn treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00
go google-chrome: 128.0.6613.138 -> 129.0.6668.59 (Darwin) 2024-09-22 23:19:54 +05:30
gp globalprotect-openconnect: add core logic and packages for 2.x releases 2024-09-21 10:36:31 -07:00
gr granian: init at 1.5.2 (#337746) 2024-09-21 08:44:06 +08:00
gt
gu
gv/gvisor
gx
gz/gzdoom
h2/h2
h5/h5utils
h8/h8mail
ha halloy: 2024.08 -> 2024.11 (#341510) 2024-09-23 08:38:48 +02:00
hb/hb-honeypot
hc/hclfmt
hd
he nixos: remove environment.noXlibs (#341717) 2024-09-22 16:25:00 +01:00
hi
hj/hjson-go
hn/hn-text
ho home-manager: 0-unstable-2024-09-09 -> 0-unstable-2024-09-21 2024-09-22 00:47:15 +00:00
hp
ht htgettoken: 2.0 -> 2.0-2 2024-09-19 18:34:52 -04:00
hu hugo: 0.134.2 -> 0.134.3 2024-09-20 17:18:57 +08:00
hv/hvm
hw/hwinfo
hx/hxtools
hy hyprutils: 0.2.1 -> 0.2.2 2024-09-22 21:56:31 +05:30
i2/i2p
i3
ia
ic
id
if
ig ignite-cli: 28.5.2 -> 28.5.3 2024-09-23 10:54:26 +00:00
ii
ij
im
in lxc/incus LTS upgrades: 6.0.1 -> 6.0.2 (#343058) 2024-09-20 12:42:44 -04:00
io
ip
ir
is
it
iu/iucode-tool
iv
iw/iw
iz/izrss
j/j
ja jan: 0.5.3 -> 0.5.4 2024-09-22 09:05:18 +00:00
jc/jcli
jd/jdt-language-server
je
ji
jj/jj
jn
jo
jp/jp-zip-codes jp-zip-codes: 0-unstable-2024-08-01 -> 0-unstable-2024-09-01 2024-09-22 08:27:04 +00:00
jq/jq-zsh-plugin
jr
js
jt/jtdx
ju
jw/jwasm
k8/k8s-manifest-sigstore
ka kara: init at 0.7.1 (#340630) 2024-09-19 23:13:45 +02:00
kc
kd
ke
kg/kgeotag
ki
kl klong: init at 20221212 2024-09-20 22:28:43 +00:00
km
kn
ko
kp/kplex
kr
ks
kt
ku
kv/kvmarwaita
kw/kwok
kx
ky
la python312Packages.latexrestricted: init at 0.4.0; latexminted: 0.1.0b9 -> 0.1.0b16 (#339361) 2024-09-23 07:34:48 -03:00
lb
lc
ld
le
lg/lgogdownloader
li lianad: init at 6.0 (#323696) 2024-09-21 09:22:45 +08:00
lk/lk-jwt-service
ll
lm treewide: remove CMAKE_BUILD_TYPE from cmakeFlags (#336854) 2024-09-19 22:32:31 +02:00
ln/lngen
lo
lp
lr/lrcget
ls
lt/ltris
lu packages luarocks updater as pyproject package (#343584) 2024-09-22 21:15:41 +02:00
lv/lv_font_conv
lw
lx lxcfs: 6.0.1 -> 6.0.2 2024-09-19 13:59:57 +00:00
lz
m1/m1ddc
m2
ma maestro: 1.37.9 -> 1.38.1 (#341887) 2024-09-23 08:41:06 -05:00
mb
mc
md
me merge-ut-dictionaries: 0-unstable-2024-08-28 -> 0-unstable-2024-09-09 2024-09-22 08:23:29 +00:00
mf
mg
mi misconfig-mapper: 1.8.4 -> 1.9.0 2024-09-21 13:18:59 +00:00
mk
ml/mlx42
mo mountpoint-s3: 1.9.0 -> 1.9.1 2024-09-23 12:14:49 +00:00
mp mpris-notifier: 0.1.9 -> 0.1.10 2024-09-22 07:43:00 +00:00
mq
mr/mricron
ms msolve: 0.7.1 -> 0.7.2 2024-09-19 02:11:56 +00:00
mu treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00
my
n2/n2
n8/n8n n8n: 1.57.0 -> 1.60.1 2024-09-22 00:24:17 +00:00
n9/n98-magerun2
na narsil: 1.3.0-85-g68f1491ca -> 1.3.0-187-g96d6b3bbd 2024-09-21 22:31:35 +00:00
nb
nc
nd/ndstrim
ne treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00
nf
ng
nh
ni disko: depend on nixos-install directly (#342320) 2024-09-21 14:42:58 +02:00
nl
nm
nn
no nosql-workbench: 3.11.0 -> 3.13.0 (#341548) 2024-09-19 22:59:51 +02:00
np
nr nrfutil: 7.11.1 -> 7.13.0 2024-09-20 14:27:24 +02:00
ns
nt ntpd-rs: 1.2.3 -> 1.3.0 2024-09-19 16:00:13 -04:00
nu
nv
nw nwg-drawer: 0.4.9 -> 0.5.0 2024-09-22 14:45:33 +00:00
nx/nxengine-evo
nz
oa
ob
oc
od
oe/oelint-adv
of
og/oguri
oh
oi oidc-agent: reformat code, fix wrong man page location (#339707) 2024-09-20 10:42:34 +02:00
ok
ol ollama: 0.3.10 -> 0.3.11 2024-09-19 09:27:19 -04:00
om
on onlyoffice-bin: 8.1.0 -> 8.1.1; rename to onlyoffice-desktopeditors 2024-09-20 08:50:57 +00:00
oo
op openmsx: 19.1 -> 20_0 (#343741) 2024-09-22 22:51:07 +00:00
oq/oqs-provider
or
os osm2pgsql: 1.11.0 → 2.0.0 2024-09-19 19:44:17 +04:00
ot
ou
ov overskride: 0.5.7 -> 0.6.0 2024-09-21 01:39:58 +00:00
ow
pa parallel-hashmap: 1.3.12 -> 1.4.0 2024-09-21 01:40:09 +00:00
pc
pd
pe pegtl: 3.2.7 -> 3.2.8 (#343048) 2024-09-20 18:13:40 -04:00
pf
pg
ph photini: 2024.5.0 -> 2024.9.1 2024-09-18 20:00:09 +00:00
pi pipet: init at 0.2.1 2024-09-22 16:39:51 +02:00
pk
pl plantuml-server: add anthonyroussel to maintainers 2024-09-22 16:46:06 +02:00
pm pmtiles: 1.21.0 -> 1.22.0 2024-09-22 07:54:41 +00:00
pn
po polenum: init at 1.6.1-unstable-2024-07-30 (#342832) 2024-09-20 17:19:01 +02:00
pp/ppsspp
pq
pr prometheus-elasticsearch-exporter: 1.7.0 -> 1.8.0 2024-09-20 18:23:44 +00:00
ps
pt
pu
pv
pw
px/pxder
py pylyzer: 0.0.61 -> 0.0.62 2024-09-19 13:11:56 +02:00
pz/pzip
qa/qadwaitadecorations
qb/qbittorrent-enhanced
qc/qcm
qd treewide: remove CMAKE_BUILD_TYPE from cmakeFlags (#336854) 2024-09-19 22:32:31 +02:00
qg
qm/qmplay2
qn/qnial
qo/qodem
qp/qpoases
qq/qq
qr qrtool: 0.11.4 -> 0.11.5 2024-09-23 02:36:10 +00:00
qs
qt
qu
qw/qwerty-fr
r0/r0vm
r1/r10k
ra raffi: 0.4.0 -> 0.5.1 (#342392) 2024-09-21 19:46:58 -07:00
rc rcu: 2024.001p -> 2024.001q (#341869) 2024-09-20 13:43:31 +02:00
rd/rdwatool
re renovate: 38.73.5 -> 38.93.1 2024-09-22 12:20:00 +00:00
rf/rfdump
rh/rHttp
ri treewide: remove CMAKE_BUILD_TYPE from cmakeFlags (#336854) 2024-09-19 22:32:31 +02:00
rk
rl/rl_json
rm
rn
ro rosa: 1.2.43 -> 1.2.45 (#343010) 2024-09-22 19:03:42 +08:00
rp
rq
rr/rrdtool
rs treewide: remove CMAKE_BUILD_TYPE from cmakeFlags (#336854) 2024-09-19 22:32:31 +02:00
rt
ru rustdesk-flutter: add missing libayatana-appindicator patch (#343742) 2024-09-23 09:02:59 +02:00
rw/rwpspread
rx/rxvt
ry
s0/s0ix-selftest-tool
s3 s3scanner: 3.1.0 -> 3.1.1 2024-09-21 08:05:48 +00:00
sa saunafs: 4.5.0 -> 4.5.1 2024-09-23 04:24:26 +00:00
sb
sc
sd
se servo: init at 0-unstable-2024-09-09 2024-09-20 09:58:27 +02:00
sf
sg/sgfutils
sh showmethekey: 1.13.1 -> 1.14.0 2024-09-20 20:04:48 +00:00
si siyuan: 3.1.0 -> 3.1.6 (#343124) 2024-09-22 19:01:45 +08:00
sk skia: 124-unstable-2024-05-22 -> 129-unstable-2024-09-18 2024-09-21 18:07:05 +02:00
sl sloth-app: 3.2 -> 3.3 2024-09-21 17:09:28 +03:00
sm smatch: move to by-name 2024-09-22 22:21:39 +09:00
sn snipe-it: 7.0.11 -> 7.0.12 2024-09-23 14:13:09 +02:00
so
sp spl: init at 0.3.2 (#340203) 2024-09-19 17:25:07 +08:00
sq
sr
ss
st stylelint: move to by-name and modernize derivation (#343730) 2024-09-22 22:32:34 +02:00
su sums: init at 0.11 (#340781) 2024-09-22 16:47:02 +08:00
sv
sw sway-audio-idle-inhibit: unstable-2023-08-09 -> 0.1.2 2024-09-21 16:39:22 +02:00
sx
sy treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00
t-/t-rex
ta
tb/tbump
tc
td
te termsonic: 0-unstable-2024-02-02 -> 0-unstable-2024-09-15 (#342096) 2024-09-21 17:41:24 +02:00
tg
th
ti tigerbeetle: 0.15.5 -> 0.16.2 (#342844) 2024-09-21 12:42:51 -07:00
tk
tl tlclient: init at 4.17.0 (#342516) 2024-09-19 00:42:15 +02:00
tm
to
tp
tr trealla: 2.55.41 -> 2.56.15 2024-09-20 09:43:01 +00:00
ts tsukimi: init at 0.12.2 (#343517) 2024-09-22 09:35:26 +08:00
tt
tu turn-rs: init at 3.1.0 (#338928) 2024-09-19 22:53:28 +02:00
tw
tx
ty
u-/u-config
ub
uc
ud
ue
ug
uh/uhttpmock_1_0
ui uiua: 0.12.3 -> 0.13.0-dev.1 2024-09-23 01:50:01 +00:00
um/umpire
un treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00
up upsun: 5.0.16 -> 5.0.21; add updateScript (#331473) 2024-09-22 17:04:40 +08:00
ur
us
ut
uu/uuu
uv/uv
uw uwsm: 0.19.0 -> 0.19.1 2024-09-23 06:59:39 +00:00
ux
va
vc
vd/vdhcoapp
ve verible: 0.0.3747 -> 0.0.3791 (#342826) 2024-09-22 17:03:18 +08:00
vf/vfkit
vg
vi vikunja: 0.24.1 -> 0.24.3 2024-09-20 16:34:51 +02:00
vk
vl
vm
vn
vo
vp
vr/vrcadvert
vs
vu
vv/vvvvvv
vw/vwsfriend
vz/vzic
wa waybar: include the systemd user unit (#340874) 2024-09-22 00:29:40 +05:30
wb
wc/wcurl
we weaver: 0.9.2 -> 0.10.0 2024-09-21 03:07:22 +00:00
wf/wf-touch
wg/wg-access-server
wh
wi wireguard-ui: init at 0.6.2 (#340662) 2024-09-22 22:15:29 +08:00
wl wl-gammarelay-applet: init at 0.1.4 2024-09-23 01:47:38 +10:00
wo
wp
wr/wrangler
ws
wt
wu/wush
wv
wx/wxc
wy/wyoming-satellite
x1/x16
x5/x509-limbo
xa
xc
xd maintainers: rename nyanbinary to nyabinary 2024-09-19 15:04:36 -04:00
xe
xf/xfs-undelete
xh/xhosts
xi
xl xlights: 2024.15 -> 2024.16 2024-09-19 03:37:42 +00:00
xm
xn/xnlinkfinder
xo
xp
xr
xs
xt/xtf xtf: 0-unstable-2024-08-30 -> 0-unstable-2024-09-13 2024-09-21 22:59:05 +00:00
xu/xunit-viewer
xv/xviewer
xw
ya yandex-music: 5.15.0 -> 5.18.2 2024-09-22 23:26:18 +00:00
yc/ycmd
yd/ydotool
ye
yg
yj/yj
yo
yp/ypbind-mt
ys/ysfx
yt
yu
za
zb/zbus-xmlgen
zc
ze zed-editor: 0.152.4 -> 0.153.6 2024-09-19 13:00:56 -04:00
zf/zfind
zi treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00
zl/zluda
zm/zmkBATx
zo zoekt: 0-unstable-2024-09-05 -> 3.7.2-2-unstable-2024-09-10 (#341704) 2024-09-23 02:13:16 +00:00
zp
zs
zu zutty: init at 0.16-unstable-2024-08-18 2024-09-20 19:24:35 +02:00
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;
}