nixpkgs/pkgs/by-name
Sandro 82d00c4e36
Merge pull request #300966 from kilimnik/element-call
element-call: init at 0.5.16; lk-jwt-service: init at main
2024-05-26 21:37:25 +02:00
..
_0/_0xpropo
_4
_6/_64gram
_9/_9base
a4/a4
a5/a52dec
aa
ab
ac
ad
ae aeacus: format with nixfmt 2024-05-22 09:48:00 +02:00
af
ag Merge pull request #312264 from MatthewCroughan/mc/age-plugin-fido2-hmac 2024-05-19 14:54:33 +08:00
ai
al alephone-marathon: disable nixpkgs-update 2024-05-21 14:10:33 +00:00
am amber-lang: init at 0.3.1-alpha 2024-05-23 14:00:57 +02:00
an anytype: 0.40.8 -> 0.40.9 2024-05-25 04:51:30 +00:00
ao/aocl-utils
ap api-linter: 1.65.2 -> 1.66.0 2024-05-21 01:57:52 +00:00
ar arc-browser: 1.43.1-50198 -> 1.44.2-50412 2024-05-25 20:20:29 +03:00
as Merge pull request #302923 from noaccOS/astartectl-23.5.1 2024-05-21 16:52:46 +02:00
at
au
av
aw
ax
ay ayatana-indicator-messages: 23.10.0 -> 24.5.0 2024-05-24 18:07:19 +00:00
ba Merge pull request #308503 from kiike/pkgs/basedpyright 2024-05-25 07:49:34 +09:00
bc bcachefs-tools: replace -> replace-fail 2024-05-26 10:43:01 +02:00
bd/bdf2ttf
be beekeeper-studio: 4.3.1 -> 4.3.4 2024-05-23 13:28:31 +00:00
bi Merge pull request #314112 from khaneliman/bicep 2024-05-23 20:16:42 -03:00
bk/bk
bl Merge pull request #312518 from dali99/bluemap 2024-05-22 01:09:49 +02:00
bm/bmake pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
bn/bngblaster
bo boogie: 3.1.5 -> 3.1.6 2024-05-23 13:28:28 +00:00
bp pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
br Merge pull request #313904 from gepbird/bruno-1.18.0 2024-05-24 13:07:12 +08:00
bs
bt btrfs-assistant: 2.0 -> 2.1.1 2024-05-24 04:33:18 +00:00
bu bulk_extractor: 2.0.6 -> 2.1.1, fixed darwin build 2024-05-21 12:35:52 +03:00
by
c2 c2patool: 0.9.0 -> 0.9.1 2024-05-23 01:27:23 +00:00
c-
ca Merge pull request #301955 from Sigmanificient/cano-alpha 2024-05-24 14:01:04 +08:00
cb
cc
cd
ce
cg
ch
ci
cl clash-verge-rev: 1.6.2 -> 1.6.3 2024-05-26 12:27:42 +00:00
cm
cn/cntb
co codeberg-cli: fix darwin build 2024-05-24 16:59:27 +02:00
cp cppitertools: init at 2.1 2024-05-24 22:14:14 -06:00
cr Merge pull request #310107 from r-ryantm/auto-update/crc 2024-05-22 12:20:47 +02:00
cs csvlens: 0.9.0 -> 0.9.1 2024-05-22 19:14:54 +00:00
ct/ctx
cu cups-kyocera-3500-4500: init at 9.0 2024-05-21 15:50:52 +01:00
cv/cvemap
cy
cz/czkawka
da davis: 4.4.2 -> 4.4.3 (#313077) 2024-05-22 22:27:00 +00:00
db Merge pull request #314262 from gepbird/dbeaver-fix-aarch64-and-update-script 2024-05-24 16:20:44 +02:00
dc/dc3dd
dd
de pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
dg/dgoss
dh/dhcpig
di discordchatexporter-cli: 2.43 -> 2.43.1 2024-05-19 16:37:11 +00:00
dj/djent
dm
dn/dns2tcp
do dotnet-outdated: 4.6.2 -> 4.6.4 2024-05-20 16:46:01 +00:00
dp
dr dreamchess: init at 0.3.0 2024-05-22 14:28:51 +02:00
ds
dt pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
du dumbpipe: 0.8.0 -> 0.9.0 2024-05-25 01:32:36 +00:00
dv/dvb-apps
dx
dy
e1/e1s
ea
eb
ec
ed
ee/eepers
ei
ek/eksctl eksctl: 0.177.0 -> 0.178.0 2024-05-23 13:40:34 +00:00
el Merge pull request #300966 from kilimnik/element-call 2024-05-26 21:37:25 +02:00
em
en
ep/epub-thumbnailer
er errands: 46.1 -> 46.2 2024-05-20 18:34:37 +02:00
es
et
eu
ew/eww
ex
ez/eza
fa fastfetch: 2.13.1 -> 2.13.2 2024-05-23 22:15:32 +02:00
fb/fbset
fc fcast-client: init at 0.1.0-unstable-2024-05-23 2024-05-23 21:30:11 +02:00
fe felix-fm: 2.12.1 -> 2.13.0 2024-05-25 16:09:04 +02:00
ff ff2mpv-rust: 1.1.4 -> 1.1.5 2024-05-24 01:02:24 +00:00
fg/fgqcanvas
fi firefoxpwa: 2.12.0 -> 2.12.1 2024-05-26 02:40:24 +00:00
fl flashmq: 1.13.0 -> 1.13.1 2024-05-26 12:54:33 +00:00
fm
fn/fnott
fo fooyin: 0.4.2 -> 0.4.3 2024-05-24 01:03:19 +00:00
fr francis: 1.1.0 -> 24.05.0 2024-05-25 03:50:50 +00:00
fs
ft/fte
fu furmark: fix version to pass release checks 2024-05-22 13:48:17 -04:00
fv
fw/fwupd
fy/fypp
fz fzf-make: 0.30.0 -> 0.32.0 2024-05-22 21:41:15 +00:00
g3/g3kb-switch
ga gatus: 5.10.0 -> 5.11.0 2024-05-22 01:18:56 +00:00
gb
gc
ge
gf
gg/gg
gh gh-s: init at 0.0.8 (#313455) 2024-05-22 15:47:01 +00:00
gi githooks.tests: fix eval 2024-05-23 22:51:08 +01:00
gl
gm gmic: 3.3.5 -> 3.3.6 2024-05-20 19:49:29 +00:00
gn
go google-chrome: 125.0.6422.76 -> 125.0.6422.112 2024-05-25 07:39:52 +02:00
gp gpt4all: 2.7.5 -> 2.8.0 2024-05-25 13:42:30 +02:00
gr Merge pull request #273999 from paveloom/gr-framework 2024-05-21 16:39:25 +02:00
gt
gu
gv/gvisor gvisor: fix ldconfig path 2024-05-19 09:07:31 +02:00
gx/gxml
h8/h8mail
ha haredo: enable cross compilation 2024-05-21 17:13:14 -03:00
hb/hb-honeypot
hd hdos: init at 8 2024-05-20 12:18:27 -03:00
he
hi
hj/hjson-go
ho home-manager: 0-unstable-2024-05-17 -> 0-unstable-2024-05-23 2024-05-24 19:56:41 +00:00
ht htcondor: 23.4.0 -> 23.7.2 2024-05-22 01:19:10 +00:00
hu
hy Merge #313498: downgrade hyprland & hyprwayland-scanner to non-buggy versions 2024-05-25 07:13:32 +00:00
i2/i2p
i3
ia ianny: 1.0.0beta.1 -> 1.0.0 2024-05-22 06:22:40 +02:00
ic Merge pull request #314228 from jnsgruk/icloudpd-1.17.6 2024-05-25 08:34:23 -04:00
id ideamaker: init at 4.3.3 2024-05-23 15:27:43 -04:00
if/ifrextractor-rs
ig
ii
im pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
in Merge pull request #312557 from r-ryantm/auto-update/intune-portal 2024-05-23 23:28:19 +00:00
io/ioq3-scion
ip
ir
is/iscc
it
iz/izrss
ja jan: 0.4.12 -> 0.4.13 2024-05-20 13:19:47 +00:00
jd/jdt-language-server
je
ji
jj/jj
jn jnv: 0.2.2 -> 0.2.3 2024-05-26 13:11:47 +00:00
jo journalwatch: refactor 2024-05-22 08:28:14 +02:00
jr/jrl-cmakemodules
js/jsoncons
jt/jtdx
ju
ka
kc
kd
ke
kg/kgeotag
ki pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
kl/klog-time-tracker
km
kn/knossosnet
ko kor: 0.4.0 -> 0.4.1 2024-05-24 01:28:49 +00:00
kp/kplex
kr
ks ks: init at 0.0.4 2024-05-21 12:32:20 +03:00
kt
ku
kx
ky kyverno-chainsaw: 0.2.1 -> 0.2.2 2024-05-22 02:09:33 +00:00
la Merge pull request #312949 from PedroHLC/lan-mouse-0.8.0 2024-05-20 07:17:32 -03:00
lb
lc
ld/ldproxy
le lexido: init at 1.4.2 (#313454) 2024-05-22 15:47:56 +00:00
li Merge pull request #314366 from benley/mixxx-2.4.1 2024-05-26 12:52:11 -04:00
lk/lk-jwt-service lk-jwt-service: init at main 2024-05-24 11:45:16 +02:00
ll llm-ls: 0.5.2 -> 0.5.3 2024-05-24 14:49:45 +00:00
lm
ln/lngen
lo
lp
ls lse: init at 4.14nw 2024-05-23 21:36:58 +02:00
lt/ltris
lu lunar-client: 3.2.7 -> 3.2.9 2024-05-25 21:20:34 +00:00
lw/lwgrp
lx lxd-ui: 0.8 -> 0.8.1 2024-05-24 02:04:58 +00:00
lz
m2
ma Merge pull request #313612 from ufUNnxagpM/majima-0.5.0 2024-05-23 13:52:12 -04:00
mb
mc Merge pull request #313200 from otavio/auto-update/mcuboot-imgtool 2024-05-21 18:14:49 -04:00
md
me mediasynclite: init at 0.4.2 (#294716) 2024-05-23 17:43:59 +02:00
mf
mg
mi mini-calc: 3.0.1 -> 3.1.0 2024-05-26 14:11:34 +00:00
mk
ml/mlx42 pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
mo pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
mp
mq
ms
mu
my myks: 4.1.1 -> 4.1.2 2024-05-23 06:37:31 +00:00
n2/n2
na namespace-cli: 0.0.371 -> 0.0.372 2024-05-23 07:48:58 +00:00
nb/nbtscan
nc
nd/ndstrim
ne Merge pull request #313146 from malteneuss/add-nextjs-ollama-llm-ui 2024-05-24 06:51:37 +02:00
nf
ng
nh
ni nix-janitor: init at 0.2.0 (#313130) 2024-05-22 22:21:04 +00:00
nl
nm/nmap-parse
nn/nncp
no Merge pull request #314186 from CHN-beta/fix-nomacs 2024-05-25 12:18:36 +00:00
np
nr nray: limit platform support 2024-05-22 10:33:20 +02:00
ns
nt/ntfs2btrfs
nu nuclei-templates: 9.8.6 -> 9.8.7 2024-05-23 17:44:52 +00:00
nv
nw
nx/nxengine-evo treewide: remove unused occurence of fetchurl argument 2024-05-20 05:20:23 +02:00
oa
ob
oc
oe/oelint-adv oelint-adv: 5.3.1 -> 5.3.2 2024-05-18 22:10:04 +00:00
of offat: 0.17.5 -> 0.18.0 2024-05-20 17:44:41 +00:00
oh oh-my-posh: 19.29.0 -> 20.2.0 2024-05-25 22:38:04 +00:00
oi oink: init at 1.1.1 2024-05-23 09:35:22 +12:00
ol
om omnictl: 0.35.1 -> 0.36.0 2024-05-24 15:51:28 +00:00
on
op openvas-scanner: 23.3.0 -> 23.3.1 2024-05-25 22:38:11 +00:00
or
os
ot
ou
ov
ow owmods-cli: 0.13.1 -> 0.14.0 2024-05-20 09:53:56 +00:00
pa patch2pr: 0.24.0 -> 0.25.0 2024-05-24 01:34:15 +00:00
pd pdpmake: 1.4.1 -> 1.4.2 2024-05-25 03:57:03 +00:00
pe pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
pf/pfft
pg pgroll: 0.5.0 -> 0.6.0 2024-05-21 21:37:33 +00:00
ph phpdocumentor: 3.4.3 -> 3.5.0 2024-05-24 15:31:09 +00:00
pi pinact: 0.1.3 -> 0.2.0 2024-05-25 13:38:44 +00:00
pk
pl plattenalbum: 1.11.0 -> 2.1.0; renamed from mpdevil 2024-05-24 04:16:05 +08:00
pm pm2: 5.3.1 -> 5.4.0 2024-05-24 15:16:01 +00:00
pn
po
pp/ppsspp
pq
pr proto: 0.35.2 -> 0.35.3 2024-05-24 17:04:50 +00:00
ps/ps_mem
pt
pu
pv/pvsneslib
pw
px/pxder
py pyright: 1.1.362 -> 1.1.364 2024-05-26 08:27:52 +00:00
pz/pzip
qa/qadwaitadecorations
qc/qcm
qd/qdirstat
qg/qgrep
qp/qpoases
qr
qs
qt/qtractor
qu
r0/r0vm r0vm: init at 0.21.0 2024-05-23 12:02:48 +02:00
r1/r10k
ra Merge pull request #312190 from Sigmanificient/rasm 2024-05-24 16:14:52 +08:00
rc pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
rd/rdwatool
re Merge pull request #314575 from sikmir/reproxy 2024-05-26 13:20:28 -04:00
rh/rHttp
ri river: 0.3.1 -> 0.3.2 2024-05-20 23:49:24 -04:00
rk
rl/rl_json
rm
rn/rnd-name
ro roave-backward-compatibility-check: init at 8.8.0 2024-05-23 10:51:53 +02:00
rp/rpcs3
rq/rqbit
rs
rt
ru
rw/rwpspread
ry
s0/s0ix-selftest-tool s0ix-selftest-tool: 0-unstable-2024-02-07 -> 0-unstable-2024-05-16 2024-05-20 21:49:59 +00:00
s3
sa
sb/sbom-utility
sc pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
sd
se Merge pull request #313490 from Cryolitia/sequoia-wot 2024-05-26 07:18:56 +03:00
sg/sgfutils
sh share-preview: init at 0.5.0 (#313676) 2024-05-24 14:48:58 +08:00
si signal-backup-deduplicator: init at 0-unstable-2024-05-24 2024-05-25 10:36:05 +02:00
sk
sl slumber: 1.3.0 -> 1.3.1 2024-05-21 10:12:49 +02:00
sm
sn
so Merge pull request #313158 from tricktron/f-sonarlint-ls 2024-05-25 17:35:15 +02:00
sp Merge pull request #314462 from aaronjheng/spirit 2024-05-25 09:13:36 -04:00
sq squeezelite: format 2024-05-24 15:49:11 -04:00
sr
ss
st Merge pull request #280725 from paveloom/streamrip 2024-05-25 18:20:10 +02:00
su surrealdb: 1.5.0 -> 1.5.1 2024-05-23 20:32:29 +00:00
sv svelte-language-server: convert to buildNpmPackage 2024-05-24 00:23:44 +02:00
sw pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
sx
sy Merge pull request #310485 from martinetd/syft 2024-05-21 20:49:56 +08:00
t-/t-rex
ta tailscale-nginx-auth: 1.66.3 -> 1.66.4 2024-05-21 02:44:28 +00:00
tc/tcsh
td
te Merge pull request #312471 from natsukium/textlint/repackage 2024-05-26 09:23:53 +09:00
tg/tgpt
th
ti tinymist: 0.11.9 -> 0.11.10 2024-05-26 09:34:23 +02:00
tk
tl
tm/tmuxifier
to
tp pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
tr Merge pull request #314331 from r-ryantm/auto-update/tracexec 2024-05-25 08:52:50 -04:00
tt
tu Merge pull request #313605 from Aleksanaa/turtle 2024-05-23 07:11:16 +02:00
tw twitch-dl: 2.3.0 -> 2.3.1 2024-05-19 13:04:12 +02:00
tx/txr
ty typstyle: 0.11.22 -> 0.11.23 2024-05-25 17:28:49 +02:00
uc
ud
ue
ug
uh/uhttpmock_1_0
ui
um/umpire
un pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
up
us
ut
uu/uuu
uv/uv uv: add sanity check to prevent missing regressions 2024-05-25 17:09:02 +02:00
uw/uwhoisd
ux
va
vc
vd/vdhcoapp
ve vencord: 1.8.4 -> 1.8.6 2024-05-24 06:49:27 +00:00
vg/vgm2x
vi
vl
vo/voidmap
vu vunnel: 0.23.0 -> 0.23.2 2024-05-24 23:20:39 +02:00
vv/vvvvvv
wa warp-terminal: 0.2024.05.14.08.01.stable_04 -> 0.2024.05.21.16.09.stable_02 2024-05-24 17:34:06 +00:00
wb
we Merge pull request #313223 from eclairevoyant/webcord-vencord-fix 2024-05-26 15:57:10 +08:00
wh
wi wildcard: init at 0.3.3 (#312389) 2024-05-24 13:57:41 +08:00
wl wldash: init at 0.3.0 (#313098) 2024-05-26 13:10:29 +00:00
wo woof-doom: init at 14.5.0 (#313246) 2024-05-22 21:57:02 +00:00
wp
ws
wt
wy/wyoming-satellite
x1/x16
x5/x509-limbo
xa/xarcan
xc
xd
xe xeol: limit platform support 2024-05-22 11:27:12 +02:00
xf/xfs-undelete
xh/xhosts
xi
xl/xlights
xm
xn/xnlinkfinder
xo
xp
xr/xr-hardware
xs
xw/xwayland-run
ya yamlscript: 0.1.58 -> 0.1.59 2024-05-23 06:08:12 +00:00
yc/ycmd
yd/ydotool
ye
yg/yggdrasil
yj/yj
yo
ys/ysfx
yt
yu
za
zb/zbus-xmlgen
zc/zcfan
ze zed-editor: 0.135.2 -> 0.136.2 2024-05-25 15:56:13 +02:00
zi
zl/zluda
zo/zola
zp zpaqfranz: 59.4 -> 59.6 2024-05-21 23:49:39 +00:00
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;
}