nixpkgs/pkgs/by-name
Weijia Wang 4e7fb1c5d4
Merge pull request #278761 from wegank/tuxpaint-bump
tuxpaint: 0.9.28 -> 0.9.31, refactor
2024-01-08 20:58:32 +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
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 pull request #265783 from Silver-Golden/bitwarden-directory-connector_pkgs 2024-01-07 10:28:04 -05: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
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
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 cockpit: 307 -> 308 2024-01-06 13:50:37 +00: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
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 decent-sampler: init at 1.9.4 2023-12-21 12:15:42 +09:30
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 Merge pull request #274209 from r-ryantm/auto-update/dorion 2024-01-03 16:46:50 +01: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
ec
ei eigenlayer: init at 0.5.0 2023-12-21 14:45:21 +02:00
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/eudev
ez/eza
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/firewalk
fl flarectl: 0.84.0 -> 0.85.0 2024-01-03 07:04:21 +00:00
fm
fn/fnott
fo
fr frankenphp: 1.0.2 -> 1.0.3 2024-01-06 14:51:13 +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 gruvbox-plus-icons: Fix evaluation when allowAliases disabled 2023-12-22 20:04:05 +01:00
gt/gtksheet gtksheet: init at 4.3.13 2024-01-05 17:35:15 +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
im
in Merge pull request #263345 from hacker1024/feature/pub2nix 2024-01-05 16:34:07 +01:00
ir/ironbar
ja jazz2: 2.4.0 -> 2.4.1 2024-01-01 22:02:51 +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/katriawm
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
km/kmsvnc
ko Merge pull request #272792 from r-ryantm/auto-update/kokkos 2024-01-03 15:31:28 +01: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 #278491 from romildo/upd.labwc-menu-generator 2024-01-07 15:15:04 -03:00
lc/lcab
le leaf: 0.1.0 -> 0.2.0 2024-01-05 18:37:35 -07:00
li Merge pull request #279474 from TomaSajt/libation 2024-01-08 11:22:21 -05: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 lxd-to-incus: 0.3.0 -> 0.4.0 2023-12-21 14:20:18 -05:00
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 memtree: unstable-2023-11-22 -> unstable-2024-01-04 2024-01-07 11:04:39 +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 monophony: add update script 2023-12-22 14:01:56 +00: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 naps2: init at 7.2.2 2024-01-01 13:08:30 +02:00
ne neural-amp-modeler-lv2: init at 0.1.3 2024-01-07 14:33:13 +11:00
nf/nfft
nh/nh
ni Merge pull request #271030 from symphorien/nixseparatedebuginfod 2024-01-07 17:45:13 +01:00
nl nlohmann_json_schema_validator: init at 2.3.0 2023-12-22 11:21:49 +01:00
nn/nncp
no noto-fonts: 23.12.1 -> 24.1.1 2024-01-02 01:49:39 +00: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: init at unstable-2023-12-26 2024-01-01 22:11:35 +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.5 -> 3.26.6 2024-01-02 02:37:27 +00:00
of/offpunk
oh/oh-my-fish
on onedriver: add wrapGAppsHook 2024-01-04 00:22:09 +09:00
op opensearch-cli: init at 1.2.0 2023-12-27 11:52:04 +01:00
or/orchard
ot
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 pacproxy: add meta.mainProgram, move to pkgs/by-name 2023-12-26 06:55:17 +02:00
pd pdk: 3.0.0 -> 3.0.1 2023-12-28 01:10:10 +01:00
pe
pg/pgmoneta pgmoneta: 0.7.2 -> 0.7.3 2023-12-29 10:48:08 +00:00
ph
pi
pk/pkcrack
pl pls: 0.0.1-beta.2 -> 0.0.1-beta.4 2024-01-06 13:47:09 +01:00
po
pp/ppsspp
pr Merge pull request #277099 from r-ryantm/auto-update/promptfoo 2024-01-03 19:37:25 +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.9 -> 1.6.10 2024-01-04 18:12:10 +03:00
pz/pzip
qa/qadwaitadecorations
qr/qrtool qrtool: 0.10.1 -> 0.10.2 2024-01-07 16:34:00 +00: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 #279617 from otavio/renode-dts2repl-init 2024-01-08 17:59:37 +00: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
si signaturepdf: Fix postInstall hook 2024-01-07 15:14:56 +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 spicetify-cli: 2.28.1 -> 2.29.1 2024-01-01 06:57:01 +00: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/sxhkd
sy
ta tailscale-nginx-auth: 1.48.2 -> 1.56.1 2023-12-24 11:34:10 +00:00
tc/tcsh
te
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 trealla: 2.31.6 -> 2.32.13 2023-12-30 18:24:30 +00: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 #269661 from xfix/universal-android-debloater 2024-01-03 01:21:45 +01:00
up
us/usql usql: 0.17.0 -> 0.17.2 2023-12-30 20:32:01 +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/websecprobe
wh whistle: 2.9.61 -> 2.9.62 2024-01-06 03:15:15 +00:00
wi Merge pull request #269359 from wineee/wlroots_17 2023-12-22 09:45:58 -05:00
wl/wl-gammarelay-rs
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.