nixpkgs/pkgs/by-name
2024-01-15 10:57:35 -05:00
..
_4/_4th
_9/_9base
a4/a4
aa Merge pull request #280408 from r-ryantm/auto-update/aarch64-esr-decoder 2024-01-14 12:19:59 -05:00
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 ansel: init at unstable-2024-01-05 2024-01-13 18:36:55 -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 ast-grep: 0.16.1 -> 0.17.0 2024-01-12 09:48:21 +05:30
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 bluez-alsa: refactor 2024-01-13 19:27:37 -03:00
bm/bmake bmake: 20231124 -> 20231210 2023-12-31 21:40:24 -03:00
bn/bngblaster
bo Merge pull request #275529 from moni-dz/contour 2024-01-13 23:46:45 +01:00
br bruno: 1.5.1 -> 1.6.1 2024-01-06 10:33:03 +00:00
bu bulloak: 0.5.4 -> 0.6.1 2024-01-06 15:44:57 +01:00
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 catppuccin-qt5ct: init at 2023-03-21 2024-01-14 17:02:43 +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 cimg: 3.3.2 -> 3.3.3 2024-01-13 04:20:39 +00:00
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.20 -> 1.6.22 2024-01-13 22:08:30 +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: 0.5.1 -> 0.6.0 2024-01-14 22:11:51 +00: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 door-knocker: 0.4.2 -> 0.4.3 2024-01-12 04:03:12 +00: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: Add martinjlowm as maintainer 2024-01-07 00:58:26 +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 eigenlayer: 0.5.0 -> 0.5.1 2024-01-10 23:04:16 +02:00
ek/eksctl
el elektroid: move to name-based directory package 2024-01-03 10:17:50 +00:00
em emacs-lsp-booster: 0.1.1 -> 0.2.0 2024-01-14 22:41:17 +00:00
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
ex/exiflooter exiflooter: init at 1.0.0 2024-01-07 18:33:46 +05:30
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 Merge pull request #280906 from fabaff/fim-rs 2024-01-15 13:13:53 +01:00
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 galleta: init at 20040505_1 2024-01-03 20:22:39 +01:00
gb/gbar
gc
ge geopard: de-vendor Cargo.lock 2024-01-13 12:06:16 +09:00
gh
gi gickup: 0.10.25 -> 0.10.26 2024-01-07 00:35:55 +00:00
gl
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
h8/h8mail h8mail: init at 2.5.6 2024-01-07 19:31:59 +05:30
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.7 -> 0.9.9.10 2024-01-15 15:01:05 +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: 0.121.1 -> 0.121.2 2024-01-05 20:02:20 +05:30
hy
i3
ia/ia-writer-quattro
ic/icewm
id/idsk
if/ifrextractor-rs
ig/ignite-cli
ii iina: 1.3.3 -> 1.3.4 2024-01-11 17:10:56 +01: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
ke keep-sorted: init at 0.2.0 2024-01-13 03:54:37 +01:00
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 lefthook: 1.5.5 -> 1.5.6 2024-01-13 03:01:29 +00:00
li pololu-tic: init at 1.8.1 2024-01-14 18:21:30 +01:00
ll llama-cpp: 1742 -> 1848 2024-01-12 19:01:51 -08: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
mk
ml/mlx42
mo Merge pull request #278645 from FanBB2333/mos 2024-01-13 14:57:51 +01:00
mp/mpifileutils
ms/msolve
mu
my/mystmd
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 #278344 from marcusramberg/marcus/netop 2024-01-15 15:32:20 +01:00
nf/nfft
nh/nh Merge pull request #281012 from adamcstephens/nh/fix-darwin 2024-01-15 07:11:57 -05:00
ni nmd: turn into a fixed-output derivation 2024-01-15 16:38:44 +01:00
nl
nn/nncp
no Merge pull request #276849 from eclairevoyant/nomnatong 2024-01-13 22:22:30 +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 nsplist: migrate to by-name, refactor 2024-01-13 07:17:11 +01:00
nu nucleiparser: source is now tagged 2024-01-12 00:33:08 +01:00
nv/nvidia-texture-tools
nw/nwg-drawer
oa
ob/obs-do obs-do: init at 0.1.0 2024-01-15 09:07:00 +01:00
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
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 pgcopydb: init at 0.15 2024-01-12 04:20:00 +00:00
ph pharo: fix non-path argv[0] segfault 2024-01-13 23:13:07 +03:00
pi
pk/pkcrack
pl Merge pull request #278997 from wegank/xib2nib-deps-refactor 2024-01-13 18:19:08 +01:00
po pololu-tic: init at 1.8.1 2024-01-14 18:21:30 +01:00
pp/ppsspp
pr promptfoo: 0.33.2 -> 0.35.0 2024-01-08 10:28:21 -08:00
pt/pterm
pu/pushup
pw
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
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 rqbit: 5.4.0 -> 5.4.1 2024-01-12 04:20:00 +00:00
rs
rt/rtl-sdr-osmocom
ru
sa salmon: init at 1.10.2 2024-01-06 23:10:53 +01:00
sc scout: init at 0.15.1 2024-01-12 11:40:10 +01:00
sd SDL2_Pango: init at 2.1.5 2024-01-08 14:23:10 +01:00
se
sg/sgfutils
sh Merge pull request #280142 from r-ryantm/auto-update/shopware-cli 2024-01-13 06:30:20 +01:00
si sirius: fixup build with gcc13 2024-01-11 17:19:22 +01:00
sl
sm
sn
so
sp spicetify-cli: 2.29.1 -> 2.30.0 2024-01-12 00:16:13 +00:00
sr src: 1.32 -> 1.33 2024-01-03 23:00:25 -03:00
ss/sssnake
st
su
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 systemctl-tui: 0.2.2 -> 0.2.4 2024-01-13 19:16:13 -07:00
ta Merge pull request #278992 from ehmry/tarlz 2024-01-14 10:57:54 +01: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 unbook: 0.7.3 -> 0.8.2 2024-01-13 19:21:32 -08:00
up
us/usql usql: 0.17.2 -> 0.17.4 2024-01-05 04:48:09 +00:00
ut/ut
uu/uuu
ux/uxn uxn: unstable-2023-12-25 -> unstable-2024-01-04 2024-01-05 23:21:14 +00:00
va/valijson
vc Merge pull request #276587 from r-ryantm/auto-update/vcpkg 2024-01-01 09:17:44 +09:00
ve
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 wl-clipboard-rs: init at 0.8.0-unstable-2023-11-27 2024-01-13 00:45:42 +00:00
wo
wp/wp-cli
ws/wslay
wt/wtfis
x1/x16
xa/xarcan
xd
xi/xib2nib plistcpp: migrate to by-name, refactor 2024-01-13 07:17:08 +01:00
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 zircolite: init at 2.9.9 2024-01-15 00:08:59 +01:00
zo/zola
zp
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. 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.