nixpkgs/pkgs/by-name
2023-12-25 22:24:11 +01:00
..
_4/_4th
_9/_9base
a4/a4
aa aaaaxy: 1.4.101 -> 1.4.119 2023-12-11 22:14:48 +01:00
ab/aba
ac
ad ad-miner: init at 0.6.0 2023-12-14 14:50:02 +01:00
ae/aeron-cpp aeron-cpp: init at 1.42.1 2023-12-08 16:38:18 +00:00
af/afterstep
ai
al alephone: 1.6.2 -> 1.7 2023-12-10 09:25:34 +00:00
am amphetype: init at 1.0.0 2023-12-21 09:40:52 +01:00
an/anime4k anime4k: init at 4.0.1 2023-12-16 21:40:19 +01:00
ao/aocl-utils
ap
ar ark-pixel-font: 2023.08.15 -> 2023.11.26 2023-12-13 05:03:24 +00:00
as treewide: don't use pname for mainProgram where pname is static 2023-12-20 14:25:55 +01:00
at/athens athens: remove timpath flag, don't use pname as repo 2023-12-24 09:48:02 +01:00
au/auto-epp
av/avr-sim
aw treewide: don't use pname for mainProgram where pname is static 2023-12-20 14:25:55 +01:00
ax/axmldec
ay/ayatana-indicator-messages
ba
bc/bc-ur bc-ur: init at 0.3.0 2023-12-17 20:28:59 +01:00
be
bi
bk/bk
bl/bluetility
bm/bmake
bn/bngblaster
bo boogie: 3.0.6 -> 3.0.9 2023-12-13 08:18:51 +00:00
br bruno: 1.4.0 -> 1.5.0 2023-12-18 10:37:08 +10:00
bu
c2 c2fmzq: 0.4.15 -> 0.4.16 2023-12-25 12:31:28 +00:00
ca cargo-xwin: 0.16.2 -> 0.16.3 2023-12-25 13:08:31 +00:00
cb/cbmbasic
cd
ce
cg/cgl
ch/changelog-d
ci
cl cloudlogoffline: init at 1.1.4 2023-12-21 04:04:44 +01:00
cm Merge master into staging-next 2023-12-08 06:00:55 +00:00
cn/cntb
co composer-require-checker: init at 4.8.0 2023-12-20 14:39:33 +01:00
cp/cpu-x cpu-x: 5.0.1 -> 5.0.2 2023-12-07 01:38:56 +00:00
cr Merge pull request from superherointj/crossplane-cli-1.14.4 2023-12-24 18:06:50 -05:00
ct/ctx
cy
da/dark-mode-notify
db/dbus-cpp
de decent-sampler: init at 1.9.4 2023-12-21 12:15:42 +09:30
di didder: 1.2.0 -> 1.3.0 2023-12-21 09:18:08 +00:00
dj/djent
dm/dmenu-bluetooth
do doublecmd: 1.1.5 -> 1.1.7 2023-12-15 07:02:17 +00:00
dr/drone-scp drone-scp: 1.6.11 -> 1.6.12 2023-12-24 21:25:09 +00:00
dt/dtcmp
du durden: unstable-2023-08-11 -> unstable-2023-10-23 2023-12-05 23:04:47 -03:00
dv/dvb-apps
dx
dy/dyalog
ec
ei eigenlayer: init at 0.5.0 2023-12-21 14:45:21 +02:00
ek/eksctl eksctl: 0.164.0 -> 0.165.0 2023-12-14 14:04:27 +00:00
el/elvish
em
en endlines: init at 1.9.2 2023-12-09 20:48:14 -05:00
er/eriscmd
es/esbuild-config
eu/eudev
ez/eza eza: 0.16.3 -> 0.17.0 2023-12-13 18:04:46 +01:00
fa
fc
fe/feather feather: 2.5.2 -> 2.6.1 2023-12-17 20:31:43 +01:00
ff Merge pull request from Benjamin-L/add-ffsubsync 2023-12-13 08:46:15 +00:00
fi/firewalk
fl flarectl: 0.82.0 -> 0.83.0 2023-12-15 00:53:11 +00:00
fm
fn/fnott
fo footswitch: unstable-2022-04-12 -> unstable-2023-10-10 2023-12-11 15:03:56 -05:00
fr frankenphp: 1.0.1 -> 1.0.2 2023-12-25 22:24:11 +01:00
ga
gb/gbar
gc gcli: 2.0.0 -> 2.1.0 2023-12-11 05:19:17 +00:00
ge
gh
gi gickup: 0.10.23 -> 0.10.24 2023-12-19 15:33:10 -05:00
gl/glycin-loaders
gm/gmic
go Merge pull request from SuperSandro2000/go-camo 2023-12-23 21:11:30 -05:00
gr gruvbox-plus-icon-pack: init at unstable-2023-11-07 2023-12-07 16:53:21 +03:00
gu guile-lzma: don't strip on darwin 2023-12-05 00:47:20 +01:00
ha hare: unstable-2023-10-23 -> unstable-2023-11-27 2023-12-14 19:27:37 -03:00
hd/hdrop hdrop: init at 0.2.4 2023-12-06 04:09:38 +01:00
he
hi/hifile
hj/hjson-go hjson-go: 4.3.1 -> 4.4.0 2023-12-15 22:39:18 +00:00
ho
ht/http3-ytproxy http3-ytproxy: init at unstable-2022-07-03 2023-12-17 19:48:03 +01:00
hu/hugo hugo: add missing meta.mainProgram 2023-12-25 15:15:12 +01:00
hy
i3 i3-open-next-ws: init at 0.1.5 2023-12-14 02:10:58 +01:00
ia/ia-writer-quattro
ic/icewm
id/idsk idsk: refactor 2023-12-10 14:42:19 +01:00
if/ifrextractor-rs
im
in Merge pull request from adamcstephens/incus/0.4 2023-12-25 08:54:26 -05:00
ir/ironbar
ja jazz2: 2.3.0 -> 2.4.0 2023-12-23 21:26:13 +00:00
ji jigdo: 0.7.3 -> 0.8.2, refactor 2023-12-10 23:10:35 +01:00
jo/joycond-cemuhook
ju/justbuild
ka/katriawm
kc/kconfig-frontends
kd/kdsingleapplication
ke
kg/kgeotag
ki/kikit python3Packages.shapely: rename shapely18 to shapely_1_8 2023-12-07 09:45:59 +01:00
km/kmsvnc
ko koodousfinder: init at 0.1.0 2023-12-14 08:36:55 +01:00
ks/kseexpr
kt ktls-utils: init at 0.10 2023-12-18 16:36:43 -03:00
ku kubo: 0.24.0 -> 0.25.0 2023-12-14 23:21:54 +01:00
la Merge master into staging-next 2023-12-07 12:01:24 +00:00
lc/lcab
le Merge pull request from MikaelFangel/update-legba 2023-12-25 08:10:36 -05:00
li Apply suggestions from code review 2023-12-23 12:52:58 +08:00
ll Merge pull request from KaiHa/pr-llama-cpp-assert 2023-12-22 08:36:34 -05:00
ln/lngen
lo Merge pull request from jtojnar/gnome-update 2023-12-22 20:20:18 +08:00
lu
lw/lwgrp
lx/lxd-to-incus lxd-to-incus: 0.3.0 -> 0.4.0 2023-12-21 14:20:18 -05:00
m2
ma Merge pull request from doronbehar/pkg/matlab-language-server 2023-12-06 14:15:21 +00:00
mc/mcuboot-imgtool
me memtree: deduplicate pytestCheckHook 2023-12-12 19:49:19 +01:00
mf/mfoc-hardnested
mi Revert "maintainer-list: drop gm6k" 2023-12-19 13:10:44 +01:00
mk/mksh
ml/mlx42
mo monophony: add update script 2023-12-22 14:01:56 +00:00
mp/mpifileutils
ms/msolve msolve: 0.6.1 -> 0.6.3 2023-12-17 16:31:47 +01:00
mu/mus
my/mystmd mystmd: 1.1.36 -> 1.1.37 2023-12-23 04:20:00 +00:00
n2/n2
na Merge pull request from r-ryantm/auto-update/namespace-cli 2023-12-19 15:51:51 +09:00
ne netclient: 0.21.1 -> 0.21.2 2023-12-17 06:06:19 +00:00
nf/nfft
nh/nh nh: init at 3.4.12 2023-12-05 19:48:24 +01:00
ni Merge pull request from Mic92/nix-direnv 2023-12-24 21:16:22 +01:00
nl/nls
nn/nncp
no treewide: don't use pname for mainProgram where pname is static 2023-12-20 14:25:55 +01:00
nr/nrpl
ns
nu numbat: 1.8.0 -> 1.9.0 2023-12-19 14:40:03 +01:00
nw/nwg-drawer nwg-drawer: 0.4.1 -> 0.4.3 2023-12-05 19:09:26 +00:00
oa Merge pull request from wentasah/oauth2ms 2023-12-11 09:31:07 -05:00
oc
oe/oelint-adv oelint-adv: 3.26.4 -> 3.26.5 2023-12-17 09:52:53 +00:00
of/offpunk offpunk: Add passthru.tests.version 2023-12-12 20:28:05 +01:00
oh/oh-my-fish
on
op openai-triton-llvm: 14.0.6-f28c006a5895 -> 17.0.0-c5dede880d17 2023-12-08 10:11:32 -03:00
or/orchard orchard: 0.14.3 -> 0.15.0 2023-12-17 12:30:01 +00:00
ot oterm: init at 0.1.17 2023-12-19 18:41:54 +03:00
ou/outputcheck
ov/ovn ovn/ovn-lts: init at 23.09.1/22.03.5 2023-12-22 23:37:41 -05:00
ow/owncloud-client
pa passes: 0.8 -> 0.9 2023-12-17 15:00:13 +00:00
pd
pe Merge pull request from OPNA2608/init/persistent-cache-cpp 2023-12-18 14:07:24 +01:00
pg/pgmoneta pgmoneta: 0.7.1 -> 0.7.2 2023-12-17 15:43:02 +00:00
ph phpunit: add meta.mainProgram 2023-12-05 16:40:44 +01:00
pi pipeworld: unstable-2023-03-02 -> unstable-2023-02-05 2023-12-05 23:04:47 -03:00
pl platformsh: 4.10.0 -> 4.11.4 2023-12-11 14:49:28 -03:00
po polybar-pulseaudio-control: init at 3.1.1 2023-12-07 14:33:40 -07:00
pp/ppsspp
pr presenterm: 0.4.0 -> 0.4.1 2023-12-22 16:44:17 +01:00
pt/pterm
pu/pushup pushup: init at 0.2 2023-12-23 11:24:53 -06:00
pw pwru: init at 1.0.5 2023-12-23 14:03:39 -05:00
px/pxder
py pyprland: 1.6.0 -> 1.6.9 2023-12-23 14:35:45 +03:00
pz/pzip
qa/qadwaitadecorations
qr/qrtool qrtool: 0.8.5 -> 0.10.1 2023-12-23 03:14:37 +00:00
qu
ra raft-cowsql: 0.18.2 -> 0.18.3 2023-12-23 03:46:01 +00:00
rc rclip: init at 1.7.6 2023-12-06 16:20:02 +08:00
re regex2json: init at 0.11.0 2023-12-18 22:30:00 +01:00
ri rita: 4.8.0 -> 4.8.1 2023-12-23 04:49:43 +00:00
ro
rp/rpcs3
rq/rqbit rqbit: 4.0.1 -> 5.4.0 2023-12-17 04:20:00 +00:00
rs rsgain: init at 3.4 2023-12-22 21:29:42 -03:00
rt/rtl-sdr-osmocom
ru
sa satty: 0.8.0 -> 0.8.2 2023-12-20 14:27:38 +01:00
sc
sd/sdcc
se seabios: migrate to by-name 2023-12-11 08:22:52 -03:00
sg/sgfutils sgfutils: init at unstable-2017-11-27 2023-12-04 23:40:12 +02:00
sh shopware-cli: 0.3.12 -> 0.4.4 2023-12-19 22:01:42 +01:00
si Merge pull request from r-ryantm/auto-update/signal-export 2023-12-24 01:34:54 -06:00
sl
sm smlfut: 1.1.0 -> 1.2.0 2023-12-23 10:20:18 +00:00
sn Merge pull request from ianmjones/snippetexpander-1.0.1 2023-12-18 13:55:01 +01:00
so soco-cli: 0.4.55 -> 0.4.73 2023-12-17 11:56:02 +01:00
sp Merge pull request from Gerg-L/spicetify 2023-12-11 10:32:24 -05:00
sr/srm-cuarzo srm-cuarzo: init at 0.4.0-1 2023-12-20 20:01:54 +01:00
ss/sssnake sshx: split components, unstable-2023-11-04 -> unstable-2023-11-23 2023-12-04 05:33:26 +02:00
st steamguard-cli: 0.12.3 -> 0.12.5 2023-12-09 11:28:05 +00:00
su Merge pull request from natsukium/sudachi/init 2023-12-25 00:02:23 +01:00
sv/svix-server
sw swayfx: wrap like sway 2023-12-17 09:30:31 +00:00
sx/sxhkd
sy syn2mas: init at 0.7.0 2023-12-18 18:29:58 +01:00
ta tailscale-nginx-auth: 1.48.2 -> 1.56.1 2023-12-24 11:34:10 +00:00
tc/tcsh
te terrapin-scanner: 1.0.3 -> 1.1.0 2023-12-20 22:16:20 +01:00
th
ti
tk/tkdiff
tl/tlrc
tm/tmuxifier
to/torrentstream
tp
tr treecat: init at 1.0.2-unstable-2023-11-28 2023-12-15 07:19:46 -03:00
tt/ttop ttop: 1.2.7 -> 1.2.8 2023-12-13 23:40:56 +01:00
tu tuxclocker: init at 1.4.0 2023-12-14 21:56:39 +02:00
tx/txr
ty typst: 0.9.0 -> 0.10.0 2023-12-04 17:15:02 +01:00
uc
ud
ui uiua: 0.7.0 -> 0.7.1 2023-12-19 07:10:13 +01:00
un
up
us/usql usql: 0.16.0 -> 0.17.0 2023-12-08 00:54:00 +00:00
ut/ut
uu/uuu
ux/uxn uxn: unstable-2023-11-12 -> unstable-2023-12-05 2023-12-08 00:52:20 +00:00
va/valijson
vc vcpkg: init at 2023.08.09 2023-12-07 10:01:01 -03:00
ve vesktop: add missing libnotify 2023-12-13 21:11:50 -05:00
vg/vgm2x
vi Merge pull request from tejing1/vieb-update-11.0.0 2023-12-25 08:20:07 -05:00
wa waybox: 0.2.0 -> 0.2.2 2023-12-15 10:33:06 +08:00
wb/wb32-dfu-updater
we/websecprobe
wh whistle: 2.9.59 -> 2.9.61 2023-12-23 04:20:00 +00:00
wi Merge pull request from wineee/wlroots_17 2023-12-22 09:45:58 -05:00
wl/wl-gammarelay-rs wl-gammarelay-rs: init at 0.3.2 2023-12-10 23:30:32 +01:00
wo
wp/wp-cli
ws/wslay
wt/wtfis
xa/xarcan xarcan: unstable-2022-06-14 -> unstable-2023-11-03 2023-12-05 23:04:47 -03:00
xd xdg-terminal-exec: init at unstable-2023-12-08 2023-12-11 13:01:33 +01:00
xm/xmldiff
xo xorriso: update hash 2023-12-06 14:06:36 +01:00
xs
xw/xwayland-run xwayland-run: init at 0.0.2 2023-12-18 16:44:05 -03:00
ye/yeahwm
yg/yggdrasil yggdrasil: 0.5.2 → 0.5.4 2023-12-06 07:15:16 +00:00
yt
yu/yunfaavatar
za/zapzap zapzap: fix double wrapping, install icon in correct directory 2023-12-17 21:35:45 +01:00
zb/zbus-xmlgen zbus-xmlgen: init at 3.1.1 2023-12-17 12:24:32 +01:00
zc/zcfan
ze/zesarux
zi/zitadel
zp
zs/zs
zu/zug
zw/zwave-js-server
zx
README.md tests.nixpkgs-check-by-name: Create script to run locally 2023-12-20 17:38:03 +01:00

Name-based package directories

The structure of this directory maps almost directly to top-level package attributes. This is the recommended way to add new top-level packages to Nixpkgs when possible.

Packages found in the named-based structure do not need to be explicitly added to the top-level/all-packages.nix file unless they require overriding the default value of an implicit attribute (see below).

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.