nixpkgs/pkgs/by-name
2024-01-12 15:02:23 +01:00
..
_4/_4th
_9/_9base
a4/a4
aa
ab/aba
ac
ad
ae/aeron-cpp
af/afterstep
ai
al
am amazon-ssm-agent: 3.2.1798.0 -> 3.2.2086.0 2023-12-31 04:03:17 +00:00
an Merge pull request #278826 from running-grass/update_anytype 2024-01-05 10:28:30 -05:00
ao/aocl-utils
ap apt: 2.7.7 -> 2.7.8 2024-01-09 09:40:49 +00:00
ar armitage: init at unstable-2022-12-05 2023-12-31 13:02:10 +11:00
as python311Packages.wxpython: rename from wxPython_4_2 2024-01-07 21:16:47 +01:00
at/athens athens: 0.13.0 -> 0.13.1 2024-01-04 13:40:28 +01:00
au/auto-epp
av/avr-sim
aw
ax/axmldec
ay/ayatana-indicator-messages
ba
bc/bc-ur
be bemoji: 0.3.0 -> 0.3.0 (fix commit) 2024-01-03 21:32:51 +01:00
bi Merge master into staging-next 2024-01-07 18:00:54 +00:00
bk/bk
bl bluetuith: add update script 2023-12-31 09:40:40 +01:00
bm/bmake
bn/bngblaster
bo
br bruno: 1.5.1 -> 1.6.1 2024-01-06 10:33:03 +00:00
bu
by/bytecode-viewer bytecode-viewer: init at 2.12 2024-01-10 15:15:14 +01:00
c2 c2fmzq: 0.4.16 -> 0.4.17 2023-12-31 05:52:08 +00:00
ca cansina: init at 0.9 2024-01-01 12:06:00 +01:00
cb/cbmbasic
cd
ce centrifugo: 5.1.2 -> 5.2.0 2023-12-31 08:23:34 +00:00
cg/cgl
ch/changelog-d
ci
cl Merge pull request #273706 from r-ryantm/auto-update/cljfmt 2024-01-03 16:20:30 +01:00
cm
cn/cntb
co codeium: 1.6.18 -> 1.6.20 2024-01-09 14:22:33 +01:00
cp cpuset: remove thiagokokada from maintainers 2024-01-08 16:23:39 +00:00
cr crc: move to by-name 2023-12-30 11:25:10 +01:00
cs/csvlens csvlens: init at 0.5.1 2024-01-08 13:51:47 +09:00
ct/ctx
cy
cz/czkawka czkawka: migrate to by-name 2024-01-04 18:22:49 -03:00
da/dark-mode-notify
db/dbus-cpp
de
di disko: init at 1.3.0 2024-01-08 08:27:01 +01:00
dj/djent
dm dmarc-report-converter: init at 0.6.5 2024-01-02 10:46:31 +01:00
do dosbox-staging: patches to deal with pagesize detection 2024-01-07 22:55:02 -03:00
dr/drone-scp drone-scp: 1.6.13 -> 1.6.14 2024-01-05 04:27:41 +00:00
dt/dtcmp
du
dv/dvb-apps
dx
dy dynamodb-local: init at 2023-12-14 2024-01-03 11:08:58 +01:00
eb/ebpf-usb ebpf-usb: init at unstable-2022-04-03 after PR review feedback 2024-01-09 22:55:39 -06:00
ec
ed/eduvpn-client eduvpn-client: init at 4.2.0 2024-01-08 12:04:10 +01:00
ei
ek/eksctl eksctl: 0.165.0 -> 0.167.0 2023-12-26 02:46:33 +00:00
el elektroid: move to name-based directory package 2024-01-03 10:17:50 +00:00
em
en encled: init at unstable-2022-07-23 2024-01-03 22:40:34 +01:00
er eris-go: 20231119 -> 20231219 2024-01-04 06:24:03 +00:00
es espresso: init at 2.4 2024-01-04 11:03:39 +09:00
eu eurofurence: init at 2000-04-21 2024-01-12 09:50:48 +00:00
ez/eza eza: 0.17.0 -> 0.17.1 2024-01-11 16:30:04 +01:00
fa
fc
fe/feather feather: 2.6.1 -> 2.6.2 2024-01-05 08:27:32 +00:00
ff ff2mpv-go: use 'PATH' to invoke 'mpv' 2023-12-31 15:49:04 +00:00
fi
fl flarectl: 0.84.0 -> 0.85.0 2024-01-03 07:04:21 +00:00
fm
fn/fnott
fo
fr freefilesync: migrate to by-name 2024-01-10 22:45:44 +01:00
ga
gb/gbar
gc
ge
gh
gi gickup: 0.10.25 -> 0.10.26 2024-01-07 00:35:55 +00:00
gl glide-media-player: init at 0.6.1 2023-12-23 14:03:20 +08:00
gm/gmic
go goldwarden: 0.2.7 -> 0.2.9 2024-01-05 05:23:05 +00:00
gr grimblast: unstable-2023-10-03 -> unstable-2024-01-11 2024-01-11 14:16:20 +00:00
gt Merge pull request #272092 from UARTman/gtkclipblock 2024-01-09 18:15:41 +01:00
gu
ha
hd/hdrop hdrop: 0.2.4 -> 0.3.0 2023-12-29 09:47:11 +00:00
he
hi/hifile hifile: 0.9.9.6 -> 0.9.9.7 2023-12-26 13:27:48 +01:00
hj/hjson-go
ho
ht htmx-lsp: init at 0.1.0 2023-12-30 02:28:11 -05:00
hu/hugo hugo: add missing meta.mainProgram 2023-12-25 15:15:12 +01:00
hy
i3
ia/ia-writer-quattro
ic/icewm icewm: 3.4.4 -> 3.4.5 2023-12-29 08:25:22 +00:00
id/idsk
if/ifrextractor-rs
ig/ignite-cli ignite-cli: init at 28.1.0 2023-12-26 10:18:59 +10:00
ii/iir1 iir1: migrate to by-name 2024-01-07 22:55:02 -03:00
im
in Merge pull request #263345 from hacker1024/feature/pub2nix 2024-01-05 16:34:07 +01:00
ir/ironbar
ja jasp-desktop: init at 0.18.2 2024-01-11 00:45:52 +01:00
ji
jj/jj
jo/joycond-cemuhook
ju/justbuild justbuild: 1.2.1 -> 1.2.4 2024-01-04 20:02:18 +01:00
ka
kc/kconfig-frontends
kd/kdsingleapplication kdsingleapplication: 1.0.0 -> 1.1.0 2023-12-22 19:35:14 +00:00
ke
kg/kgeotag kgeotag: 1.4.0 -> 1.5.0 2024-01-05 05:37:50 +00:00
ki python311Packages.wxpython: rename from wxPython_4_2 2024-01-07 21:16:47 +01:00
kl/klog-time-tracker
km/kmsvnc
ko kor: 0.3.2 -> 0.3.3 2024-01-11 04:59:00 +00:00
ks/kseexpr
kt Merge pull request #274758 from r-ryantm/auto-update/maven 2024-01-04 23:02:33 +01:00
ku
kx/kxstitch kxstitch: init at unstable-2023-12-31 2024-01-01 23:04:52 +02:00
la Merge pull request #278985 from romildo/upd.labwc-tweaks 2024-01-11 19:11:01 -03:00
lc/lcab
le leaf: 0.1.0 -> 0.2.0 2024-01-05 18:37:35 -07:00
li Merge pull request #275544 from CobaltCause/update-obs 2024-01-09 15:23:44 -06:00
ll llama-cpp: fix cuda support; integrate upstream 2023-12-31 16:57:28 +01:00
ln/lngen
lo loksh: reword 2024-01-04 16:38:41 -03:00
ls/lshw lshw: unstable-2023-03-20 -> 02.20 2024-01-08 14:53:57 +00:00
lu lutgen: add myself as maintainer 2024-01-03 09:10:49 -05:00
lw/lwgrp
lx/lxd-to-incus
lz/lzsa
m2
ma Merge pull request #242038 from emilytrau/maccy 2024-01-04 15:02:55 +11:00
mc mcomix: make chardet/pdf optional 2024-01-08 13:23:31 +00:00
me Merge master into staging-next 2024-01-07 18:00:54 +00:00
mf/mfoc-hardnested
mi minetest-mapserver: 4.7.0 -> 4.8.0 2023-12-28 08:12:38 +00:00
mk
ml/mlx42
mo morewaita-icon-theme: init at 42.3 2024-01-12 06:12:46 +01:00
mp/mpifileutils
ms/msolve
mu multirun: init at 1.1.3 2023-12-25 10:23:30 -05:00
my/mystmd mystmd: 1.1.36 -> 1.1.37 2023-12-23 04:20:00 +00:00
n2/n2
na namespace-cli: 0.0.322 -> 0.0.328 2024-01-10 05:28:18 +00:00
nc/ncdc ncdc: 1.23.1 -> 1.24 2024-01-09 10:58:44 +00:00
ne Merge pull request #280060 from drupol/init/newcomputermodern-5-02 2024-01-11 20:16:13 +01:00
nf/nfft
nh/nh nh: use makeBinaryWrapper 2024-01-10 15:21:30 -05:00
ni nix-lib-nmd: init at 0.5.0 2024-01-12 13:28:23 +01:00
nl nlohmann_json_schema_validator: init at 2.3.0 2023-12-22 11:21:49 +01:00
nn/nncp
no nom: 2.1.0 -> 2.1.1 2024-01-10 13:33:44 +01:00
np/npm-lockfile-fix npm-lockfile-fix: init at 0.1.0 2023-12-31 12:35:35 -03:00
nr/nrpl
ns
nu nucleiparser: source is now tagged 2024-01-12 00:33:08 +01:00
nv/nvidia-texture-tools nvidia-texture-tools: migrate to by-name 2023-12-23 00:35:52 +01:00
nw/nwg-drawer
oa
oc ocenaudio: 3.13.2 -> 3.13.3 2023-12-29 15:28:58 +01:00
oe/oelint-adv oelint-adv: 3.26.6 -> 3.26.12 2024-01-07 22:47:32 +00:00
of/offpunk
oh/oh-my-fish
on onedriver: add wrapGAppsHook 2024-01-04 00:22:09 +09:00
op openswitcher: init at 0.9.1 2024-01-10 01:18:35 +01:00
or/orchard
ot oterm: 0.1.17 -> 0.1.18 2024-01-10 20:02:12 +03:00
ou/outputcheck
ov Merge pull request #269055 from mrcjkb/overskride 2023-12-28 16:09:14 +01:00
ow/owncloud-client owncloud-client: 5.0.0 -> 5.2.1 2024-01-04 23:32:58 +02:00
pa Merge pull request #264706 from proglottis/par2cmdline-turbo_init 2024-01-10 21:38:48 +01:00
pd pdfrip: init at 2.0.1 2024-01-12 00:35:29 +01:00
pe
pg/pgmoneta pgmoneta: 0.7.2 -> 0.7.3 2023-12-29 10:48:08 +00:00
ph pharo: 10.0.8 -> 10.0.9-de76067 2024-01-12 09:51:25 +00:00
pi
pk/pkcrack
pl pls: 0.0.1-beta.2 -> 0.0.1-beta.4 2024-01-06 13:47:09 +01:00
po postlight-parser: init at 2.2.3 2024-01-10 20:56:25 +11:00
pp/ppsspp
pr promptfoo: 0.33.2 -> 0.35.0 2024-01-08 10:28:21 -08: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.9 -> 1.6.10 2024-01-04 18:12:10 +03:00
pz/pzip
qa/qadwaitadecorations
qr Merge pull request #275544 from CobaltCause/update-obs 2024-01-09 15:23:44 -06:00
qs/qspeakers qspeakers: init at 1.6.9 2023-12-31 10:34:33 +01:00
qu quickjs-ng: init at 0.3.0 2023-12-25 04:20:00 +00:00
ra raft-cowsql: 0.18.3 -> 0.19.1 2024-01-04 18:42:32 +00:00
rc
re Merge pull request #277647 from viraptor/bump-archivebox-2 2024-01-10 13:27:39 +01:00
ri ripunzip: init at 1.1.0 2024-01-02 23:19:49 +01:00
ro roxterm: refactor 2023-12-29 15:23:33 -03:00
rp/rpcs3
rq/rqbit
rs nixos/rspamd-trainer: init; rspamd-trainer: init at unstable-2023-11-27 2023-12-27 10:35:53 +01:00
rt/rtl-sdr-osmocom
ru
sa salmon: init at 1.10.2 2024-01-06 23:10:53 +01:00
sc scalingo: 1.29.1 -> 1.30.0 2023-12-23 07:02:27 +00:00
sd SDL2_Pango: init at 2.1.5 2024-01-08 14:23:10 +01:00
se
sg/sgfutils
sh shadershark: init at 0.1 2024-01-10 13:33:40 -03:00
si sirius: fixup build with gcc13 2024-01-11 17:19:22 +01:00
sl
sm smlfut: 1.1.0 -> 1.2.0 2023-12-23 10:20:18 +00:00
sn
so sov: 0.93 -> 0.94 2023-12-23 11:43:05 +00:00
sp spfft: fix CUDA build 2024-01-08 20:25:56 +01:00
sr src: 1.32 -> 1.33 2024-01-03 23:00:25 -03:00
ss/sssnake
st
su Merge pull request #265689 from natsukium/sudachi/init 2023-12-25 00:02:23 +01:00
sv/svix-server
sw swayimg: 1.12 -> 2.0 2024-01-03 21:14:24 +01:00
sx sx: 2.1.7 -> 3.0 2024-01-08 12:28:17 +00:00
sy
ta tailscale-nginx-auth: 1.48.2 -> 1.56.1 2023-12-24 11:34:10 +00:00
tc/tcsh
te Merge pull request #280106 from r-ryantm/auto-update/terrapin-scanner 2024-01-11 10:43:46 +01:00
th
ti tinyxml-2: migrate to by-name 2023-12-31 17:05:46 -03:00
tk/tkdiff
tl/tlrc
tm/tmuxifier
to/torrentstream
tp
tr Merge pull request #277459 from tengkuizdihar/init-treedome 2024-01-09 10:38:00 -05:00
tt/ttop
tu tup: decompose setup hook into more functions 2024-01-04 06:24:03 +00:00
tx/txr txr: 292 -> 293 2023-12-30 08:21:36 +00:00
ty
uc
ud
ui
un Merge pull request #279816 from r-ryantm/auto-update/universal-android-debloater 2024-01-10 10:55:56 -05:00
up
us/usql usql: 0.17.2 -> 0.17.4 2024-01-05 04:48:09 +00:00
ut/ut ut: 2.0.0 -> 2.0.1 2023-12-24 21:53:07 +00:00
uu/uuu
ux/uxn uxn: unstable-2023-12-25 -> unstable-2024-01-04 2024-01-05 23:21:14 +00:00
va/valijson valijson: 1.0.1 -> 1.0.2 2023-12-25 00:47:17 +00:00
vc Merge pull request #276587 from r-ryantm/auto-update/vcpkg 2024-01-01 09:17:44 +09:00
ve verdict: init at 1.4.2 2023-12-28 10:15:46 -05:00
vg/vgm2x
vi Merge pull request #276396 from nyabinary/vinegar-1.6.0 2023-12-31 15:04:03 +01:00
wa waybar-mpris: remove unused dependency 2023-12-30 20:55:22 +01:00
wb/wb32-dfu-updater
we Merge remote-tracking branch 'origin/master' into staging-next 2024-01-09 22:42:37 +03:00
wh whistle: 2.9.61 -> 2.9.62 2024-01-06 03:15:15 +00:00
wi win2xcur: init at 0.1.2 2024-01-02 14:54:21 +01:00
wl wlvncc: init at unstable-2023-01-05 2024-01-09 21:44:50 +01:00
wo
wp/wp-cli
ws/wslay
wt/wtfis
x1/x16
xa/xarcan
xd
xm/xmldiff
xo
xp/xplr xplr: 0.21.3 -> 0.21.5 2024-01-04 05:23:15 +00:00
xs xsct: 2.0 -> 2.1 2024-01-06 04:49:55 +00:00
xw/xwayland-run
ye/yeahwm
yg/yggdrasil
yt
yu/yunfaavatar
za/zapzap
zb/zbus-xmlgen
zc/zcfan
ze/zesarux
zi/zitadel
zo/zola zola: 0.17.2 -> 0.18.0 2023-12-26 18:25:19 -05:00
zp
zs/zs
zu/zug
zw/zwave-js-server zwave-js-server: 1.33.0 -> 1.34.0 2023-12-25 07:27:48 +00:00
zx
README.md

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.