nixpkgs/pkgs/by-name
2024-02-22 21:20:09 +00:00
..
_4/_4th
_9/_9base
a4/a4
aa
ab/aba
ac
ad
ae
af/afterstep
ai
al
am amphetype: add desktop item 2024-02-09 11:54:59 +00:00
an
ao/aocl-utils
ap approxmc: 4.1.23 -> 4.1.24 2024-02-09 05:47:11 +00:00
ar ardopc: init at unstable-2021-08-28 2024-02-12 17:44:49 +01:00
as
at atuin: apply atuinsh/atuin#1694 2024-02-10 18:26:05 +01:00
au
av/avr-sim
aw
ax/axmldec
ay Merge pull request #285378 from OPNA2608/update/ayatana-indicator-datetime 2024-02-11 15:26:03 +01:00
ba baresip: 3.8.1 -> 3.9.0 2024-02-09 11:32:45 +00:00
bc/bc-ur
be
bi Merge pull request #284623 from SuperSandro2000/bitwarden-directory-connector 2024-02-09 12:02:03 +01:00
bk/bk
bl
bm/bmake
bn/bngblaster
bo boxed-cpp: 1.2.2 -> 1.3.0 2024-02-11 09:27:25 +00:00
br
bs/bsync
bu
by/bytecode-viewer
c-
c2
ca Merge pull request #286092 from trofi/cardboard-mark-broken 2024-02-09 09:13:44 -05:00
cb/cbmbasic
cc/ccache ccache: 4.9 -> 4.9.1 2024-02-09 12:01:03 +00:00
cd
ce celeste64: 0-unstable-2024-02-02 -> 1.1.1 2024-02-06 22:05:07 +01:00
cg/cgl
ch
ci
cl
cm cmd-wrapped: 0.1.1 -> 0.2.0 2024-02-10 08:20:26 +00:00
cn/cntb
co codeium: 1.6.30 -> 1.6.34 2024-02-12 00:02:09 +00:00
cp
cr crc: 2.31.0 -> 2.32.0 2024-02-08 08:20:18 +00:00
cs Merge pull request #284634 from DontEatOreo/pkgs-csharprepl 2024-02-06 18:01:30 +01:00
ct/ctx
cy
cz/czkawka
da/dark-mode-notify
db/dbus-cpp
dc/dc3dd
de Merge pull request #276460 from ralismark/deepfilter-ladspa 2024-02-10 12:47:44 +01:00
di
dj/djent
dm dmitry: init at 1.3a-unstable-2020-06-22 2024-02-10 18:25:04 +01:00
do docfd: change long description 2024-02-11 16:42:59 +00:00
dp/dpp
dr/drone-scp
ds/dsda-doom dsda-doom: init at 0.27.5 2024-02-05 18:36:02 +01:00
dt/dtcmp
du Merge pull request #276931 from 0x4A6F/master-dune3d 2024-02-13 03:30:11 +02:00
dv/dvb-apps
dx
dy
ea/easyeasm
eb
ec
ed/eduvpn-client
ei eigenlayer: 0.5.2 -> 0.6.1 2024-02-12 06:42:44 +00:00
ek/eksctl eksctl: 0.170.0 -> 0.171.0 2024-02-10 06:28:05 +00:00
el
em
en envio: init at 0.5.0 2024-02-12 15:29:31 +01:00
er
es cargo-espflash: rename to espflash (#286386) 2024-02-09 11:50:17 -05:00
eu
ex ext3grep: init at 0.10.2 2024-02-12 22:06:21 +01:00
ez/eza eza: 0.18.1 -> 0.18.2 2024-02-08 19:17:51 +01:00
fa Merge pull request #282133 from fedeinthemix/wip-fastcap 2024-02-11 23:37:20 +01:00
fb/fbset
fc
fe
ff
fi files-cli: 2.12.28 -> 2.12.30 2024-02-08 17:47:16 +00:00
fl flatter: init at 0-unstable-2023-08-10 2024-02-11 03:33:43 +01:00
fm
fn/fnott
fo Merge pull request #254526 from panicgh/foonathan-memory 2024-02-07 14:23:40 +01:00
fr
fu/fuchsia-cursor
fw/fwupd fwupd: 1.9.12 -> 1.9.13 2024-02-09 16:45:09 +01:00
fy/fypp fypp: move python application out of python-modules, refactor 2024-02-05 23:08:15 +01:00
ga
gb/gbar
gc Merge pull request #286810 from wegank/gcli-platforms 2024-02-08 01:26:32 +01:00
ge
gh ghfetch: init at 0.0.19 2024-02-11 21:36:53 +08:00
gi
gl glauth: 2.3.0 -> 2.3.1 2024-02-12 17:34:49 +01:00
gm/gmic
go Merge pull request #284717 from katexochen/gofumpt/0-6-0 2024-02-10 13:55:33 +04:00
gp gpt4all-chat: 2.6.2 -> 2.7.0 2024-02-09 04:53:32 +00:00
gr graphite-cli: add fish completion 2024-02-06 17:30:32 -05:00
gt gtt: 8 -> 9 2024-02-11 18:12:18 +01:00
gu
h8/h8mail
ha Merge pull request #287481 from onemoresuza/hare 2024-02-10 17:52:12 +01:00
hd/hdrop
he helix-gpt: 0.25 -> 0.27 2024-02-09 20:39:55 -05:00
hi/hifile
hj/hjson-go
ho
ht htcondor: mark as broken on aarch64-linux 2024-02-11 04:09:28 +01:00
hu/hugo
hy hyprlang: 0.2.1 -> 0.3.0 2024-02-10 05:08:16 +00:00
i3
ia
ic
id/idsk
if/ifrextractor-rs
ig ignite-cli: 28.1.1 -> 28.2.0 2024-02-07 05:39:58 +00:00
ii
im
in Merge pull request #286470 from r-ryantm/auto-update/invidtui 2024-02-08 19:33:29 -05:00
ir/ironbar ironbar: 0.14.0 -> 0.14.1 2024-02-11 09:48:04 +00:00
ja jan: init at 0.4.6 2024-02-08 10:35:05 +01:00
jd/jdt-language-server
ji
jj/jj
jn/jnr-posix
jo javaPackages.jogl_2_4_0: rename to jogl 2024-02-10 18:00:38 +01:00
ju/justbuild
ka
kc/kconfig-frontends
kd/kdsingleapplication
ke
kg/kgeotag
ki
kl/klog-time-tracker
km/kmsvnc kmsvnc: 0.0.5 -> 0.0.6 2024-02-06 05:06:18 +00:00
ko kor: 0.3.3 -> 0.3.4 2024-02-10 08:38:15 +00:00
kp/kplex
ks/kseexpr
kt
ku
kx/kxstitch
la
lc/lcab
le Merge pull request #284332 from r-ryantm/auto-update/lefthook 2024-02-05 21:02:58 +01:00
li libewf-legacy: fix pname 2024-02-12 20:20:11 +01:00
ll llama-cpp: 2074 -> 2105 2024-02-09 03:07:40 +00:00
ln/lngen
lo
ls/lshw
lu
lw/lwgrp
lz lzlib: 1.13 -> 1.14 2024-02-09 11:09:15 +00:00
m2
ma Merge pull request #284580 from D3vil0p3r/patch-5 2024-02-10 00:26:46 +01:00
mc
md Merge pull request #288305 from nix-julia/add-mdbook-pdf-outline 2024-02-12 17:42:16 +01:00
me
mf/mfoc-hardnested
mg/mgitstatus
mi microsoft-identity-broker: 1.6.1 -> 1.7.0 2024-02-06 04:17:04 +00:00
mk
ml/mlx42
mo modern-cpp-kafka: fix gcc-13 build failure 2024-02-10 11:51:49 +00:00
mp/mpifileutils
mq/mqttx
ms msolve: 0.6.3 -> 0.6.4 2024-02-11 04:15:02 +01:00
mu
my/mystmd
n2/n2
na namespace-cli: 0.0.333 -> 0.0.334 2024-02-09 19:45:13 +00:00
nc/ncdc
ne Merge pull request #287212 from Aleksanaa/netease-cloud-music-gtk 2024-02-08 20:35:15 +01:00
nf/nfft
nh/nh
ni nimlangserver: init at 1.2.0 2024-02-09 11:56:40 +00:00
nl
nm/nmap-parse
nn/nncp
no
np
nr
ns
nu
nv
nw
oa
ob obs-do: 0.1.0 -> 0.1.1 2024-02-11 13:55:17 +01:00
oc ocenaudio: fix url 2024-02-09 14:09:22 +00:00
oe/oelint-adv oelint-adv: 4.1.1 -> 4.2.0 2024-02-10 07:12:13 +00:00
of/offpunk offpunk: 2.1 -> 2.2 2024-02-12 22:47:52 +01:00
oh/oh-my-fish
oi oil: add myself as maintainer 2024-02-08 10:19:10 +01:00
on onlyoffice-bin, onlyoffice-bin_latest: move to pkgs/by-name 2024-02-05 16:38:53 -05:00
op
or ory: 0.3.2 -> 0.3.4 2024-02-11 10:04:21 +00:00
ot oterm: fix build 2024-02-11 11:30:10 +08:00
ou/outputcheck
ov
ow/owncloud-client
pa paper-plane: Fix eval after gtk4 4.12.5 update 2024-02-12 22:21:42 +08:00
pd pdf-sign: fix version name, simplify installPhase, move to pkgs/by-name 2024-02-07 20:12:13 +01:00
pe Merge pull request #282470 from raspher/peergos 2024-02-08 01:29:32 +00:00
pf/pfft
pg pget: init at 0.2.1 2024-02-07 21:02:33 +04:00
ph phpunit: 10.5.1 -> 11.0.2 2024-02-08 08:21:42 +01:00
pi pinecone: init at 0.11.0-unstable-2023-08-10 2024-02-09 23:56:44 +01:00
pk/pkcrack
pl plzip: 1.10 -> 1.11 2024-02-09 11:09:15 +00:00
pm pmtiles: 1.14.0 -> 1.14.1 2024-02-08 07:19:52 +00:00
pn/pnfft
po popcorntime: 0.4.9 -> 0.5.0 2024-02-10 19:24:55 +01:00
pp/ppsspp
pr presenterm: 0.6.0 -> 0.6.1 2024-02-11 21:21:12 +01:00
pt/pterm
pu
pw
px/pxder
py pysqlrecon: 0.1.3 -> 0.1.4 2024-02-07 12:00:00 +00:00
pz/pzip
qa/qadwaitadecorations
qc/qcm qcm: init at 1.0.2 2024-02-09 00:42:18 +08:00
qg/qgrep
qr
qs qsreplace: use buildGoModule 2024-02-06 23:08:55 +08:00
qt/qtractor
qu
ra Merge pull request #283287 from Luflosi/update/raspberrypi-eeprom 2024-02-10 17:25:28 +01:00
rc Merge pull request #281048 from iynaix/bump-rclip 2024-02-06 18:02:11 +01:00
re Merge pull request #286820 from r-ryantm/auto-update/renode-dts2repl 2024-02-12 10:10:43 -05:00
ri
rl/rl_json
rm/rmg
ro
rp/rpcs3
rq/rqbit
rs
rt/rtl-sdr-osmocom
ru
rw/rwpspread
s3/s3scanner
sa
sc scrutiny-collector: init at 0.7.2 2024-02-22 21:20:09 +00:00
sd
se Merge pull request #255185 from StarGate01/nrfconnect 2024-02-06 21:20:50 +01:00
sg/sgfutils
sh
si sispmctl: init at 4.11 2024-02-11 21:18:01 +01:00
sl
sm Merge pull request #284708 from dotlambda/smile-init 2024-02-11 18:48:30 +00:00
sn snicat: set ldflags 2024-02-06 23:17:47 +08:00
so
sp spicetify-cli: 2.31.0 -> 2.31.1 2024-02-10 02:49:15 +00:00
sq/sqlite-vss
sr srm-cuarzo: 0.5.0-1 -> 0.5.1-1 2024-02-09 20:23:35 +00:00
ss
st sttr: init at 0.2.18 2024-02-10 18:11:21 +04:00
su
sv
sw
sx
sy syn2mas: 0.7.0 -> 0.8.0 2024-02-10 10:56:06 +00:00
ta
tc/tcsh
td/tdl tdl: init at 0.15.1 2024-02-07 13:12:30 +04:00
te Merge pull request #286147 from gangaram-tii/pr/tetragon 2024-02-06 15:29:05 +01:00
th
ti Merge pull request #286881 from r-ryantm/auto-update/tilda 2024-02-09 22:10:19 +01:00
tk/tkdiff
tl
tm/tmuxifier
to
tp
tr
tt/ttop
tu
tx/txr
ty
uc
ud
ue/uemacs
ui
um/umpire
un Merge pull request #258773 from nevivurn/feat/unison-fsmonitor-init 2024-02-12 19:47:42 +01:00
up Merge pull request #279640 from Croissong/init-updatecli 2024-02-10 13:51:14 +01:00
us/usql
ut/ut
uu/uuu
ux/uxn uxn: unstable-2024-01-21 -> unstable-2024-02-07 2024-02-07 21:21:33 +00:00
va/valijson
vc vcpkg-tool: 2024-02-05 -> 2024-02-07 2024-02-11 11:13:42 +00:00
ve
vg/vgm2x
vi vibrantlinux: fix revision to contain v prefix 2024-02-11 11:50:12 +00:00
vu/vulkan-volk
wa waycheck: 1.0.0 -> 1.1.0 2024-02-11 05:05:14 +00:00
wb/wb32-dfu-updater
we
wh
wi Package migration to by-name 2024-02-10 21:39:42 +01:00
wl
wo
wp/wp-cli
ws/wslay
wt/wtfis
x1/x16
xa/xarcan
xd
xf/xfs-undelete
xi/xib2nib
xm
xo
xp/xplr
xs
xw/xwayland-run
ya yasashisa-gothic: init at 0-unstable-2014-03-13 2024-02-11 21:48:45 +01:00
ye
yg/yggdrasil
yj/yj
yo youtrack: 2023.3.23390 -> 2023.3.24329 2024-02-11 08:33:46 +00:00
yt
yu/yunfaavatar
za/zapzap
zb/zbus-xmlgen
zc/zcfan
ze/zesarux
zi
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. Add new top-level packages to Nixpkgs using this mechanism whenever possible.

Packages found in the name-based structure are automatically included, without needing to be added to all-packages.nix. However if the implicit attribute defaults need to be changed for a package, this must still be declared in all-packages.nix.

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.