nixpkgs/pkgs/by-name
2024-11-02 21:13:15 +05:30
..
_0
_1
_2/_2ship2harkinian
_4
_6/_64gram _64gram: 1.1.39 -> 1.1.43 2024-10-29 10:59:42 +00:00
_9
a4/a4
a5/a52dec
aa
ab
ac
ad
ae
af
ag
ai
al alioth: 0.5.0 -> 0.6.0 (#352375) 2024-10-31 22:50:06 +01:00
am amdgpu_top: 0.8.5 -> 0.9.2; add passthru.updateScript (#351840) 2024-10-31 13:23:01 +01:00
an
ao/aocl-utils
ap apt-mirror: fix cross compilation, set strictDeps (#352376) 2024-10-31 14:47:04 -04:00
aq/aquamarine
ar armitage: patch for Gradle 8 2024-10-30 05:46:00 +00:00
as ascii-draw: 0.4.0 -> 1.0.0 (#345662) 2024-11-01 11:15:02 +08:00
at atproto-goat: 0-unstable-2024-10-08 -> 0-unstable-2024-10-29 (#352383) 2024-10-30 19:43:57 +00:00
au audacity: migrate to apple-sdk_11 2024-10-31 11:03:47 +01:00
av avro-tools: 1.11.3 -> 1.12.0 2024-10-29 13:26:44 +00:00
aw awscli2: 2.17.64 -> 2.18.15 2024-10-30 20:14:51 +01:00
ax
ay
az azure-cli: 2.64.0 -> 2.65.0 (#347241) 2024-10-28 11:17:12 +01:00
b3/b3sum
ba Merge master into staging-next 2024-10-29 06:05:06 +00:00
bc
bd
be
bi binsider: 0.2.0 -> 0.2.1 2024-10-31 22:54:07 +00:00
bk/bk
bl blobdrop: init at 2.1 (#346632) 2024-10-28 23:22:45 +08:00
bm
bn/bngblaster
bo boogie: 3.2.4 -> 3.2.5 (#344952) 2024-11-01 03:35:31 +01:00
bp
bq/bqn
br
bs
bt
bu bunbun: 1.4.0 -> 1.5.0 2024-10-30 09:34:33 +01:00
by
c2
c3/c3-lsp
c- c-intro-and-ref: init at 0.0-unstable-2024-08-31 2024-10-30 18:18:02 +08:00
ca Merge master into staging-next 2024-10-30 12:05:37 +00:00
cb
cc
cd
ce certdump: refactor maintainer 2024-10-31 13:17:12 -07:00
cf
cg
ch chawan: 0-unstable-2024-09-03 -> 0-unstable-2024-10-25 (#343892) 2024-11-01 03:14:09 +01:00
ci cider-2: init at 2.5.0 2024-10-30 21:32:21 +01:00
cj/cjs
cl clash-rs: init at 0.7.0 2024-10-29 21:32:07 +00:00
cm
cn
co codeium: 1.20.4 -> 1.24.2 (#351406) 2024-10-31 14:58:34 -04:00
cp cppcheck: 2.15.0 -> 2.16.0 2024-10-28 17:10:55 +01:00
cq/cq
cr
cs
ct ctune: init at 1.3.2 2024-10-30 20:15:58 +01:00
cu
cv/cvemap
cw/cwe-client-cli
cy
cz/czkawka
da dart-sass: 1.77.6 -> 1.80.5 2024-10-29 23:32:31 +00:00
db
dc
dd
de Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 21:46:13 +03:00
dg
dh/dhcpig
di disko: 1.8.2 -> 1.9.0 2024-10-29 03:03:43 +00:00
dj/djent
dm dmenu-rs: refactor to add variant with enabled plugins 2024-10-28 23:50:16 -05:00
dn
do dotnet-repl: init at 0.1.216 (#299834) 2024-10-28 23:29:32 +08:00
dp
dr drone-scp: 1.6.14 -> 1.7.0 2024-10-28 18:11:16 +00:00
ds
dt
du duckstation-bin: init at 0.1-7294 (#336021) 2024-10-30 17:06:33 +08:00
dv
dw
dx
dy
e1/e1s
ea easyeda2kicad: init at 0.8.0 2024-11-01 08:07:21 +01:00
eb
ec
ed
ee/eepers
ef
eg/eg25-manager
ei eigenlayer: 0.10.6 -> 0.10.8 2024-10-28 10:17:46 +00:00
ej
ek
el
em
en
eo/eog
ep Merge master into staging-next 2024-10-29 12:06:00 +00:00
eq
er eris-go: 20240920 -> 20241028 2024-10-28 12:54:16 +00:00
es
et
eu
ev
ew
ex exo: 0-unstable-2024-10-21 -> 0-unstable-2024-10-28 2024-10-29 15:43:55 +01:00
ey/eyewitness
ez/eza eza: 0.20.5 -> 0.20.6 2024-10-31 14:51:19 +01:00
f2/f2fs-tools
fa Merge master into staging-next 2024-10-31 00:14:46 +00:00
fb/fbset
fc fcitx5-mcbopomofo: 2.7 -> 2.8 (#351664) 2024-10-28 12:03:21 +08:00
fd/fdroidserver
fe fedimint: 0.4.3 -> 0.4.4 2024-10-28 07:29:34 +00:00
ff
fg/fgqcanvas
fi fido2-manage: init at 0-unstable-2024-09-24 (#347516) 2024-10-28 16:00:51 +01:00
fj/fjo
fl flexget: 3.11.48 -> 3.11.49 (#350509) 2024-10-29 18:19:37 +08:00
fm
fn/fnott
fo forgejo-lts: 7.0.9 -> 7.0.10 2024-10-28 18:34:15 +01:00
fr fretboard: v7.1 -> v8.0 (#352678) 2024-10-31 21:17:32 +01:00
fs
ft
fu fulcio: 1.6.4 -> 1.6.5 2024-10-30 13:52:38 +00:00
fv
fw/fwupd
fx/fx
fy
fz fzf-make: 0.36.0 -> 0.37.0 2024-10-29 18:19:42 +00:00
g3/g3kb-switch
g-/g-wrap
ga gale: init at 0.8.11 (#348901) 2024-10-28 23:21:50 +08:00
gb
gc
gd
ge geis: fix build 2024-10-30 06:53:31 +08:00
gf
gg/gg
gh
gi git-chain: init at 0-unstable-2024-08-09 (#342850) 2024-10-28 23:24:54 +05:30
gk/gk-cli
gl
gm gmic: 3.4.2 -> 3.4.3 2024-10-30 21:40:57 +00:00
gn
go gotestdox: init at 0.2.2 (#350973) 2024-10-29 15:46:27 +08:00
gp
gr gruvbox-gtk-theme: 0-unstable-2024-09-12 -> 0-unstable-2024-10-29 2024-10-29 23:04:53 +01:00
gs gsan: init at 5.0.0 2024-10-28 14:24:48 +01:00
gt
gu gui-for-clash: init at 1.8.9 (#351924) 2024-10-30 17:08:41 +08:00
gv/gvisor
gw/gweled
gx
gz/gzdoom
h2/h2
h5/h5utils
h8/h8mail
ha
hb/hb-honeypot
hc/hclfmt
hd
he Merge master into staging-next 2024-10-31 00:14:46 +00:00
hi hiddify-app: init at 2.5.7-unstable-2024-10-30 2024-10-30 19:49:35 +08:00
hj/hjson-go
hn/hn-text
ho
hp
hr/hred
ht httpdirfs: 1.2.5 -> 1.2.6 (#351506) 2024-10-28 19:50:32 +02:00
hu
hv/hvm
hw/hwinfo
hx/hxtools
hy hypridle: add johnrtitor as maintainer 2024-11-02 21:13:15 +05:30
i2/i2p
i3
ia
ic
id
if
ig
ii
ij
im immich: 1.119.0 -> 1.119.1 2024-10-29 11:03:00 -07:00
in
io
ip
ir
is
it
iu/iucode-tool
iv ivyterm: fix hash 2024-10-30 11:56:51 +01:00
iw
iz/izrss
j/j
ja jankyborders: switch to apple-sdk_11 2024-10-31 10:08:04 -05:00
jc/jcli
jd/jdt-language-server
je
ji
jj/jj
jn
jo
jp/jp-zip-codes
jq
jr
js
jt
ju
jw/jwasm
k8
ka
kb/kbld
kc
kd
ke keyspersecond: init at 8.9 (#281495) 2024-10-28 23:24:41 +08:00
kg/kgeotag
ki kitsas: add qtwayland build input for linux 2024-10-29 10:39:59 +01:00
kl klog-rs: 0.0.3 -> 0.1.0 2024-10-31 03:54:13 +00:00
km
kn
ko kor: 0.5.5 -> 0.5.6 2024-10-29 03:01:02 +00:00
kp/kplex
kr
ks
kt
ku
kv/kvmarwaita
kw/kwok kwok: 0.6.0 -> 0.6.1 2024-10-29 14:17:33 +00:00
kx
ky
la lazysql: 0.2.9 -> 0.3.0 2024-10-28 05:47:35 +00:00
lb
lc
ld
le
lg/lgogdownloader
li libedgetpu: init at 0-unstable-2024-03-14 (#343786) 2024-11-01 10:55:27 +08:00
lk/lk-jwt-service
ll
lm
ln/lngen
lo
lp
lr/lrcget
ls
lt/ltris
lu luminous-ttv: init at 0.5.7 (#335481) 2024-10-29 16:05:06 +08:00
lv/lv_font_conv
lw
lx
lz
m1/m1ddc
m2
ma matrix-gtk-theme: 0-unstable-2024-07-22 -> 0-unstable-2024-10-29 (#352207) 2024-10-31 15:51:27 +01:00
mb
mc
md
me
mf
mg
mi mieru: init at 3.7.0 (#295634) 2024-11-01 10:56:13 +08:00
mj/mjmap
mk
ml/mlx42
mm mmdbctl: use native way to refer the mmdb path (#352356) 2024-10-31 15:11:23 +08:00
mo nixos/monado: install monado-vulkan-layers (#301044) 2024-10-31 19:21:38 +01:00
mp
mq
mr/mricron
ms
mt
mu Merge master into staging-next 2024-10-31 00:14:46 +00:00
my
n2/n2
n8/n8n
n9/n98-magerun2
na Merge master into staging-next 2024-10-29 12:06:00 +00:00
nb
nc nc4nix: 0-unstable-2024-09-18 -> 0-unstable-2024-09-28 (#345181) 2024-11-01 03:30:43 +01:00
nd
ne Merge master into staging-next 2024-10-29 18:04:32 +00:00
nf
ng
nh
ni nicotine-plus: 3.3.4 -> 3.3.5 (#345427) 2024-11-01 03:24:01 +01:00
nl
nm
nn
no nomad-pack: 0.1.2 -> 0.2.0 (#349071) 2024-10-29 18:12:54 +08:00
np
nr
ns
nt
nu nufmt: switch to apple-sdk_11 2024-10-31 10:09:43 -05:00
nv
nw nwjs-ffmpeg-prebuilt: 0.92.0 -> 0.93.0 (#351749) 2024-10-28 05:42:19 +00:00
nx/nxengine-evo
ny/nym
nz
oa
ob objfw: use clang stdenv 2024-10-29 07:53:09 +00:00
oc octoscan: 0.1.1 -> 0.1.2 2024-10-28 13:45:28 +01:00
od
oe/oelint-adv
of
og/oguri
oh
oi
ok
ol
om omnisharp-roslyn: drop .NET 7 test, refactor (#343690) 2024-10-31 12:07:17 -03:00
on
oo
op opentype-sanitizer: 9.1.0 -> 9.2.0 (#352739) 2024-11-01 07:34:42 +00:00
oq/oqs-provider
or Merge master into staging-next 2024-10-31 00:14:46 +00:00
os
ot
ou
ov
ow
p3/p3x-onenote
pa parpd: init 2.3.0 (#346418) 2024-10-29 11:10:26 +08:00
pb/pb
pc pcsx2-bin: 2.1.205 -> 2.1.231 2024-10-30 08:37:34 +00:00
pd Merge master into staging-next 2024-10-31 00:14:46 +00:00
pe
pf
pg
ph
pi
pk
pl plattenalbum: 2.1.1 -> 2.2.0 (#345239) 2024-11-01 11:17:41 +08:00
pm
pn
po Merge master into staging-next 2024-10-31 00:14:46 +00:00
pp/ppsspp
pq pqiv: 2.13.1 -> 2.13.2 2024-10-31 16:55:15 +00:00
pr Merge master into staging-next 2024-10-29 18:04:32 +00:00
ps
pt
pu
pv
pw
px/pxder
py pyamlboot: init at 1.0.0 (#352028) 2024-11-01 10:56:35 +08:00
pz/pzip
q2/q2pro q2pro: init at r3510 2024-10-28 13:49:23 +01:00
qa/qadwaitadecorations
qb/qbittorrent-enhanced
qc/qcm
qd
qe/qemu_xen
qg
qm
qn/qnial
qo/qodem
qp/qpoases
qq/qq
qr
qs
qt
qu
qw/qwerty-fr
r0/r0vm
r1/r10k
ra
rc
rd/rdwatool
re redmine: Update vulnerable gems where possible (#352106) 2024-10-30 09:26:43 +01:00
rf/rfdump
rh
ri
rk
rl/rl_json
rm
rn
ro rofi-games: init at 1.10.2 (#301397) 2024-10-28 23:23:32 +08:00
rp rpcs3: 0.0.33-16999-938306a7b -> 0.0.33-17070-8b8396b94 2024-10-30 00:22:26 +00:00
rq
rr/rrdtool
rs
rt
ru rustdesk-flutter: 1.3.1 -> 1.3.2 2024-10-29 13:40:17 +01:00
rw/rwpspread
rx/rxvt
ry
s0/s0ix-selftest-tool
s3
sa salt-lint: init at 0.9.2 (#351946) 2024-11-01 10:57:22 +08:00
sb
sc Merge master into staging-next 2024-10-30 00:14:27 +00:00
sd
se
sf
sg/sgfutils
sh shotcut: 24.09.13 -> 24.10.13 (#345541) 2024-11-01 03:55:40 +01:00
si simple64-netplay-server: 2024.06.1 -> 2024.10.1 2024-10-30 16:24:12 +00:00
sk sketchybar-app-font: 2.0.24 -> 2.0.25 2024-10-30 23:23:21 +00:00
sl
sm
sn
so sonar-scanner-cli: 4.7.0.2747 -> 6.2.1.4610 (#329764) 2024-10-29 22:52:21 +01:00
sp sphinxygen: init at 1.0.4 (#351219) 2024-10-28 20:12:37 +08:00
sq sql-studio: init at 0.1.27 (#341807) 2024-10-29 16:03:12 +08:00
sr
ss
st stardust-xr-server: init at 0.44.1 (#324375) 2024-11-01 09:04:55 +08:00
su sudachidict: 20240716 -> 20241021 2024-10-29 20:35:41 +09:00
sv
sw uhd: 4.6.0.0 -> 4.7.0.0 (#349079) 2024-10-31 15:47:18 +01:00
sx
sy syncstorage-rs: 0.17.9 -> 0.17.12 (#350176) 2024-10-31 01:12:05 +01:00
t-/t-rex
ta tailscale: 1.76.1 -> 1.76.3 2024-10-31 03:48:58 +01:00
tb/tbump
tc/tcsh
td
te telegram-bot-api: 7.3 -> 7.10 (#352099) 2024-10-30 17:30:54 +08:00
tf/tflint
tg
th theattyr: remove leading indefinite article in description 2024-10-29 09:47:59 +01:00
ti
tk tkey-ssh-agent: add updateScript and testVersion (#336939) 2024-10-31 17:28:01 +08:00
tl
tm
to totp-cli: init at 1.8.7 (#348086) 2024-11-01 10:38:21 +08:00
tp tpnote: 1.24.8 -> 1.24.9 2024-10-30 07:07:28 +00:00
tr Merge master into staging-next 2024-10-30 00:14:27 +00:00
ts tsukimi: add nix-update-script to passthru 2024-10-31 12:46:05 +01:00
tt
tu turbocase: init 1.8.0 (#347257) 2024-10-29 14:57:06 +08:00
tw
tx
ty tygo: init at 0.2.17 2024-10-29 08:27:29 -04:00
u-
ub
uc
ud
ue
ug
uh/uhttpmock_1_0
ui
um/umpire
un Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 23:56:04 -06:00
up
ur
us
ut
uu/uuu
uv/uv uv: 0.4.28 → 0.4.29 2024-10-31 07:36:30 +01:00
uw
ux
va vapoursynth: 69 -> 70 (#342668) 2024-11-01 03:36:35 +01:00
vc
vd/vdhcoapp
ve versatiles: 0.12.10 -> 0.13.0 2024-10-31 05:35:05 +00:00
vf/vfkit
vg
vi viddy: 1.1.5 -> 1.2.0 2024-10-31 08:46:29 +05:30
vk
vl
vm
vn
vo
vp
vr/vrcadvert
vs
vt/vt323
vu
vv/vvvvvv
vw/vwsfriend
vy
vz/vzic
wa wakatime-cli: 1.98.5 -> 1.102.3 (#344517) 2024-11-01 02:49:18 +01:00
wb
wc
we Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 21:46:13 +03:00
wf/wf-touch
wg
wh
wi wiremock: 3.9.1 -> 3.9.2 (#351728) 2024-10-28 06:17:55 +00:00
wl
wo
wp wprs: add sanity test. 2024-10-29 09:01:17 -07:00
wr
ws
wt
wu/wush
wv
wx/wxc
wy/wyoming-satellite
x1/x16
x4/x4 x4: init at 0.1.0 (#346736) 2024-10-29 15:15:15 +08:00
xa
xc
xd
xe
xf/xfs-undelete
xh/xhosts
xi
xl
xm
xn/xnlinkfinder
xo
xp
xr xrgears: unstable-2021-06-19 -> 1.0.1-unstable-2024-07-09 (#320650) 2024-10-28 21:22:14 +01:00
xs
xt/xtf
xu/xunit-viewer
xv/xviewer
xw
ya yandex-cloud: 0.133.0 -> 0.136.0 (#351779) 2024-10-31 01:17:44 +00:00
yc/ycmd
yd/ydotool
ye
yg
yj/yj
yo
yp/ypbind-mt
ys/ysfx
yt
yu
za zabbix-cli: 3.1.2 -> 3.1.3 2024-10-28 19:53:45 +01:00
zb/zbus-xmlgen
zc
ze zed-editor: fix license generation 2024-10-31 17:18:13 +01:00
zf zfp: fix build 2024-10-30 22:35:30 +08:00
zi
zl/zluda
zm/zmkBATx
zo
zp
zs
zu
zv/zvbi
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 callPackage 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, in order to avoid the slightly superficial choice of directory / category in which the default.nix file was placed, but please keep the definition in all-packages.nix using callPackage. See also changing implicit attribute defaults.

Definitions like the following however, can be transitioned:

# all-packages.nix
fooWithBaz = foo.override {
  bar = baz;
};
# turned into pkgs/by-name/fo/fooWithBaz/package.nix with:
{
  foo,
  baz,
}:

foo.override {
  bar = baz;
}

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;
}