nixpkgs/pkgs/by-name
2024-05-10 20:24:41 +02:00
..
_0/_0xpropo _0xpropo: 1.000 -> 1.100 2024-05-07 12:19:47 +00:00
_4
_6/_64gram _64gram: 1.1.19 -> 1.1.22 2024-05-08 11:11:22 +00:00
_9/_9base
a4/a4
a5/a52dec
aa
ab
ac
ad adbtuifm: fix url 2024-05-08 20:00:00 +02:00
ae
af
ag/ags ags: format with nixfmt-rfc-style 2024-05-08 22:45:51 +05:30
ai
al
am
an antares: 0.7.23 -> 0.7.24 2024-05-08 23:59:36 +00:00
ao/aocl-utils
ap apostrophe: add aleksana as maintainers 2024-05-05 22:43:26 +08:00
ar Merge pull request #310456 from DontEatOreo/update-arc-browser 2024-05-10 10:26:08 -04:00
as async-profiler: 2.9 -> 3.0, migrate to by-name & modernize 2024-05-09 10:45:47 +02:00
at atac: fix build on darwin 2024-05-07 20:37:40 -04:00
au Merge pull request #307804 from r-ryantm/auto-update/autosuspend 2024-05-09 11:57:50 +08:00
av
aw
ax
ay
ba
bc/bc-ur
be beekeeper-studio: 4.1.13 -> 4.3.1 2024-05-04 15:45:26 +02:00
bi various: remove eclairevoyant from meta.maintainers 2024-05-09 16:51:37 +02:00
bk/bk
bl blockbench: 4.9.4 -> 4.10.0 2024-05-10 00:17:03 +00:00
bm/bmake
bn/bngblaster bngblaster: 0.8.49 -> 0.8.51 2024-05-04 10:53:46 +00:00
bo Merge pull request #306423 from r-ryantm/auto-update/boogie 2024-05-04 14:58:35 +02:00
bp/bpftop
br bruno: 1.16.0 -> 1.16.1 2024-05-05 07:17:58 +00:00
bs
bt btrfs-auto-snapshot: init at 2.0.4 2024-05-06 06:41:27 +03:00
bu
by
c2 c2fmzq: 0.4.19 -> 0.4.20 2024-05-10 00:44:41 +00:00
c-
ca cargo-bloat: 0.12.0 -> 0.12.1 2024-05-10 12:16:27 +00:00
cb
cc
cd cdecl: 2.5 -> 2.5-unstable-2024-05-07, add check, refactor 2024-05-09 18:00:44 +02:00
ce centrifugo: 5.3.1 -> 5.3.2 2024-05-09 14:31:11 +00:00
cg
ch
ci
cl clash-verge-rev: 1.6.0 -> 1.6.1 2024-05-05 09:25:24 +08:00
cm
cn/cntb
co Merge pull request #310054 from RAVENz46/origin/coppwr 2024-05-10 20:07:43 +02:00
cp Merge pull request #307591 from r-ryantm/auto-update/cpu-x 2024-05-04 16:17:52 +02:00
cr
cs Merge pull request #308630 from r-ryantm/auto-update/csvkit 2024-05-03 18:49:46 +00:00
ct/ctx
cu
cv/cvemap
cy
cz/czkawka
da Merge pull request #308863 from lucperkins/move-into-by-name 2024-05-06 22:56:00 +08:00
db/dbus-cpp
dc/dc3dd
dd
de
dg/dgoss
dh/dhcpig
di dillo: 3.0.5-unstable-2021-02-09 -> 3.1.0 2024-05-10 07:47:04 +00:00
dj/djent
dm dmarc-report-converter: 0.7.2 -> 0.8.0 2024-05-08 19:53:06 +00:00
dn/dns2tcp
do door-knocker: 0.4.4 -> 0.5.0 2024-05-10 06:20:23 +00:00
dp
dr/drone-scp
ds
dt
du Merge pull request #305398 from gepbird/dunst-1.11.0 2024-05-04 04:42:36 +03:00
dv/dvb-apps
dx
dy
ea
eb
ec Move lucperkins packages into by-name 2024-05-03 15:37:38 -03:00
ed
ei
ek/eksctl
el
em
en engage: update urls 2024-05-09 20:19:24 -07:00
ep/epub-thumbnailer
er
es
et
eu
ew/eww eww: update description, add long description 2024-05-03 21:46:56 +05:30
ex
ez/eza eza: 0.18.14 -> 0.18.15 2024-05-09 14:53:00 +02:00
fa Merge pull request #309366 from ProggerX/add-fasole 2024-05-07 20:17:59 +08:00
fb/fbset
fc
fe
ff fflogs: 8.3.42 -> 8.4.0 2024-05-04 01:02:06 +00:00
fg/fgqcanvas
fi files-cli: 2.13.14 -> 2.13.27 2024-05-04 15:16:59 +00:00
fl flac123: set meta.platforms 2024-05-09 18:04:03 +02:00
fm
fn/fnott
fo
fr
fs
fu furnace: 0.6.2 -> 0.6.3 2024-05-07 18:07:31 +02:00
fv
fw/fwupd fwupd.passthru.test-firmware: unstable-2022-04-02 -> 0-unstable-2022-04-02 2024-05-04 19:44:25 +02:00
fy/fypp
fz fzf: 0.51.0 -> 0.52.0 2024-05-07 18:17:01 +02:00
g3/g3kb-switch
ga gamescope: 3.14.11 -> 3.14.13 2024-05-08 14:04:03 +02:00
gb/gbar
gc
ge
gf
gg/gg
gh gh-poi: 0.9.8 -> 0.9.10 2024-05-07 01:02:07 +00:00
gi Merge pull request #309996 from r-ryantm/auto-update/gittuf 2024-05-09 20:35:29 +02:00
gl
gm
gn gnome-online-accounts-gtk: 3.50.1 -> 3.50.2 2024-05-04 00:01:45 +08:00
go Merge pull request #309294 from dawidd6/go-errorlint 2024-05-07 17:20:44 +08:00
gp gpt4all: 2.7.4 -> 2.7.5 2024-05-04 04:45:41 +00:00
gr greenmask: 0.1.12 -> 0.1.13 2024-05-07 13:44:51 +00:00
gt
gu Merge pull request #308788 from r-ryantm/auto-update/guile-lzlib 2024-05-03 20:17:56 +02:00
gv/gvisor
gx/gxml
h8/h8mail
ha
hb/hb-honeypot
hd/hdrop
he
hi hieroglypic: fix darwin build 2024-05-05 19:47:59 +02:00
hj/hjson-go
ho home-manager: 0-unstable-2024-04-29 -> 0-unstable-2024-05-05 2024-05-06 05:02:45 +00:00
ht
hu hugo: 0.125.6 -> 0.125.7 2024-05-09 17:01:10 -04:00
hy various: remove eclairevoyant from meta.maintainers 2024-05-09 16:51:37 +02:00
i2/i2p i2p: 2.5.0 -> 2.5.1 2024-05-08 01:43:20 +00:00
i3 i3bar-river: 0.1.7 -> 0.1.8 2024-05-07 01:05:05 +00:00
ia
ic icnsify: init at 0.1.0 2024-05-05 21:12:30 -04:00
id
if/ifrextractor-rs
ig igvm-tooling: init at 1.5.0 2024-05-07 09:36:39 +02:00
ii
im imposm: init at 0.12.0 2024-05-08 19:01:08 +04:00
in incus: 6.0.0 -> 6.1.0 2024-05-09 10:05:00 -04:00
io/ioq3-scion
ip
ir ironbar: 0.15.0 -> 0.15.1 2024-05-06 05:28:18 +00:00
is/iscc
it
ja
jd/jdt-language-server
je
ji jikken: 0.7.1 -> 0.7.2 2024-05-04 14:49:41 +02:00
jj/jj
jn
jo
jr/jrl-cmakemodules
js/jsoncons
jt/jtdx
ju
ka
kc
kd
ke
kg/kgeotag
ki kittysay: 0.5.0 -> 0.6.0 2024-05-08 01:42:49 +00:00
kl/klog-time-tracker
km
kn/knossosnet
ko komac: 2.1.0 -> 2.2.1 2024-05-08 11:01:08 +09:00
kp/kplex
kr
ks
kt
ku
kx/kxstitch
ky/kyverno-chainsaw
la Merge pull request #309296 from r-ryantm/auto-update/labelle 2024-05-05 22:35:25 +02:00
lb lbreakouthd: 1.1.7 -> 1.1.8 2024-05-03 10:25:50 +00:00
lc
ld/ldproxy
le lexical: 0.6.0 -> 0.6.1 2024-05-04 23:52:52 +02:00
li limine: 7.4.1 -> 7.5.0 2024-05-07 02:23:18 +00:00
ll llama-cpp: 2746 -> 2781 2024-05-03 10:06:47 +00:00
lm Merge pull request #305308 from mksafavi/pkg/lms 2024-05-07 17:13:52 +08:00
ln/lngen
lo local-ai: 2.13.0 -> 2.14.0 2024-05-06 07:46:03 +02:00
lp
ls
lt/ltris
lu Merge pull request #306907 from rohanssrao/master 2024-05-04 08:16:21 +10:00
lw/lwgrp
lx
lz
m2
ma Merge pull request #310429 from r-ryantm/auto-update/maa-assistant-arknights 2024-05-10 09:40:23 +02:00
mb
mc
md
me Merge pull request #310266 from r-ryantm/auto-update/mediainfo-gui 2024-05-10 17:43:59 +00:00
mf
mg
mi Merge pull request #309103 from fabaff/misconfig-mapper 2024-05-06 09:54:54 +02:00
mk
ml/mlx42
mo monaspace: 1.000 -> 1.100 2024-05-04 13:17:13 +00:00
mp
mq
ms
mu
my Merge pull request #306906 from r-ryantm/auto-update/mystmd 2024-05-04 15:57:33 +02:00
n2/n2
na navidrome: move to by-name 2024-05-10 21:16:30 +12:00
nb/nbtscan
nc
nd/ndstrim
ne nezha-agent: 0.16.5 -> 0.16.6 2024-05-05 00:32:06 +08:00
nf nf-test: init at 0.8.4 (#308756) 2024-05-03 14:45:50 +00:00
ng
nh nh: 3.5.13 -> 3.5.14 2024-05-03 10:59:56 +00:00
ni nixos-anywhere: add missing get-facts script to output 2024-05-07 10:02:33 +02:00
nl
nm/nmap-parse
nn/nncp
no normcap: 0.5.4 -> 0.5.6 2024-05-08 22:15:33 +02:00
np
nr
ns
nt/ntfs2btrfs
nu
nv
nw
nx/nxengine-evo
oa
ob
oc
oe/oelint-adv
of offat: 0.17.3 -> 0.17.5 2024-05-08 11:08:06 +00:00
oh Move lucperkins packages into by-name 2024-05-03 15:37:38 -03:00
oi
ol/olvid
om
on onevpl-intel-gpu: 23.4.3 -> 24.2.2 2024-05-08 07:59:20 +00:00
op Merge pull request #310184 from jlesquembre/jl/openfga-cli 2024-05-10 18:24:51 +02:00
or
os
ot
ou
ov
ow
pa Merge pull request #310062 from cyberus-technology/paperless-asn-qr-codes 2024-05-08 15:08:41 +02:00
pd
pe Revert "maintainers: remove patka" 2024-05-06 14:08:44 +02:00
pf/pfft
pg
ph phpdocumentor: add missing build input 2024-05-07 13:33:54 +02:00
pi
pk
pl
pm
pn
po Merge pull request #295652 from TomaSajt/portablemc 2024-05-10 14:44:25 +08:00
pp/ppsspp
pq
pr pretalx: adopt and set up code ownership 2024-05-09 18:20:14 +02:00
ps/ps_mem ps_mem: migrate to by-name 2024-05-10 05:39:49 +02:00
pt ptyxis: init at 46.1 2024-05-05 00:02:59 +08:00
pu pupdate: 3.10.1 -> 3.10.2 2024-05-03 13:51:01 +00:00
pv/pvsneslib
pw
px/pxder
py pyprland: 2.2.16 -> 2.2.17 2024-05-08 23:44:15 +00:00
pz/pzip
qa/qadwaitadecorations
qc/qcm
qd/qdirstat
qg/qgrep
qp/qpoases
qr
qs
qt/qtractor
qu quickemu: 4.9.2 -> 4.9.4 2024-05-10 00:06:13 +01:00
r1/r10k
ra Merge pull request #309050 from lorenzleutgeb/radicle 2024-05-10 04:49:03 +00:00
rc rclip: 1.8.8 -> 1.8.10 2024-05-07 22:33:36 +00:00
rd/rdwatool
re Merge pull request #294110 from Naxdy/work/add-retrospy 2024-05-08 19:59:50 +08:00
ri river-bnf: unstable-2023-10-10 -> 0-unstable-2023-10-10 2024-05-04 19:44:27 +02:00
rk
rl/rl_json
rm
rn/rnd-name
ro rosa: 1.2.36 -> 1.2.38 (#308534) 2024-05-04 05:49:56 +03:00
rp/rpcs3
rq/rqbit
rs
rt
ru
rw/rwpspread rwpspread: 0.2.5 -> 0.2.6 (#305629) 2024-05-03 19:11:59 +00:00
ry
s0/s0ix-selftest-tool s0ix-selftest-tool: move to by-name 2024-05-05 18:46:50 -04:00
s3
sa sabnzbd: 4.3.0 -> 4.3.1 2024-05-08 21:42:12 +00:00
sb/sbom-utility
sc screenly-cli: 0.2.5 -> 0.2.6 2024-05-10 10:13:11 +01:00
sd
se seabird: 0.2.2 -> 0.3.2 2024-05-06 11:26:22 +02:00
sg/sgfutils
sh shopware-cli: 0.4.40 -> 0.4.42 2024-05-03 16:58:47 +00:00
si simdutf: 5.2.6 -> 5.2.8 2024-05-08 06:34:32 +00:00
sk sketchybar-app-font: 2.0.17 -> 2.0.18 2024-05-08 18:58:24 +00:00
sl slumber: fix darwin build 2024-05-07 17:25:08 +02:00
sm
sn snapcraft: 8.2.1 -> 8.2.5 2024-05-07 09:24:41 +00:00
so
sp Merge pull request #301730 from momeemt/spectral-language-server/init 2024-05-08 22:35:34 +09:00
sq
sr
ss
st stackit-cli: 0.3.0 -> 0.4.0 2024-05-07 07:28:24 +00:00
su
sv
sw swww: cleanup using nixfmt-rfc-style, use lib explicitly where required 2024-05-04 12:25:26 +05:30
sx
sy syft: 1.3.0 -> 1.4.1 2024-05-10 02:14:00 +00:00
t-/t-rex
ta Merge pull request #307441 from adamcstephens/tabby 2024-05-08 20:25:57 -04:00
tc/tcsh
td
te tenki: 1.8.0 -> 1.9.0 2024-05-09 14:55:50 +00:00
tg/tgpt
th various: remove eclairevoyant from meta.maintainers 2024-05-09 16:51:37 +02:00
ti
tk
tl
tm/tmuxifier
to tootik: 0.10.3 -> 0.10.4 2024-05-04 16:23:22 +00:00
tp
tr
tt tt: init at v0.4.2 2024-05-03 10:45:50 +02:00
tu tuifimanager: 4.0.5 -> 4.0.6 2024-05-10 06:00:11 +02:00
tw Merge pull request #308863 from lucperkins/move-into-by-name 2024-05-06 22:56:00 +08:00
tx/txr
ty typos-lsp: add comment 2024-05-04 23:00:26 +02:00
uc uclibc: 1.0.47 -> 1.0.48 2024-05-05 04:46:12 +00:00
ud
ue
ug
uh/uhttpmock_1_0
ui
um/umpire
un Merge pull request #310148 from r-ryantm/auto-update/unciv 2024-05-09 09:31:51 -04:00
up Merge pull request #308863 from lucperkins/move-into-by-name 2024-05-06 22:56:00 +08:00
us ustr: migrate to by-name 2024-05-10 04:33:52 +02:00
ut
uu/uuu uuu: 1.5.179 -> 1.5.181 2024-05-04 23:02:06 +00:00
uv/uv uv: 0.1.39 -> 0.1.42 2024-05-09 12:43:53 +00:00
uw/uwhoisd
ux/uxn uxn: unstable-2024-04-15 -> 1.0-unstable-2024-05-06 2024-05-07 09:08:58 +00:00
va varia: 2024.3.20 -> 2024.5.7 2024-05-07 22:14:59 +09:00
vc
vd/vdhcoapp
ve vencord: 1.8.0 -> 1.8.2 2024-05-09 23:04:30 +02:00
vg/vgm2x
vi
vl
vo/voidmap
vu vunnel: 0.22.0 -> 0.22.2 2024-05-06 08:56:19 +00:00
vv/vvvvvv
wa Merge pull request #308863 from lucperkins/move-into-by-name 2024-05-06 22:56:00 +08:00
wb wbg: move to pkgs/by-name 2024-05-04 23:44:12 +02:00
we Merge pull request #309726 from r-ryantm/auto-update/weasis 2024-05-09 20:38:30 +02:00
wh
wi Merge pull request #237972 from mibmo/pkg/windows10-icons 2024-05-06 18:49:25 +02:00
wl Merge pull request #309789 from r-ryantm/auto-update/wlr-layout-ui 2024-05-08 22:18:21 +08:00
wo
wp
ws
wt
wy/wyoming-satellite
x1/x16
x5/x509-limbo
xa/xarcan
xc
xd
xe xemu: 0.7.120 -> 0.7.121 2024-05-07 04:31:23 +00:00
xf/xfs-undelete
xh/xhosts
xi
xl/xlights
xm xml-tooling-c: adopt, migrate to by-name, refactor 2024-05-08 18:34:49 +02:00
xn/xnlinkfinder
xo
xp xplr: 0.21.7 -> 0.21.8 2024-05-06 01:38:13 +00:00
xr/xr-hardware
xs
xw/xwayland-run
ya
yc/ycmd
ye
yg/yggdrasil
yj/yj
yo yofi: init at 0.2.2 2024-05-04 11:57:31 +10:00
ys/ysfx
yt Merge pull request #306630 from codebam/ytermusic 2024-05-08 19:59:31 +08:00
yu
za
zb/zbus-xmlgen
zc/zcfan
ze zed-editor: 0.133.5 -> 0.133.7 2024-05-03 23:38:56 +02:00
zi
zl/zluda
zo/zola
zp
zs
zu/zug
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;
}