nixpkgs/pkgs/by-name
Thiago Kenji Okada d5fb68d097
Merge pull request #261139 from lucasew/bruno-src
bruno: package from source
2024-01-01 10:33:00 +00: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 aba: 0.7.1 -> 0.8.0 2023-12-02 21:48:35 -03:00
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 anytype: 0.36.0 -> 0.37.0 2023-12-27 14:27:44 +08:00
ao/aocl-utils
ap
ar armitage: init at unstable-2022-12-05 2023-12-31 13:02:10 +11:00
as ast-grep: 0.14.4 -> 0.15.1 2023-12-25 09:31:32 +00: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 avr-sim: init at 2.8 2023-11-30 08:19:36 +01:00
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 bitmagnet: 0.0.6 -> 0.4.1 2023-12-26 22:35:43 +11:00
bk/bk
bl/bluetility
bm/bmake
bn/bngblaster bngblaster: init at 0.8.29 2023-12-03 11:14:11 +01:00
bo boogie: 3.0.6 -> 3.0.9 2023-12-13 08:18:51 +00:00
br bruno: package from source 2023-12-31 18:14:39 -03:00
bu Merge pull request #271211 from ehmry/butt 2023-12-02 00:12:07 +11:00
c2 c2fmzq: 0.4.15 -> 0.4.16 2023-12-25 12:31:28 +00:00
ca Merge pull request #270664 from octodi/caido 2023-12-29 17:02:59 +01:00
cb/cbmbasic
cd
ce certmgr: 1.6.4 -> 3.0.3, migrate to buildGoModule and by-name 2023-11-30 23:32:54 +01:00
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 Merge pull request #268382 from ivan770/corrupter 2023-12-26 18:24:22 +00:00
cp/cpu-x cpu-x: 5.0.1 -> 5.0.2 2023-12-07 01:38:56 +00:00
cr Merge pull request #274712 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 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck 2023-11-30 18:56:12 +01:00
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 Merge pull request #268155 from jtojnar/door-knocker 2023-12-31 15:01:51 +01:00
dr/drone-scp drone-scp: 1.6.12 -> 1.6.13 2023-12-30 20:32:19 +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.165.0 -> 0.167.0 2023-12-26 02:46:33 +00:00
el/elvish
em Merge pull request #266658 from snf1k/emojify 2023-12-02 15:09:51 +01:00
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 ff2mpv-go: use 'PATH' to invoke 'mpv' 2023-12-31 15:49:04 +00:00
fi/firewalk
fl flarectl: 0.83.0 -> 0.84.0 2023-12-26 03:52:25 +00:00
fm fmtoy: Move to pkgs/by-name 2023-12-03 20:34:25 +01:00
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 get-google-fonts: init at unstable-2020-06-30 2023-12-02 17:02:01 +01:00
gh
gi git-releaser: 0.1.1 -> 0.1.2 2023-12-29 22:16:36 +08:00
gl glide-media-player: init at 0.6.1 2023-12-23 14:03:20 +08:00
gm/gmic
go Merge pull request #275642 from SuperSandro2000/go-camo 2023-12-23 21:11:30 -05:00
gr gruvbox-plus-icons: Fix evaluation when allowAliases disabled 2023-12-22 20:04:05 +01: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 hercules: 3.13 -> 4.6 2023-12-09 00:27:53 +01:00
hi/hifile hifile: 0.9.9.6 -> 0.9.9.7 2023-12-26 13:27:48 +01:00
hj/hjson-go hjson-go: 4.3.1 -> 4.4.0 2023-12-15 22:39:18 +00:00
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 i3-open-next-ws: init at 0.1.5 2023-12-14 02:10:58 +01:00
ia/ia-writer-quattro ia-writer-quattro: init at unstable-2023-06-16 2023-12-04 00:29:33 +01:00
ic/icewm icewm: 3.4.4 -> 3.4.5 2023-12-29 08:25:22 +00:00
id/idsk idsk: refactor 2023-12-10 14:42:19 +01:00
if/ifrextractor-rs
ig/ignite-cli ignite-cli: init at 28.1.0 2023-12-26 10:18:59 +10:00
im appimage-run: add libthai 2023-11-30 12:50:44 +01:00
in Merge pull request #275879 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
jj/jj jj: init at 1.9.2 2023-12-16 16:22:51 +01:00
jo/joycond-cemuhook
ju/justbuild
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
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 krita: 5.1.5 -> 5.2.0 2023-11-30 18:02:27 +01:00
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 #275274 from MikaelFangel/update-legba 2023-12-25 08:10:36 -05:00
li Merge pull request #277896 from bobby285271/upd/amtk 2024-01-01 17:26:19 +08:00
ll Merge pull request #277451 from accelbread/llama-cpp-update 2023-12-29 10:42:00 -05:00
ln/lngen
lo Merge pull request #274829 from jtojnar/gnome-update 2023-12-22 20:20:18 +08:00
lu Merge pull request #268083 from shyim/add-ludtwig 2023-11-29 17:52:24 +11: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 lzsa: init at 1.4.1 2023-12-10 22:24:00 -03:00
m2
ma maltego: init at 4.6.0 2023-12-31 22:05:40 +01:00
mc mcfly-fzf: init at 0.1.2 2023-12-31 02:49:38 +01:00
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 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 Merge pull request #274894 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 #277163 from 999eagle/fix/nitter-update 2023-12-28 13:34:33 -05:00
nl nlohmann_json_schema_validator: init at 2.3.0 2023-12-22 11:21:49 +01:00
nn/nncp
no treewide: don't use pname for mainProgram where pname is static 2023-12-20 14:25:55 +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 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 #199993 from wentasah/oauth2ms 2023-12-11 09:31:07 -05:00
oc ocenaudio: 3.13.2 -> 3.13.3 2023-12-29 15:28:58 +01:00
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 opensearch-cli: init at 1.2.0 2023-12-27 11:52:04 +01: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 Merge pull request #269055 from mrcjkb/overskride 2023-12-28 16:09:14 +01:00
ow/owncloud-client
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 Merge pull request #259393 from OPNA2608/init/persistent-cache-cpp 2023-12-18 14:07:24 +01:00
pg/pgmoneta pgmoneta: 0.7.2 -> 0.7.3 2023-12-29 10:48:08 +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
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 Merge pull request #273953 from Luflosi/update/raspberrypi-eeprom 2023-12-28 16:17:29 +01:00
rc rclip: init at 1.7.6 2023-12-06 16:20:02 +08:00
re renode-unstable: init at 1.14.0+20231229gita76dac0ae 2023-12-30 20:44:27 -03:00
ri rita: 4.8.0 -> 4.8.1 2023-12-23 04:49:43 +00:00
ro roxterm: refactor 2023-12-29 15:23:33 -03:00
rp/rpcs3
rq/rqbit rqbit: 4.0.1 -> 5.4.0 2023-12-17 04:20:00 +00:00
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 satty: 0.8.2 -> 0.8.3 2023-12-29 12:41:36 +01:00
sc scalingo: 1.29.1 -> 1.30.0 2023-12-23 07:02:27 +00:00
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 #276255 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 #269750 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 #275049 from stepbrobd/spacedrive 2023-12-28 12:28:51 -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 #265689 from natsukium/sudachi/init 2023-12-25 00:02:23 +01:00
sv/svix-server
sw swayosd: unstable-2023-07-18 -> unstable-2023-09-26 2023-12-26 14:53:22 +03: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 Merge pull request #261960 from eclairevoyant/themix-gui 2023-12-04 00:43:57 +01:00
ti tigerbeetle: init at 0.14.171 2023-12-22 04:09:54 -08:00
tk/tkdiff
tl/tlrc tlrc: 1.7.1 -> 1.8.0 2023-11-30 21:04:25 +01:00
tm/tmuxifier
to/torrentstream
tp
tr trealla: 2.31.6 -> 2.32.13 2023-12-30 18:24:30 +00: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.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-05 -> unstable-2023-12-25 2023-12-30 21:20:47 +00:00
va/valijson
vc Merge pull request #276587 from r-ryantm/auto-update/vcpkg 2024-01-01 09:17:44 +09:00
ve vesktop: add missing libnotify 2023-12-13 21:11:50 -05:00
vg/vgm2x vgm2x: 0.0.0-unstable-2023-05-10 -> 0.0.0-unstable-2023-08-27 2023-12-03 20:34:25 +01:00
vi Merge pull request #276396 from nyabinary/vinegar-1.6.0 2023-12-31 15:04:03 +01: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 #269359 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 wp-cli: allow overriding entire config file 2023-11-30 20:44:09 +01:00
ws/wslay
wt/wtfis
x1/x16 x16.emulator: 45 -> 46 2023-12-10 22:24:00 -03:00
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
xp/xplr xplr: fix desktop file location 2023-12-26 16:04:10 -05: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 ytree: migrate to by-name 2023-12-01 12:44:16 -03:00
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 krita: 5.1.5 -> 5.2.0 2023-11-30 18:02:27 +01:00
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.