nixpkgs/pkgs/by-name
shard7 24f20ab3f1 payloadsallthethings: init at 3.0-unstable-2024-01-21
(cherry picked from commit 8adaa32ad38d2c7239225c4a56ad3944234be4d1)
2024-06-05 20:18:49 +00:00
..
_0/_0xpropo
_4
_6/_64gram
_9/_9base
a4/a4
a5/a52dec
aa
ab ablog: 0.11.8 -> 0.11.10 2024-05-24 07:12:39 +00:00
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
an ananicy-cpp: add johnrtitor as maintainer 2024-06-03 19:40:05 +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.44.2-50412 -> 1.44.3-50502 2024-06-02 14:18:25 +00:00
as Merge pull request #302923 from noaccOS/astartectl-23.5.1 2024-05-21 16:52:46 +02:00
at
au audiobookshelf: 2.9.0 -> 2.10.1 2024-06-01 14:47:41 +00:00
av
aw
ax
ay ayatana-indicator-display: init at 24.5.0 2024-06-05 10:53:48 +00:00
ba badkeys: 0.0.10 -> 0.0.11 2024-05-19 02:03:26 +00:00
bc bcachefs-tools: replace -> replace-fail 2024-05-26 11:08:38 +00:00
bd/bdf2ttf
be bend: init at 0.2.9 2024-05-20 15:22:37 +05:30
bi
bk/bk
bl Merge pull request #312518 from dali99/bluemap 2024-05-22 01:09:49 +02:00
bm/bmake
bn/bngblaster
bo Revert "[Backport release-24.05] boehmgc: disable tests on aarch64-linux" 2024-05-27 09:02:47 +02:00
bp Merge pull request #312682 from luftmensch-luftmensch/bpftop_0.5.1 2024-05-22 14:10:02 +02:00
br brainstem: remove package 2024-05-22 12:44:20 +02:00
bs
bt
bu bulk_extractor: 2.0.6 -> 2.1.1, fixed darwin build 2024-05-21 12:35:52 +03:00
by
c2 Merge pull request #310003 from ok-nick/c2patool 2024-05-19 13:33:23 +08:00
c-
ca catppuccin-plymouth: cleanup 2024-06-02 10:47:37 +00:00
cb
cc
cd
ce centrifugo: 5.3.2 -> 5.4.0 2024-06-02 13:11:24 +00:00
cg
ch changelog-d: 0.1-git-2816ddb -> 1.0 2024-06-03 16:33:36 +00:00
ci
cl
cm
cn/cntb
co corefonts: move to pkgs/by-name 2024-06-05 11:41:14 +00:00
cp
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-23 00:31:30 +00:00
ct/ctx
cu
cv/cvemap
cy
cz/czkawka
da darklua: 0.13.0 -> 0.13.1 2024-05-19 00:47:37 +00:00
db dbeaver-bin: add wrapGAppsHook3 2024-05-28 08:51:58 +00:00
dc/dc3dd
dd
de
dg/dgoss dgoss: sync with goss 2024-05-31 15:15:38 +00:00
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/drone-scp
ds
dt
du Merge pull request #308567 from GuillaumeDesforges/gdforj/dummyhttp 2024-05-21 16:17:18 +02:00
dv/dvb-apps
dx
dy
e1/e1s
ea
eb
ec
ed
ee/eepers
ei
ek/eksctl
el
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-25 00:00:01 +00:00
fb/fbset
fc
fe
ff Merge pull request #312578 from r-ryantm/auto-update/ff2mpv-rust 2024-05-18 15:38:11 -04:00
fg/fgqcanvas
fi firefoxpwa: 2.12.0 -> 2.12.1 2024-05-27 15:53:27 +00:00
fl Merge pull request #311608 from fsagbuya/flarum 2024-05-20 09:19:31 +02:00
fm
fn/fnott
fo forgejo: 7.0.2 -> 7.0.3 2024-05-23 14:11:01 +00:00
fr Merge pull request #312920 from eliandoran/dev/frequest_fix_desktop_icon 2024-05-22 16:15:34 +03:00
fs
ft/fte
fu furmark: fix version to pass release checks 2024-05-22 20:08:09 +00:00
fv
fw/fwupd
fy/fypp
fz
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-eco: added fetchpatch; modernize 2024-05-27 19:16:45 +00:00
gi githooks.tests: fix eval 2024-05-24 00:06:30 +00: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.112 -> 125.0.6422.141 2024-06-02 09:47:30 +00:00
gp
gr grafana-kiosk: 1.0.6 -> 1.0.7 2024-06-03 11:15:17 +00: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/hdrop
he
hi
hj/hjson-go
ho home-manager: 0-unstable-2024-05-12 -> 0-unstable-2024-05-17 2024-05-19 15:05:57 +00:00
ht htcondor: 23.4.0 -> 23.7.2 2024-05-22 01:19:10 +00:00
hu
hy hyprwayland-scanner: 0.3.8 -> 0.3.4 2024-05-25 07:13:54 +00:00
i2/i2p
i3
ia
ic Merge pull request #313283 from r-ryantm/auto-update/icewm 2024-05-21 21:49:09 +00:00
id
if/ifrextractor-rs
ig
ii
im
in incus: 6.1.0 -> 6.2.0 2024-06-02 03:22:15 +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
jo journalwatch: refactor 2024-05-22 08:28:14 +02:00
jr/jrl-cmakemodules
js/jsoncons
jt/jtdx
ju
ka kanidm: 1.2.1 -> 1.2.3 2024-06-05 02:46:22 +00:00
kc
kd
ke
kg/kgeotag
ki killerbee: limit platform support 2024-05-22 10:19:19 +02:00
kl/klog-time-tracker
km
kn/knossosnet
ko koboldcpp: init at 1.66 2024-05-28 12:58:15 +00:00
kp/kplex
kr
ks
kt
ku Update pkgs/by-name/ku/kube-state-metrics/package.nix 2024-05-28 12:46:47 +00:00
kx
ky
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 libmsgraph: 0.2.1 → 0.2.2 2024-05-28 11:56:26 +02:00
ll llama-cpp: 2901 -> 2953 2024-05-21 14:41:37 +00:00
lm lmstudio: 0.2.22 -> 0.2.24 2024-06-03 19:41:56 +00:00
ln/lngen
lo treewide: fix all obviously wrong mkEnableOptions 2024-06-03 17:03:38 +00:00
lp
ls lse: init at 4.14nw 2024-05-24 06:59:58 +00:00
lt/ltris
lu lunarvim: 1.3.0 -> 1.4.0 (#313451) 2024-05-22 15:49:22 +00:00
lw/lwgrp
lx
lz
m2
ma marge-bot: unbreak by disabling erroring test 2024-05-23 05:00:35 +00:00
mb
mc Merge pull request #313200 from otavio/auto-update/mcuboot-imgtool 2024-05-21 18:14:49 -04:00
md
me melonDS: 0.9.5-unstable-2024-05-13 -> 0.9.5-unstable-2024-05-15 (#312886) 2024-05-19 17:38:43 -04:00
mf
mg
mi mini-calc: 3.0.0 -> 3.0.1 2024-05-21 08:52:41 +02:00
mk
ml/mlx42
mo mods: unbreak, modernize 2024-05-22 21:55:36 +00:00
mp
mq
ms
mu
my
n2/n2
na Merge pull request #312591 from r-ryantm/auto-update/navidrome 2024-05-21 21:43:12 +02:00
nb/nbtscan
nc
nd/ndstrim
ne nekoray: add qtwayland to buildInputs 2024-05-23 10:58:18 +00:00
nf
ng
nh
ni nix-direnv: 3.0.4 -> 3.0.5 2024-06-03 17:38:39 +00:00
nl
nm/nmap-parse
nn/nncp
no normcap: 0.5.6 -> 0.5.7 2024-05-19 10:20:17 +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-24 07:01:30 +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.2 -> 5.4.0 2024-05-31 14:49:49 +00:00
of offat: 0.17.5 -> 0.18.0 2024-05-20 17:44:41 +00:00
oh
oi oink: init at 1.1.1 2024-06-05 04:17:47 +00:00
ol
om omnictl: 0.35.0 -> 0.35.1 2024-05-19 11:03:36 +00:00
on
op opencomposite: 0-unstable-2024-05-08 -> 0-unstable-2024-05-24 2024-06-05 12:21:21 +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 payloadsallthethings: init at 3.0-unstable-2024-01-21 2024-06-05 20:18:49 +00:00
pd
pe
pf/pfft
pg
ph
pi pietrasanta-traceroute: init at 0.0.5-unstable-2023-11-28 (#313400) 2024-05-21 16:12:35 +00:00
pk Merge pull request #316980 from NixOS/backport-315516-to-release-24.05 2024-06-05 12:12:11 +02:00
pl Merge pull request #316477 from NixOS/backport-315960-to-release-24.05 2024-06-01 22:39:05 +02:00
pm
pn
po powerpipe: 0.3.0 -> 0.3.1 2024-05-31 08:42:10 +00:00
pp/ppsspp
pq
pr process-cpp: unstable-2021-05-11 -> 3.0.1-unstable-2024-03-14 2024-06-05 11:08:36 +00:00
ps/ps_mem
pt
pu pulsar: move to pkgs/by-name 2024-05-26 17:22:26 +00:00
pv/pvsneslib
pw
px/pxder
py pyprland: 2.3.2 -> 2.3.4 2024-05-27 07:54:09 +00:00
pz/pzip
qa/qadwaitadecorations
qc/qcm
qd/qdirstat
qg/qgrep
qp/qpoases
qr
qs
qt/qtractor
qu
r1/r10k
ra rasm: migrate to by-name 2024-05-24 08:15:25 +00:00
rc rcp: 0.7.0 -> 0.9.0 2024-05-18 22:27:17 -06:00
rd/rdwatool
re renode-unstable: 1.15.0+20240515gita6b1d773d -> 1.15.0+20240517gitf683c4f59 2024-06-02 13:15:14 +00:00
rh/rHttp
ri river: 0.3.1 -> 0.3.2 2024-06-02 13:48:15 +00:00
rk
rl/rl_json
rm
rn/rnd-name
ro Merge pull request #221729 from JohnJohnstone/master 2024-05-22 22:30:09 +08: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 samrewritten: change platforms to only x86_64-linux 2024-05-27 21:00:51 +00:00
sb/sbom-utility
sc Merge pull request #308392 from r-ryantm/auto-update/scotch 2024-05-22 12:19:45 +02:00
sd
se
sg/sgfutils sgfutils: fix build on darwin 2024-05-29 08:42:42 +00:00
sh share-preview: fix build on darwin 2024-05-24 06:49:23 +00:00
si sirikali: 1.5.1 -> 1.6.0 (#310323) 2024-05-22 12:33:57 +00:00
sk
sl slumber: 1.3.0 -> 1.3.1 2024-05-21 10:12:49 +02:00
sm
sn snipe-it: 6.4.1 -> 6.4.2 2024-06-05 09:52:12 +02:00
so
sp spicetify-cli: rename bin 2024-05-25 05:19:31 +00:00
sq sqlmc: 1.0.0 -> 1.1.0 2024-05-21 12:23:53 +00:00
sr
ss
st stats: 2.10.14 -> 2.10.15 2024-05-29 13:35:57 +00:00
su
sv
sw switch-to-configuration-ng: retain escaped content in unit files 2024-05-30 13:46:46 +00: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 textlint-rule-common-misspellings: repackage 2024-05-26 00:24:19 +00:00
tg/tgpt
th
ti
tk
tl
tm/tmuxifier
to
tp
tr Merge pull request #310158 from nh2/tracexec 2024-05-19 13:46:05 +02:00
tt
tu turtle: init at 0.8 2024-05-23 05:11:43 +00:00
tw twitch-dl: 2.3.0 -> 2.3.1 2024-05-19 13:04:12 +02:00
tx/txr
ty typstyle: 0.11.21 -> 0.11.22 2024-05-21 09:57:05 +02:00
uc
ud
ue
ug
uh/uhttpmock_1_0
ui
um/umpire
un unison-fsmonitor: 0.3.3 -> 0.3.4 2024-05-27 15:19:30 +00:00
up
us
ut
uu/uuu
uv/uv uv: 0.1.44 -> 0.1.45 2024-05-20 22:36:08 +00:00
uw/uwhoisd
ux
va
vc
vd/vdhcoapp
ve vencord: 1.8.4 -> 1.8.6 2024-05-26 09:46:18 +00:00
vg/vgm2x
vi vinegar: 1.7.3 -> 1.7.4; Add childwindow patch; pinned Wine to 9.2-staging (#315297) 2024-05-28 09:01:17 +00:00
vl
vo/voidmap
vu vunnel: 0.23.0 -> 0.23.2 2024-05-25 07:01:56 +00:00
vv/vvvvvv
wa waylock: 1.0.0 -> 1.1.0 2024-06-02 13:43:25 +00:00
wb
we webcord-vencord: fix runtime segfault 2024-05-26 07:57:33 +00:00
wh
wi win-disk-writer: init at 1.3 2024-06-02 17:58:37 +00:00
wl wl-kbptr: init at 0.2.1 2024-05-20 22:50:13 +02:00
wo
wp
ws
wt
wy/wyoming-satellite
x1/x16
x5/x509-limbo
xa/xarcan
xc xcaddy: 0.4.1 -> 0.4.2 2024-06-03 21:02:45 +00:00
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 Merge pull request #313215 from LeSuisse/yara-x-init 2024-05-22 08:45:17 +02:00
yc/ycmd
yd/ydotool
ye
yg/yggdrasil
yj/yj
yo
ys/ysfx
yt ytdownloader: refactor code with copyDesktopItems & nixfmt 2024-06-04 12:56:19 +00:00
yu
za
zb/zbus-xmlgen
zc/zcfan
ze
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;
}