nixpkgs/pkgs/by-name
2024-09-06 06:04:31 +00:00
..
_0/_0xpropo
_2/_2ship2harkinian
_4
_6/_64gram
_9/_9base
a4/a4
a5/a52dec
aa
ab
ac
ad ada: 2.9.1 -> 2.9.2 2024-09-03 10:11:16 -04:00
ae aerc: import a patch fix a bug with gpg signed messages (#337401) 2024-09-04 13:16:47 +08:00
af
ag make age-plugin-fido2-hmac work on darwin (#339299) 2024-09-05 22:06:12 +01:00
ai aider-chat: 0.53.0 -> 0.54.0 2024-09-03 12:59:34 +00:00
al
am amazon-ssm-agent: substitute --replace with --replace-fail (#337268) 2024-09-02 20:32:37 -04:00
an anytype: 0.42.5 -> 0.42.6 2024-09-05 08:08:24 +00:00
ao/aocl-utils
ap apt-offline: substitute --replace with --replace-fail (#337269) 2024-09-05 10:59:23 -04:00
aq/aquamarine aquamarine: 0.3.3 -> 0.4.0 2024-09-02 21:47:43 +05:30
ar artalk: fix ui hash 2024-09-04 13:53:43 +08:00
as astartectl: 23.5.1 -> 23.5.2 2024-09-03 00:40:39 +00:00
at atlauncher: 3.4.36.10 -> 3.4.37.2 2024-09-05 17:12:21 +05:30
au audiobookshelf: 2.13.2 -> 2.13.3 2024-09-05 07:46:29 +00:00
av av1an: vapoursynth support (#330994) 2024-09-05 09:51:58 +05:30
aw
ax
ay
az azure-cli-extensions.containerapp: 0.3.53 -> 1.0.0b1 2024-09-03 08:15:39 +02:00
b3/b3sum
ba backgroundremover: substitute --replace with --replace-fail (#337276) 2024-09-05 10:59:55 -04:00
bc python3Packages.bcc: init at 0.31.0 2024-09-04 17:30:57 +08:00
bd
be beon: init at 2024-02-26 (#337890) 2024-09-03 11:13:40 +02:00
bi
bk/bk
bl blade-formatter: switch to yarnHooks 2024-09-04 11:15:47 -03:00
bm Merge master into staging-next 2024-09-02 12:05:34 +00:00
bn/bngblaster
bo
bp
bq/bqn
br
bs
bt
bu
by
c-
c2
ca
cb
cc
cd
ce
cf/cf-tool
cg
ch taler-{sync,challenger}: rename from {sync,challenger} 2024-09-04 12:45:21 +02:00
ci civo: 1.0.89 -> 1.0.90 2024-09-05 12:32:02 +00:00
cj/cjs
cl clang-tidy-sarif: 0.6.5 -> 0.6.6 (#339191) 2024-09-05 17:07:40 +00:00
cm cmd-wrapped: 0.2.0 -> 0.4.1 2024-09-02 10:07:32 +08:00
cn
co codux: 15.33.0 -> 15.34.0 (#339664) 2024-09-05 02:09:20 +00:00
cp cpu-x: fix gtk support (#335367) 2024-09-04 11:12:17 +08:00
cq/cq
cr crystal-dock: init at 2.2 (#332121) 2024-09-03 00:50:45 +01:00
cs csharpier: 0.28.2 -> 0.29.1 (#338016) 2024-09-01 19:48:19 -06:00
ct/ctx
cu
cv/cvemap
cw/cwe-client-cli
cy
cz/czkawka
da
db dbeaver-bin: add webkitgkt and glib-networking for webbrowser support (#336742) 2024-09-05 19:10:29 +02:00
dc
dd
de deltatouch: 1.5.1 -> 1.6.0 (#339088) 2024-09-05 07:52:30 -07:00
dg/dgoss
dh/dhcpig
di disko: 1.6.1 -> 1.7.0 2024-09-04 01:54:10 +00:00
dj/djent
dm dms: init at 1.6.0 2024-09-04 10:24:23 +02:00
dn
do
dp
dr
ds
dt
du duckstation: Fix build on aarch64-linux 2024-09-04 01:46:32 +02:00
dv/dvb-apps
dw
dx
dy
e1/e1s
ea
eb
ec
ed edk2: add loongarch64 support 2024-09-02 11:12:24 +03:00
ee/eepers
ef/efibootmgr
eg/eg25-manager
ei eintopf: 0.13.16 -> 0.14.1 (#336806) 2024-09-06 00:48:07 +00:00
ej/ejsonkms
ek/eksctl eksctl: 0.189.0 -> 0.190.0 2024-09-04 12:36:31 +00:00
el element-call: use yarnInstallHook 2024-09-04 11:15:47 -03:00
em
en
eo/eog
ep
er
es
et
eu
ev
ew/eww
ex
ey/eyewitness
ez/eza eza: 0.19.1 -> 0.19.2 2024-09-05 04:34:29 +02:00
f2/f2fs-tools
fa fast-float: 6.1.4 -> 6.1.5 (#339139) 2024-09-05 22:21:07 +02:00
fb/fbset
fc
fe feishin: 0.8.0 -> 0.8.1 2024-09-05 00:35:30 +01:00
ff
fg/fgqcanvas
fi fittrackee: 0.8.6 -> 0.8.8 (#339297) 2024-09-05 07:53:20 -07:00
fj/fjo
fl flake-edit: init at 0.1.0 2024-09-04 17:46:54 +02:00
fm
fn/fnott
fo
fr fragments: 3.0.0 -> 3.0.1 (#337479) 2024-09-04 22:25:22 +08:00
fs
ft/fte
fu
fv
fw/fwupd
fx/fx
fy
fz
g3/g3kb-switch
ga gamescope: 3.15.2 -> 3.15.5 2024-09-06 03:52:39 +00:00
gb
gc
gd
ge geesefs: 0.41.1 -> 0.41.2 2024-09-03 13:39:13 +00:00
gf
gg/gg
gh ghdl: enable builds on "x86_64-darwin" (#335975) 2024-09-03 19:51:19 +08:00
gi github-runner: remove newam from maintainers 2024-09-05 21:36:53 -07:00
gk/gk-cli
gl
gm
gn gnome-monitor-config: fix cross compilation, set strictDeps (#338668) 2024-09-03 01:57:15 +03:00
go google-chrome: fix makeWrapper invocation 2024-09-05 09:12:29 +01:00
gp gpu-burn: unstable-2023-11-10 -> unstable-2024-04-09; update CUDA packaging 2024-09-05 21:36:41 +00:00
gr
gt
gu
gv/gvisor
gx/gxml
h2/h2
h5/h5utils
h8/h8mail
ha havoc: 0.5.0 -> 0.6.0 2024-09-04 01:59:39 +00:00
hb/hb-honeypot
hc/hclfmt
hd hdr10plus_tool: init at 1.6.0 2024-09-05 19:17:21 +05:30
he heliocron: init at 0.8.1 (#338936) 2024-09-06 12:01:34 +10:00
hi
hj/hjson-go
hn/hn-text
ho
hp
ht
hu hugo: 0.133.1 -> 0.134.0 2024-09-04 05:09:00 +08:00
hv/hvm
hw/hwinfo hwinfo: fix cross compilation 2024-09-03 12:57:49 +02:00
hx/hxtools
hy
i2/i2p
i3
ia
ic
id
if
ig
ii
ij
im impala: 0.2.1 -> 0.2.3 2024-09-04 00:40:27 +00:00
in Merge master into staging-next 2024-09-03 12:05:18 +00:00
io
ip
ir
is
it
iv
iw/iw
iz/izrss
ja
jc/jcli
jd/jdt-language-server
je
ji
jj/jj
jn
jo josm: 19160 → 19207 2024-09-03 17:31:45 +02:00
jq/jq-zsh-plugin
jr
js
jt/jtdx
ju Merge master into staging-next 2024-09-05 18:03:49 +00:00
jw/jwasm
k8/k8s-manifest-sigstore
ka kas: 4.2 -> 4.4 2024-09-03 22:10:01 +02:00
kc
kd
ke
kg/kgeotag
ki
kl
km
kn
ko koboldcpp 1.73.1 -> 1.74 (#338587) 2024-09-02 23:09:21 +05:30
kp/kplex
kr
ks
kt
ku
kv/kvmarwaita
kx
ky
la lazysql: 0.2.5 -> 0.2.9 (#339750) 2024-09-05 15:25:57 -04:00
lb
lc
ld
le leetgo: 1.4.8 -> 1.4.9 2024-09-05 18:20:41 +00:00
lg/lgogdownloader
li libcutl: 0.10.0 -> 0.11.0, move to by-name, modernize, adopt (#332257) 2024-09-04 20:12:42 -04:00
lk/lk-jwt-service
ll
lm lms: 3.51.1 -> 3.56.0 (#337650) 2024-09-05 10:52:02 -04:00
ln/lngen
lo
lp
lr/lrcget
ls
lt/ltris
lu lutgen: add ozwaldorf as maintainer (package owner) 2024-09-04 19:08:13 -04:00
lv/lv_font_conv
lw/lwgrp
lx lxgw-neoxihei: 1.201 -> 1.202 2024-09-04 00:46:11 +00:00
lz
m1/m1ddc
m2
ma Merge master into staging-next 2024-09-03 06:04:33 +00:00
mb
mc
md md-tui: add anas to maintainers 2024-09-03 20:22:24 +08:00
me melodeon: init at 0.4.1 (#337782) 2024-09-05 09:29:49 +08:00
mf
mg
mi mistral-rs: 0.1.18 -> 0.3.0 (#323788) 2024-09-05 13:36:37 +02:00
mk
ml/mlx42
mo mongodb-ce: remove custom curl override 2024-09-04 21:52:41 +02:00
mp
mq mqttx: 1.9.9 -> 1.10.1 (#337424) 2024-09-02 20:37:21 -04:00
mr/mricron
ms
mu mullvad-browser: 13.5.2 -> 13.5.3 2024-09-04 19:13:39 +02:00
my
n2/n2
n8/n8n
n9/n98-magerun2
na
nb
nc
nd/ndstrim
ne netscanner: 0.5.2 -> 0.5.3 2024-09-05 01:25:54 +00:00
nf
ng
nh
ni Merge master into staging-next 2024-09-06 06:04:31 +00:00
nl
nm nmap: fix liblinear path on darwin 2024-09-03 21:53:26 -05:00
nn
no nomacs: support more formats (#337901) 2024-09-02 06:39:33 +00:00
np
nr
ns
nt
nu nuclei-templates: 9.9.3 -> 9.9.4 2024-09-03 07:25:04 +02:00
nv
nw
nx/nxengine-evo
nz
oa
ob obs-cmd: 0.17.6 -> 0.17.7 2024-09-02 02:23:45 +00:00
oc
od
oe/oelint-adv
of
oh
oi oidc-agent: 5.2.0 -> 5.2.1 2024-09-04 15:55:16 +00:00
ok
ol
om
on
oo
op Merge master into staging-next 2024-09-05 18:03:49 +00:00
oq/oqs-provider
or ord: 0.19.1 -> 0.20.0 2024-09-04 04:16:02 +00:00
os
ot
ou
ov
ow
pa paup: init at 4.0a169 2024-09-04 10:52:44 -07:00
pc
pd
pe
pf/pfft
pg
ph
pi pixelorama: 1.0.1 -> 1.0.2 (#336873) 2024-09-05 16:14:17 +00:00
pk
pl plasmusic-toolbar: 1.5.0 -> 1.6.0 2024-09-05 07:54:33 +00:00
pm
pn
po yarnInstallHook: init (#328544) 2024-09-04 14:33:47 -07:00
pp/ppsspp
pq
pr proton-ge-bin: GE-Proton9-11 -> GE-Proton9-12 (#338922) 2024-09-04 20:11:00 +00:00
ps
pt
pu facter: 4.6.1 -> 4.8.0, puppet-bolt: 3.28.0 -> 3.30.0 (#337220) 2024-09-05 11:20:33 -04:00
pv
pw
px/pxder
py pyspread: 2.2.3 -> 2.3 2024-09-03 09:26:19 +00:00
pz/pzip
qa/qadwaitadecorations
qb/qbittorrent-enhanced
qc/qcm
qd
qg/qgrep
qm/qmplay2
qn/qnial
qo/qodem
qp/qpoases
qq/qq
qr qrcp: migrate to by-name 2024-09-03 22:51:56 +04:00
qs
qt/qtractor
qu
qw/qwerty-fr
r0/r0vm
r1/r10k
ra radicle-node: 1.0.0-rc.14 -> 1.0.0-rc.17 (#338983) 2024-09-04 15:42:55 +02:00
rc rcu: disable build on hydra 2024-09-05 21:36:28 +03:00
rd/rdwatool
re buildDotnetModule: inherit enableParallelBuilding (#339335) 2024-09-03 20:56:37 -07:00
rf/rfdump
rh/rHttp
ri
rk
rl/rl_json
rm
rn
ro
rp/rpcs3 rpcs3: 0.0.32-16875-3b36df48e -> 0.0.33-16892-7e3b8b5cd 2024-09-04 18:23:35 +00:00
rq
rr/rrdtool
rs
rt rtorrent: 0.9.8-unstable-2024-08-20 -> 0.9.8-unstable-2024-08-31 2024-09-05 10:52:17 +00:00
ru rustdesk: 1.2.3 -> 1.3.0 2024-09-05 17:56:37 +02:00
rw/rwpspread
ry ryujinx: disable parallel building 2024-09-04 00:15:55 +03:00
s0/s0ix-selftest-tool
s3
sa
sb
sc Merge master into staging-next 2024-09-05 18:03:49 +00:00
sd SDL1: lib.optionals instead of lib.optional 2024-09-04 16:40:57 -03:00
se sendme: 0.14.0 -> 0.15.0 2024-09-03 04:07:00 +00:00
sf/sfwbar
sg/sgfutils
sh
si sink-rotate: fix cross 2024-09-05 10:09:56 +02:00
sk skia: make use of gnFlags 2024-09-03 13:22:53 +00:00
sl
sm smc-fuzzer: init at 0-unstable-2020-12-23 (#332586) 2024-09-03 22:37:41 +02:00
sn
so soteria: init at 0.1.0 (#330682) 2024-09-06 11:02:10 +05:30
sp treewide: remove uses of deprecated Rust functions 2024-09-02 21:48:21 +02:00
sq
sr
ss ssh-openpgp-auth: update comment to refer to nixpkgs-vet 2024-09-03 11:37:24 -07:00
st stalwart-mail.webadmin: init at 0.1.13 2024-09-05 08:33:58 +02:00
su surrealist: 2.0.6 -> 2.1.6 (#335619) 2024-09-06 10:00:18 +08:00
sv
sw swayimg: 2.3 -> 3.2 (#337114) 2024-09-03 13:10:49 +08:00
sx
sy taler-{sync,challenger}: rename from {sync,challenger} 2024-09-04 12:45:21 +02:00
t-/t-rex
ta taler-{sync,challenger}: rename from {sync,challenger} 2024-09-04 12:45:21 +02:00
tb/tbump
tc
td
te techmino: 0.17.17 -> 0.17.21 (#332085) 2024-09-04 20:15:50 -04:00
tg
th
ti Merge master into staging-next 2024-09-06 06:04:31 +00:00
tk
tl
tm tmpi: remove redundant input 2024-09-05 10:13:35 +02:00
to tor-browser: 13.5.2 -> 13.5.3 2024-09-04 19:11:33 +02:00
tp tpnote: 1.24.7 -> 1.24.8 (#337046) 2024-09-02 20:36:06 -04:00
tr
ts
tt
tu
tw
tx
ty
u-/u-config
ub
uc
ud
ue
ug
uh/uhttpmock_1_0
ui
um/umpire
un unl0kr: remove tomfitzhenry@ as maintainer (#333616) 2024-09-06 12:50:55 +08:00
up upbound: 0.32.1 -> 0.33.0 2024-09-03 20:59:39 +00:00
ur/urban-cli
us userborn: add updateScript 2024-09-04 15:22:36 +02:00
ut
uu/uuu
uv/uv uv: 0.4.3 -> 0.4.4 2024-09-04 17:15:04 +12:00
uw
ux uxn: 1.0-unstable-2024-08-25 -> 1.0-unstable-2024-08-29 2024-09-03 09:15:45 +00:00
va
vc
vd/vdhcoapp
ve
vg
vi vimcats: 1.0.2 -> 1.1.0 2024-09-04 19:28:53 +02:00
vk
vl
vm
vn
vo
vp vpsfree-client: 0.18.0 -> 0.19.0 (#339850) 2024-09-05 23:57:13 +02:00
vs vsce: 3.0.0 -> 3.1.0 2024-09-05 18:40:32 +00:00
vu
vv/vvvvvv
vw/vwsfriend
vz/vzic
wa Merge master into staging-next 2024-09-06 06:04:31 +00:00
wb
wc/wcurl
we weblate: 5.7.1 -> 5.7.2 2024-09-05 13:18:14 +02:00
wf/wf-touch
wg/wg-access-server
wh
wi wine-discord-ipc-bridge: init at unstable-2023-08-09 (#314298) 2024-09-05 22:43:56 +03:00
wl
wo
wp
wr/wrangler
ws wstunnel: 10.1.0 - 10.1.1 2024-09-04 15:33:05 +02:00
wt
wv
wx/wxc
wy/wyoming-satellite
x1/x16
x5/x509-limbo
xa
xc
xd
xe
xf/xfs-undelete
xh/xhosts
xi
xl
xm
xn/xnlinkfinder
xo
xp
xr
xs
xu/xunit-viewer
xv/xviewer
xw
ya yarg: init at 0.12.6 (#337570) 2024-09-05 18:43:38 -04:00
yc/ycmd
yd/ydotool
ye
yg
yj/yj
yo youki: 0.4.0 -> 0.4.1 2024-09-04 15:07:47 +00:00
yp/ypbind-mt
ys/ysfx
yt yt-dlg: fix build 2024-09-02 23:35:08 +02:00
yu
za
zb/zbus-xmlgen
zc
ze zed-editor: fix --version 2024-09-05 12:32:01 +02:00
zf/zfind
zi zigpy-cli: use buildPythonApplication 2024-09-04 12:02:07 -07:00
zl/zluda
zm/zmkBATx
zo
zp
zs
zu
zw/zwave-js-server
zx
README.md nixpkgs-vet: update CI, docs, and release to 0.1.4 2024-09-03 13:53:25 -07: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-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;
}