nixpkgs/pkgs/by-name
2024-08-22 21:57:37 +08:00
..
_0/_0xpropo
_2/_2ship2harkinian
_4
_6/_64gram
_9/_9base
a4/a4
a5/a52dec
aa
ab
ac
ad treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
ae
af
ag
ai
al treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
am Merge pull request #331119 from d-brasher/init-amd-ucodegen 2024-08-19 18:03:43 +05:30
an treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
ao/aocl-utils
ap
aq/aquamarine aquamarine: 0.3.1 -> 0.3.3 2024-08-20 13:34:40 +05:30
ar
as Merge pull request #336207 from r-ryantm/auto-update/asn 2024-08-21 08:04:38 +02:00
at
au treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
av
aw
ax
ay
az Merge pull request #336288 from katexochen/azure-cli/socks 2024-08-21 09:58:51 -03:00
b3/b3sum b3sum: 1.5.3 -> 1.5.4 2024-08-20 01:26:29 +00:00
ba basedpyright: 1.16.0 -> 1.17.0 2024-08-21 13:30:49 +02:00
bc Merge pull request #335954 from reedriley/bcachefs-tools 2024-08-20 18:50:19 +05:30
bd
be Merge pull request #335358 from r-ryantm/auto-update/beeper-bridge-manager 2024-08-21 02:01:04 +02:00
bi Merge pull request #332816 from ofalvai/bitrise-init 2024-08-19 09:51:51 +02:00
bk/bk
bl
bm/bmake
bn/bngblaster
bo
bp
bq/bqn
br treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
bs
bt
bu buttermanager: 2.5.1 -> 2.5.2 2024-08-19 09:16:59 -06:00
by
c-
c2
ca Merge pull request #332468 from goatastronaut0212/init-caprine-buildnpmpackage 2024-08-22 14:04:25 +02:00
cb cbtemulator: 1.22.0 -> 1.29.0 2024-08-19 01:42:46 +03:00
cc ccextractor: 0.93 -> 0.94-unstable-2024-08-12 2024-08-19 00:21:56 +01:00
cd
ce treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
cg
ch treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
ci civo: 1.0.88 -> 1.0.89 2024-08-20 19:09:56 -04:00
cj/cjs
cl treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
cm
cn
co Merge pull request #333299 from aksiksi/master 2024-08-22 14:11:11 +02:00
cp
cq/cq
cr treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
cs Merge pull request #334839 from ottoblep/csv-tui 2024-08-18 21:26:41 -04:00
ct/ctx
cu Merge pull request #308317 from Pandapip1/init-cups-idprt 2024-08-22 15:00:07 +02:00
cv/cvemap
cy
cz/czkawka
da dapr-cli: 1.14.0 -> 1.14.1 2024-08-21 17:59:31 +00:00
db treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
dc treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
dd
de Merge pull request #330389 from fsagbuya/dezoomify-rs 2024-08-22 14:11:44 +02:00
dg/dgoss
dh/dhcpig
di disko: add missing nixos-install for disko-install 2024-08-21 12:03:23 +02:00
dj/djent
dm treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
dn dnsmap: init at 0.36-unstable-2024-08-20 2024-08-21 09:15:14 -06:00
do Merge pull request #335964 from r-ryantm/auto-update/doublecmd 2024-08-22 02:38:28 +00:00
dp
dr
ds dsda-doom: cleanup 2024-08-19 10:37:09 +02:00
dt
du dualsensectl: 0.5 -> 0.6 2024-08-21 06:20:14 +00:00
dv/dvb-apps
dw
dx
dy
e1/e1s
ea
eb
ec
ed
ee/eepers
ef/efibootmgr
eg/eg25-manager
ei
ej/ejsonkms
ek/eksctl eksctl: 0.188.0 -> 0.189.0 2024-08-19 12:49:34 +00:00
el
em
en treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
eo/eog treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
ep
er
es
et
eu
ev treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
ew/eww
ex
ey/eyewitness
ez/eza
f2/f2fs-tools
fa fastfetch: 2.21.2 -> 2.21.3 2024-08-19 12:57:12 +02:00
fb/fbset
fc
fe treewide: change ${pname} to string literal, pt2 (#336195) 2024-08-20 17:23:37 -07:00
ff
fg/fgqcanvas
fi treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
fj/fjo
fl Merge pull request #335736 from r-ryantm/auto-update/fluent-bit 2024-08-19 09:01:49 +02:00
fm
fn/fnott
fo Merge pull request #334549 from Yarny0/foomatic-db-update 2024-08-22 11:46:35 +02:00
fr Merge pull request #321943 from aktaboot/framework-tool-update 2024-08-21 19:28:39 -04:00
fs
ft/fte
fu treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
fv
fw/fwupd
fx/fx
fy
fz
g3/g3kb-switch
ga Merge pull request #332386 from getchoo/pkgs/garnet/1.0.18 2024-08-20 19:11:35 -04:00
gb
gc
gd
ge treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
gf
gg/gg
gh treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
gi treewide: change ${pname} to string literal, pt2 (#336195) 2024-08-20 17:23:37 -07:00
gk/gk-cli
gl treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
gm
gn treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
go Merge pull request #333243 from r-ryantm/auto-update/gotenberg 2024-08-21 02:07:58 +02:00
gp
gr Merge pull request #333628 from danielgafni/update-graphite-cli-1.4.2 2024-08-19 11:02:28 +02:00
gt
gu treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
gv/gvisor
gx/gxml
h2/h2
h5/h5utils
h8/h8mail
ha treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
hb/hb-honeypot
hc/hclfmt
hd
he Merge pull request #313918 from luftmensch-luftmensch/heptabase_1.32.13 2024-08-19 23:02:43 +02:00
hi
hj/hjson-go
hn/hn-text
ho Merge pull request #336313 from r-ryantm/auto-update/home-manager 2024-08-21 14:35:12 +02:00
hp
ht
hu
hv/hvm
hw/hwinfo hwinfo: add updater 2024-08-21 22:38:35 +02:00
hy hyprland: include xcursor regardless of xwayland 2024-08-21 22:51:27 +03:00
i2/i2p
i3
ia
ic
id
if/ifrextractor-rs
ig
ii
ij
im
in treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
io
ip
ir irrd: unbreak 2024-08-18 23:31:55 +02:00
is treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
it
iv
iw/iw
iz/izrss
ja
jc/jcli
jd/jdt-language-server
je treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
ji
jj/jj
jn treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
jo
jq/jq-zsh-plugin
jr/jrl-cmakemodules
js
jt/jtdx
ju
jw/jwasm
ka Merge pull request #334274 from codedownio/kata-runtime 2024-08-22 08:17:09 -03:00
kc
kd
ke treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
kg/kgeotag
ki kiwitalk: fix builds with Rust 1.80 2024-08-19 22:38:21 +09:00
kl
km
kn
ko kor: 0.5.4 -> 0.5.5 2024-08-21 04:33:46 +00:00
kp/kplex
kr
ks
kt
ku
kv/kvmarwaita
kx
ky
la Merge pull request #335960 from museoa/labwc 2024-08-21 22:19:17 -04:00
lb
lc
ld
le lefthook: 1.7.12 -> 1.7.14 2024-08-18 21:37:57 +00:00
lg/lgogdownloader
li Merge pull request #335039 from r-ryantm/auto-update/libiec61850 2024-08-22 10:12:11 +00:00
lk/lk-jwt-service
ll
lm
ln/lngen
lo Merge pull request #336188 from pbsds/bump-localsend-1724194260 2024-08-21 20:56:04 +02:00
lp
lr/lrcget
ls
lt/ltris
lu Merge pull request #331526 from LovingMelody/lug-helper 2024-08-21 17:27:06 +00:00
lv/lv_font_conv
lw/lwgrp
lx treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
lz
m1/m1ddc
m2
ma Merge pull request #332859 from 404Wolf/add-mailsy 2024-08-22 11:55:49 +02:00
mb
mc
md mdbook-d2: 0.3.0 -> 0.3.1 2024-08-20 13:25:47 +00:00
me Merge pull request #335002 from aaronjheng/mesos-dns 2024-08-22 18:35:49 +10:00
mf
mg
mi Merge pull request #335772 from OPNA2608/update/miracle-wm 2024-08-21 22:20:02 -04:00
mk
ml/mlx42
mo Merge pull request #333062 from r-ryantm/auto-update/mov-cli 2024-08-20 19:32:32 -04:00
mp
mq
mr/mricron
ms treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
mu music-assistant: 2.1.1 -> 2.2.0 2024-08-22 01:58:20 +02:00
my mycelium: reformat with nixfmt 2024-08-21 10:36:50 +02:00
n2/n2
n8/n8n
n9/n98-magerun2
na Merge pull request #332084 from afh/update-nawk 2024-08-19 12:15:47 +05:30
nb Merge pull request #296199 from Celibistrial/master 2024-08-20 21:50:49 +05:30
nc
nd/ndstrim
ne treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
nf treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
ng
nh
ni nixfmt-rfc-style: unstable-2024-08-08 -> unstable-2024-08-16 2024-08-21 15:00:51 +02:00
nl
nm
nn
no
np
nr
ns nstool: 1.9.0 -> 1.9.1 2024-08-21 20:13:06 +00:00
nt
nu treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
nv
nw
nx/nxengine-evo
nz Merge pull request #333931 from devusb/nzbget 2024-08-22 13:55:17 +02:00
oa
ob
oc
od
oe/oelint-adv
of
oh
oi
ok
ol
om
on
oo
op Merge pull request #336102 from hzeller/feature-20240820-update-openscad 2024-08-22 11:43:00 +00:00
oq/oqs-provider
or
os
ot
ou
ov
ow
pa Merge pull request #329102 from helsinki-systems/fix/parmetis-archive-org 2024-08-21 21:41:51 +01:00
pc
pd Merge pull request #332074 from fgaz/pdf4tcl/init 2024-08-22 13:39:59 +02:00
pe
pf/pfft
pg
ph phpactor: switch to buildComposerProject2 2024-08-20 20:29:34 +02:00
pi
pk
pl treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
pm
pn
po Merge pull request #334606 from luftmensch-luftmensch/poptop_0.1.8 2024-08-22 13:58:42 +02:00
pp/ppsspp
pq
pr Merge pull request #335761 from luftmensch-luftmensch/proton-pass_1.22.0 2024-08-22 08:33:50 +00:00
ps
pt ptyxis: 46.5 -> 46.6 2024-08-20 15:45:11 +08:00
pu Merge pull request #335896 from pbsds/bump-pulsar-1724017823 2024-08-21 19:45:37 +02:00
pv
pw treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
px/pxder
py Merge pull request #336508 from r-ryantm/auto-update/pyright 2024-08-22 11:41:09 +00:00
pz/pzip
qa/qadwaitadecorations
qb/qbittorrent-enhanced
qc/qcm qcm: switch to finalAttrs 2024-08-22 20:07:31 +08:00
qd qdiskinfo: change pname to lowercase 2024-08-20 11:13:45 -04:00
qg/qgrep
qm/qmplay2
qn/qnial
qo/qodem
qp/qpoases
qq/qq
qr
qs
qt/qtractor
qu
qw/qwerty-fr
r0/r0vm
r1/r10k
ra treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
rc
rd/rdwatool
re Merge pull request #334009 from josephst/feat/recyclarr-from-source 2024-08-22 14:18:41 +02:00
rf/rfdump
rh/rHttp
ri
rk
rl/rl_json
rm
rn
ro
rp/rpcs3
rq
rr/rrdtool
rs treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
rt
ru Merge pull request #334966 from sedlund/feat/rust-parallel 2024-08-21 21:38:50 +02:00
rw/rwpspread
ry rye: format with nixfmt 2024-08-21 08:12:07 +02:00
s0/s0ix-selftest-tool
s3
sa Merge pull request #335723 from r-ryantm/auto-update/sarasa-gothic 2024-08-20 15:11:12 -04:00
sb sby: 2021.11.30 -> 0.44, run tests, rename from symbiyosys 2024-08-21 10:25:34 -05:00
sc
sd
se Merge pull request #336251 from r-ryantm/auto-update/sendme 2024-08-21 17:23:54 -04:00
sf/sfwbar
sg/sgfutils
sh
si treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
sk skypeforlinux: adopt 2024-08-22 09:56:07 +00:00
sl
sm
sn
so treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
sp spade: enable build on darwin (#335520) 2024-08-19 22:05:17 +02:00
sq
sr treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
ss
st stalwart-mail: 0.9.1 -> 0.9.2 2024-08-21 17:49:21 +02:00
su sudachidict: 20230927 -> 20240716 2024-08-22 18:32:07 +09:00
sv
sw treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
sx
sy Merge pull request #336258 from r-ryantm/auto-update/syft 2024-08-21 07:02:47 +00:00
t-/t-rex
ta Merge pull request #336249 from r-ryantm/auto-update/tabiew 2024-08-21 20:22:32 +02:00
tb/tbump
tc Merge pull request #332069 from fgaz/tcludp/init 2024-08-22 13:38:59 +02:00
td Merge pull request #332077 from fgaz/tdom/init 2024-08-22 13:40:16 +02:00
te termsnap: 0.3.0 -> 0.4.0 2024-08-21 02:28:05 +02:00
tg
th Revert "thorium-browser: init at 120.0.6099.235" 2024-08-20 21:30:35 +02:00
ti Merge pull request #316431 from rcmlz/tigerjython 2024-08-22 01:03:44 +01:00
tk
tl
tm
to treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
tp
tr Merge pull request #335795 from tengkuizdihar/treedome_051 2024-08-21 21:34:47 +02:00
ts/tsm-client
tt
tu
tw
tx
ty Merge pull request #336289 from drupol/typstwriter/bump/0-2 2024-08-21 11:50:00 +02:00
ub
uc uclibc: 1.0.49 -> 1.0.50 2024-08-20 00:09:08 +00:00
ud Merge pull request #335418 from r-ryantm/auto-update/udev-gothic 2024-08-21 20:28:54 +02:00
ue
ug
uh/uhttpmock_1_0
ui
um/umpire
un
up
ur/urban-cli
us
ut
uu/uuu
uv/uv uv: 0.3.0 -> 0.3.1 2024-08-22 12:39:32 +02:00
uw
ux
va treewide: change ${pname} to string literal, pt2 (#336195) 2024-08-20 17:23:37 -07:00
vc
vd/vdhcoapp
ve
vg/vgm2x
vi
vk
vl
vm
vn
vo
vp
vs
vu
vv/vvvvvv treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
vw/vwsfriend
vz/vzic
wa Merge pull request #336292 from r-ryantm/auto-update/warp-terminal 2024-08-21 10:10:40 +00:00
wb
wc/wcurl
we treewide: change ${pname} to string literal, pt2 (#336195) 2024-08-20 17:23:37 -07:00
wf/wf-touch
wg/wg-access-server
wh
wi wizer: 6.0.0 -> 7.0.4 2024-08-21 03:24:00 +00:00
wl
wo
wp
wr/wrangler wrangler: 3.66.0 -> 3.72.1 2024-08-20 13:51:27 -06:00
ws
wt
wv
wx/wxc
wy/wyoming-satellite
x1/x16
x5/x509-limbo
xa
xc
xd
xe xen-guest-agent: install systemd service 2024-08-19 08:16:37 +02:00
xf/xfs-undelete
xh/xhosts
xi
xl
xm
xn/xnlinkfinder
xo xonsh: 0.18.2 -> 0.18.3 2024-08-21 00:34:55 +08:00
xp
xr
xs
xu/xunit-viewer
xv/xviewer
xw
ya
yc/ycmd
yd/ydotool
ye treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
yg treewide: change ${pname} to string literal, pt2 (#336195) 2024-08-20 17:23:37 -07:00
yj/yj
yo
ys/ysfx
yt
yu
za
zb/zbus-xmlgen
zc
ze Merge pull request #336135 from bbigras/push-qwqxkxsymmsl 2024-08-21 07:45:20 +02:00
zf/zfind
zi
zl/zluda
zm/zmkBATx
zo
zp
zs treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
zu
zw/zwave-js-server
zx
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;
}