nixpkgs/pkgs/by-name
2024-01-30 06:20:45 +00:00
..
_4/_4th
_9/_9base _9base: move flags to env 2024-01-21 22:14:24 +01:00
a4/a4
aa
ab/aba
ac
ad advcpmv: 0.9-9.3 -> 0.9-9.4 2024-01-17 09:56:35 -03:00
ae aeacus: init at 2.1.1 2024-01-18 08:21:02 +01:00
af/afterstep
ai
al
am amazon-ssm-agent: 3.2.2086.0 -> 3.2.2143.0 2024-01-22 13:56:24 +01:00
an anyk: init at 3.26.0 2024-01-24 14:21:58 +01:00
ao/aocl-utils
ap Merge pull request from r-ryantm/auto-update/apt 2024-01-22 18:20:24 +01:00
ar arxiv-latex-cleaner: 1.0.1 -> 1.0.3 2024-01-20 06:21:01 +00:00
as Merge pull request from shard77/patch-4 2024-01-18 22:05:58 +01:00
at Merge staging-next into staging 2024-01-17 18:01:27 +00:00
au audiobookshelf: 2.7.1 -> 2.7.2 2024-01-18 14:54:11 -05:00
av/avr-sim
aw await: init at 0.999 2024-01-25 14:16:48 +00:00
ax/axmldec
ay ayatana-indicator-datetime: 23.10.0 -> 23.10.1 2024-01-20 23:56:27 +01:00
ba bankstown-lv2: init at 1.1.0 () 2024-01-23 12:48:21 +01:00
bc/bc-ur
be beekeeper-studio: fix hash 2024-01-20 04:57:32 +01:00
bi bitmagnet: 0.4.1 -> 0.5.1 2024-01-29 11:28:57 +00:00
bk/bk
bl python311Packages.recursive-pth-loader: rename from recursivePthLoader 2024-01-25 22:13:17 +01:00
bm/bmake
bn/bngblaster
bo Merge pull request from wegank/bobcat-refactor 2024-01-29 09:18:19 +01:00
br Merge pull request from octodi/bruteforce-salted-openssl 2024-01-18 08:18:56 +01:00
bs/bsync bsync: init at unstable-2023-12-21 2024-01-19 19:38:43 +01:00
bu Merge pull request from krloer/master 2024-01-29 14:13:39 +01:00
by/bytecode-viewer
c2 c2fmzq: 0.4.17 -> 0.4.18 2024-01-28 13:55:17 +00:00
c- Merge pull request from sikmir/c-periphery 2024-01-28 19:17:07 +01:00
ca Merge pull request from clr-cera/candy-icons 2024-01-20 16:41:56 +01:00
cb/cbmbasic
cd
ce centrifugo: 5.2.1 -> 5.2.2 2024-01-26 14:08:18 +00:00
cg/cgl
ch
ci
cl Merge pull request from chewblacka/update-clamtk 2024-01-28 21:22:24 +09:00
cm
cn/cntb
co Merge pull request from emilioziniades/feature/cookcli 2024-01-29 18:34:25 +01:00
cp
cr cryptor: 1.0.3 -> 1.1.0 2024-01-27 19:59:38 +00:00
cs Merge pull request from zoriya/init-csharpier 2024-01-18 09:35:09 +01:00
ct/ctx
cy
cz/czkawka
da/dark-mode-notify
db/dbus-cpp
dc/dc3dd dc3dd: init at 7.3.1 2024-01-27 23:23:09 +01:00
de Merge pull request from leo248/deskreen 2024-01-25 19:31:14 +01:00
di
dj/djent
dm
do dorion: 4.0.0 -> 4.1.1 2024-01-27 14:30:09 +00:00
dp/dpp dpp: init at 10.0.29 2024-01-28 19:23:53 -08:00
dr/drone-scp
dt/dtcmp
du dublin-traceroute: 0.4.2-unstable-2023-04-12 -> 0.4.2-unstable-2024-01-09 2024-01-24 00:18:06 +01:00
dv/dvb-apps
dx
dy
ea/easyeasm easyeasm: init at 1.0.6 2024-01-28 18:16:03 +01:00
eb ebtks: fix build on darwin 2024-01-21 20:00:48 +01:00
ec
ed/eduvpn-client
ei Merge pull request from r-ryantm/auto-update/eiwd 2024-01-28 11:35:39 +01:00
ek/eksctl eksctl: 0.168.0 -> 0.169.0 2024-01-26 16:04:41 +00:00
el Merge pull request from r-ryantm/auto-update/elektroid 2024-01-27 19:53:54 +01:00
em
en
er
es
eu
ex/exiflooter
ez/eza eza: 0.17.2 -> 0.17.3 2024-01-25 15:29:45 +01:00
fa Merge pull request from katexochen/fac/unstable 2024-01-20 23:12:05 +01:00
fc
fe fennel-ls: init at 0.1.0 2024-01-22 08:14:43 +02:00
ff
fi files-cli: 2.12.22 -> 2.12.24 2024-01-22 12:54:09 +00:00
fl fleng: 17 -> 19 2024-01-24 06:53:56 +00:00
fm
fn/fnott
fo forge-sparks: init at 0.2.0 2024-01-18 09:32:39 +02:00
fr free42: 3.1.2 -> 3.1.3 2024-01-23 11:05:42 +00:00
fu/fuchsia-cursor fuchsia-cursor: init at 2.0.0 2024-01-28 18:08:44 +01:00
fw/fwupd fwupd: move to by-name 2024-01-24 20:29:08 +01:00
ga gato: 1.5 -> 1.6 2024-01-22 03:08:32 +00:00
gb/gbar
gc
ge
gh
gi
gl glauth: add myself as maintainer 2024-01-19 10:06:32 +01:00
gm/gmic
go Merge pull request from r-ryantm/auto-update/goldwarden 2024-01-28 06:06:06 +01:00
gp/gprename gprename: init at 20230429 2024-01-23 16:20:40 +01:00
gr gruvbox-gtk-theme: move to by-name directory 2024-01-28 16:37:18 +01:00
gt Merge pull request from nixdrin/gtimelog 2024-01-29 14:25:09 +01:00
gu guile-goblins: 0.11.0 -> 0.12.0 2024-01-27 17:17:17 +01:00
h8/h8mail
ha Merge pull request from onemoresuza/haredo 2024-01-23 10:28:49 +00:00
hd/hdrop hdrop: 0.3.0 -> 0.4.4 2024-01-19 09:49:23 +00:00
he helix-gpt: init at 0.15 2024-01-28 15:04:52 -05:00
hi/hifile
hj/hjson-go
ho
ht Merge pull request from dotlambda/http-server-buildNpmPackage 2024-01-20 20:33:50 -08:00
hu/hugo hugo: 0.121.2 -> 0.122.0 2024-01-27 06:37:30 +00:00
hy
i3
ia ianny: init at v1.0.0beta.1 2024-01-27 16:03:16 +00:00
ic
id/idsk
if/ifrextractor-rs
ig Merge pull request from TheBrainScrambler/igir 2024-01-27 10:40:50 -05:00
ii
im
in incus: add missing service dependencies 2024-01-19 10:59:08 -05:00
ir/ironbar ironbar: 0.13.0 -> 0.14.0 2024-01-21 10:50:27 +00:00
ja Merge pull request from TomaSajt/jasp-desktop 2024-01-21 15:43:53 +11:00
jd/jdt-language-server jdt-language-server: Call installlPhase hooks 2024-01-25 19:50:35 +01:00
ji
jj/jj
jo/joycond-cemuhook
ju/justbuild
ka
kc/kconfig-frontends
kd/kdsingleapplication
ke
kg/kgeotag
ki kikit: 1.3.0 -> 1.4.0 2024-01-21 05:17:06 +00:00
kl/klog-time-tracker
km/kmsvnc
ko
kp/kplex kplex: init at 1.4 2024-01-18 22:35:27 -05:00
ks/kseexpr
kt ktfmt: 0.46 -> 0.47 2024-01-22 09:35:10 +00:00
ku kubo: 0.25.0 -> 0.26.0 2024-01-22 16:42:00 +01:00
kx/kxstitch
la
lc/lcab
le lefthook: 1.5.6 -> 1.5.7 2024-01-22 02:04:38 +00:00
li Merge pull request from D3vil0p3r/patch-6 2024-01-28 13:21:07 +01:00
ll llama-cpp: 1848->1892; add static build mode 2024-01-19 08:42:56 -05:00
ln/lngen
lo Merge pull request from t4ccer/t4/approxmc 2024-01-19 16:21:09 +09:00
ls/lshw
lu lunar-client: 3.1.3 -> 3.2.1 2024-01-18 11:00:58 +01:00
lw/lwgrp
lx/lxd-to-incus
lz/lzsa
m2
ma Merge pull request from teutat3s/init-matrix-authentication-service 2024-01-20 18:38:09 -05:00
mc mcap-cli: init at 0.0.38 2024-01-21 12:42:24 -08:00
me mercure: 0.15.6 -> 0.15.9 2024-01-28 11:10:32 +01:00
mf/mfoc-hardnested
mg/mgitstatus mgitstatus: init at 2.2 2024-01-20 12:50:38 +05:30
mi minijinja: init at 1.0.12 2024-01-26 08:40:37 +05:30
mk
ml/mlx42
mo Merge pull request from rgri/init-mouse-actions 2024-01-27 03:47:42 +01:00
mp/mpifileutils
mq/mqttx
ms/msolve
mu muparser: 2.2.3 -> 2.3.4, refactor 2024-01-22 03:34:06 +01:00
my/mystmd
n2/n2
na namespace-cli: 0.0.328 -> 0.0.332 2024-01-28 10:40:53 +00:00
nc/ncdc
ne newsraft: 0.22 -> 0.23 2024-01-27 16:14:36 +00:00
nf/nfft
nh/nh
ni Merge pull request from marcusramberg/marcus/up_nimlsp 2024-01-29 06:12:49 -05:00
nl
nn/nncp
no
np/npm-lockfile-fix
nr nrr: init at 0.5.0 2024-01-26 18:37:12 +08:00
ns
nu
nv nvdtools: init at 0.1.5 2024-01-22 00:01:59 +01:00
nw/nwg-drawer
oa oam-tools: init at 0.1.2 2024-01-28 18:15:25 +01:00
ob/obs-do
oc ocenaudio: fix desktop file 2024-01-18 09:11:30 +00:00
oe/oelint-adv oelint-adv: 3.26.12 -> 4.1.0 2024-01-28 01:03:46 +00:00
of/offpunk
oh/oh-my-fish
on
op openscad-unstable: init at 2024-01-22 2024-01-28 16:41:04 +08:00
or Merge pull request from nicolas-goudry/update-ory-cli 2024-01-19 13:25:30 -08:00
ot oterm: 0.1.18 -> 0.1.21 2024-01-25 22:45:15 +09:00
ou/outputcheck
ov
ow/owncloud-client
pa Merge pull request from r-ryantm/auto-update/paper-clip 2024-01-29 05:57:39 +00:00
pd
pe
pf/pfft pfft: init at 1.0.8-alpha 2024-01-18 10:21:01 +01:00
pg pgmoneta: 0.7.3 -> 0.8.0 2024-01-23 08:57:12 +00:00
ph
pi pixi: add edmundmiller to maintainers 2024-01-27 13:56:25 -06:00
pk/pkcrack
pl plumber: init at 2.5.2 2024-01-23 14:07:58 -08:00
pm pmtiles: 1.13.0 -> 1.14.0 2024-01-29 04:34:50 +00:00
pn/pnfft pnfft: init at 1.0.7-alpha 2024-01-18 10:21:02 +01:00
po Merge pull request from shard77/patch-6 2024-01-26 01:26:06 +01:00
pp/ppsspp
pr Merge pull request from fabaff/prowler 2024-01-29 09:31:30 +01:00
pt/pterm
pu pupdate: 3.0.0 -> 3.1.0 2024-01-27 13:40:29 +00:00
pw
px/pxder
py pyprland: 1.7.0 -> 1.7.1 2024-01-26 16:44:17 +01:00
pz/pzip
qa/qadwaitadecorations qadwaitadecorations-qt6: 0.1.3 -> 0.1.4 2024-01-26 12:40:37 +00:00
qg/qgrep qgrep: 1.1 -> 1.3 2024-01-18 04:35:52 +01:00
qr qrtool: 0.10.2 -> 0.10.4 2024-01-22 14:57:21 +00:00
qs qsreplace: init at 0.0.3 2024-01-29 04:29:08 +00:00
qt/qtractor qtractor: 0.9.25 -> 0.9.38 2024-01-24 01:08:20 +01:00
qu
ra
rc rcp: init at 0.5.0 2024-01-24 11:40:27 -07:00
re Merge pull request from D3vil0p3r/patch-7 2024-01-23 10:06:20 +08:00
ri ricochet-refresh: init at 3.0.18 2024-01-24 11:14:06 +01:00
rm/rmg rmg: Fix licensing 2024-01-28 22:33:51 +01:00
ro
rp/rpcs3
rq/rqbit rqbit: 5.4.1 -> 5.4.2 2024-01-21 04:20:00 +00:00
rs
rt/rtl-sdr-osmocom
ru
s3/s3scanner
sa
sc
sd
se
sg/sgfutils
sh Merge pull request from r-ryantm/auto-update/shopware-cli 2024-01-28 08:01:45 -05:00
si simdutf: 4.0.8 -> 4.0.9 2024-01-30 06:20:45 +00:00
sl
sm
sn snicat: init at 0.0.1 2024-01-27 20:32:07 +01:00
so
sp spotube: init at 3.4.1 2024-01-29 13:36:05 +01:00
sq/sqlite-vss
sr
ss
st Merge pull request from aaronjheng/starlark 2024-01-23 22:12:30 -05:00
su supersonic: 0.8.2 -> 0.9.0 2024-01-28 02:52:18 +10:00
sv svp: init at 4.5.210-2 2024-01-27 13:58:55 -08:00
sw Merge pull request from frogamic/update/swaylock-fancy 2024-01-25 10:30:59 +09:00
sx
sy nixos/systemd-lock-handler: init 2024-01-27 11:55:46 +02:00
ta tailscale-nginx-auth: 1.58.0 -> 1.58.2 2024-01-27 23:40:34 +00:00
tc/tcsh
te terraform-plugin-docs: 0.17.0 -> 0.18.0 2024-01-25 03:56:07 +00:00
th
ti tigerbeetle: 0.14.175 -> 0.14.176 2024-01-28 05:10:33 +00:00
tk/tkdiff
tl tlmi-auth: init at 1.0.1 2024-01-26 17:42:55 +01:00
tm/tmuxifier
to toml-cli: init at 0.2.3 2024-01-23 11:50:09 +08:00
tp
tr trealla: 2.33.0 -> 2.34.0 2024-01-24 17:44:12 -03:00
tt/ttop
tu
tx/txr
ty typodermic-free-fonts: init at 2023a 2024-01-20 14:56:54 +00:00
uc
ud udebug: unstable-2023-11-28 -> unstable-2023-12-06 2024-01-22 01:42:09 +01:00
ue/uemacs uemacs: init at 4.0-unstable-2018-07-19 2024-01-19 20:30:47 +01:00
ui
un
up Merge master into staging-next 2024-01-22 12:01:10 +00:00
us/usql usql: 0.17.4 -> 0.17.5 2024-01-18 04:20:00 +00:00
ut/ut
uu/uuu
ux/uxn uxn: unstable-2024-01-04 -> unstable-2024-01-15 2024-01-18 20:05:00 +00:00
va/valijson
vc vcpkg: 2023.12.12 -> 2024.01.12 2024-01-21 16:02:22 +00:00
ve ventoy: 1.0.96 -> 1.0.97 2024-01-24 10:27:33 -03:00
vg/vgm2x
vi Merge pull request from unclamped/vibrantlinux 2024-01-21 00:40:06 +01:00
vu/vulkan-volk libplacebo_5, vulkan-volk: move to by-name 2024-01-21 14:25:59 +03:00
wa watchdogd: init at 4.0 2024-01-19 23:03:25 +01:00
wb/wb32-dfu-updater
we
wh whistle: 2.9.62 -> 2.9.63 2024-01-18 04:20:00 +00:00
wi Merge pull request from arikgrahl/wireguard-vanity-keygen 2024-01-21 23:58:43 +01:00
wl
wo worker: 5.0.0 -> 5.0.1 2024-01-26 21:21:41 +00:00
wp/wp-cli
ws/wslay
wt/wtfis
x1/x16
xa/xarcan
xd
xf/xfs-undelete xfs_undelete: init at unstable-2023-04-12 2024-01-19 22:08:05 +04:00
xi/xib2nib
xm xmpp-bridge: init at 0.6.0 2024-01-18 09:22:17 -08:00
xo
xp/xplr
xs xsct: 2.1 -> 2.2 2024-01-26 22:41:36 +00:00
xw/xwayland-run
ya/yanic yanic: init at 1.5.0 2024-01-25 09:12:00 +01:00
ye rustdesk-server: init module 2024-01-23 18:01:54 +01:00
yg/yggdrasil yggdrasil: 0.5.4 -> 0.5.5 2024-01-29 18:48:36 +00:00
yt
yu/yunfaavatar
za/zapzap
zb/zbus-xmlgen
zc/zcfan
ze/zesarux
zi Merge pull request from kirillrdy/unpin-go 2024-01-22 20:28:38 +09:00
zo/zola
zp zpaqfranz: 58.11 -> 59.1 2024-01-20 14:56:40 +00:00
zs/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

$ ./pkgs/test/nixpkgs-check-by-name/scripts/run-local.sh master

See here for more info.