1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/by-name
2024-02-22 13:38:38 +07:00
..
_4/_4th
_9/_9base
a4/a4
aa aaaaxy: 1.4.160 -> 1.5.6 2024-02-20 07:36:59 +00:00
ab/aba
ac
ad ad-miner: fix typo 2024-02-18 17:06:09 +01:00
ae
af
ai
al
am
an
ao/aocl-utils
ap apt: 2.7.11 -> 2.7.12 2024-02-21 07:33:30 +00:00
ar Merge pull request #288421 from r-ryantm/auto-update/arxiv-latex-cleaner 2024-02-19 23:59:59 +09:00
as ast-grep: 0.19.0 -> 0.19.1 2024-02-20 12:39:28 +05:30
at atuin: 18.0.0 -> 18.0.1 2024-02-13 13:42:43 +01:00
au authentik: Fix logo path for email stage 2024-02-19 18:34:25 +00:00
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
bc/bc-ur
be
bi
bk/bk
bl
bm/bmake bmake: 20240108 -> 20240212 2024-02-19 06:22:31 +00:00
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 cargo-swift: 0.6.0 -> 0.6.1 2024-02-18 23:51:52 +00:00
cb/cbmbasic
cc/ccache
cd
ce Merge pull request #276299 from TomaSajt/certificate-ripper 2024-02-16 23:20:11 +01:00
cg/cgl
ch
ci
cl
cm
cn/cntb
co Merge pull request #290001 from a-kenji/fix/cosmic-session 2024-02-19 23:41:31 -05:00
cp
cr crossplane-cli: 1.14.5 -> 1.15.0 2024-02-17 22:22:18 +00:00
cs csvkit: 1.3.0 -> 1.4.0 2024-02-14 12:03:01 +01:00
ct/ctx
cu/cursewords cursewords: init at 1.1 2024-02-17 00:59:22 -08:00
cy
cz/czkawka czkawka: 6.1.0 -> 7.0.0 2024-02-19 22:36:46 +00:00
da/dark-mode-notify
db/dbus-cpp
dc/dc3dd
de decker: 1.32 -> 1.39 2024-02-19 06:01:53 +00:00
di dim: init at unstable-2023-12-29 2024-02-17 14:53:40 -03:00
dj/djent
dm
dn/dns2tcp dns2tcp: init at 0.5.2 2024-02-20 18:44:09 +01:00
do dotslash: init at 0.2.0 2024-02-19 16:52:41 -06:00
dp/dpp
dr/drone-scp
ds Merge pull request #281250 from Gliczy/dsda-launcher 2024-02-13 19:28:16 +01:00
dt/dtcmp
du dunst: 1.9.2 -> 1.10.0 2024-02-20 15:45:56 +13:00
dv/dvb-apps
dx
dy
ea/easyeasm
eb
ec
ed/eduvpn-client eduvpn-client: 4.2.0 -> 4.2.1 2024-02-13 10:50:29 +01:00
ei eigenlayer: 0.6.1 -> 0.6.2 2024-02-19 01:44:08 +00:00
ek/eksctl
el elvish: 0.20.0 -> 0.20.1 2024-02-15 15:29:04 +00:00
em Merge pull request #276376 from lolbinarycat/emacsclient-commands 2024-02-20 18:21:30 +01:00
en envio: 0.5.0 -> 0.5.1 2024-02-17 06:26:14 +00:00
er Merge pull request #278951 from sund3RRR/errands-init 2024-02-20 10:46:15 +01:00
es
eu
ex ext3grep: init at 0.10.2 2024-02-12 22:06:21 +01:00
ez/eza eza: 0.18.2 -> 0.18.3 2024-02-15 08:40:15 +01:00
fa fantomas: add darwin platforms 2024-02-18 18:53:25 +01:00
fb/fbset
fc
fe
ff
fi files-cli: 2.12.36 -> 2.12.37 2024-02-19 15:32:46 +00:00
fl flottbot: init at 0.13.0 2024-02-20 12:26:22 +01:00
fm
fn/fnott
fo
fr freefilesync: 13.3 -> 13.4 2024-02-18 21:34:31 +01:00
fu/fuchsia-cursor
fw/fwupd
fy/fypp
ga galleta: add darwin support 2024-02-18 20:47:40 +01:00
gb/gbar
gc
ge gerbolyze: init at v3.1.7 2024-02-17 01:22:36 -05:00
gh ghunt: 2.0.1 -> 2.1.0 2024-02-20 21:12:18 +01:00
gi
gl glauth: 2.3.1 -> 2.3.2 2024-02-19 07:31:38 +00:00
gm/gmic
go goldwarden: 0.2.10 -> 0.2.12 2024-02-20 06:18:18 +00:00
gp pkgs.gptscript: init at 0.1.1 2024-02-19 20:12:51 -08:00
gr Merge pull request #288697 from diegs/add-diegs-graphite-cli-maintainer 2024-02-15 03:36:57 +00:00
gt gtt: 8 -> 9 2024-02-11 18:12:18 +01:00
gu
h8/h8mail
ha hare: unstable-2024-02-08 -> 0.24.0 2024-02-21 16:36:41 -03:00
hd/hdrop
he
hi/hifile
hj/hjson-go
ho
ht scitoken-cpp -> scitokens-cpp (#288390) 2024-02-13 16:12:20 -05:00
hu/hugo hugo: 0.123.0 -> 0.123.1 2024-02-21 15:18:48 +01:00
hy hyprlang: 0.3.1 -> 0.3.2 2024-02-17 11:35:39 +00:00
i3
ia
ic
id/idsk
if/ifrextractor-rs
ig
ii
im immersed-vr: 9.6 -> 9.10 2024-02-17 11:37:22 -05:00
in {lxd,incus}.ui: 0.5 -> 0.6 2024-02-16 22:29:24 +01:00
ir/ironbar ironbar: 0.14.0 -> 0.14.1 2024-02-11 09:48:04 +00:00
ja Merge pull request #286668 from r-ryantm/auto-update/jasper 2024-02-19 19:07:17 +01:00
jd/jdt-language-server
ji
jj/jj
jn/jnr-posix
jo
js/jsoncons jsoncons: init at 0.173.4 2024-02-14 00:27:58 +04:00
ju/justbuild
ka
kc/kconfig-frontends
kd/kdsingleapplication
ke Merge pull request #289946 from peterablehmann/Package--keepassxc-go 2024-02-20 17:36:11 +01:00
kg/kgeotag
ki Merge pull request #282429 from fabaff/killerbee 2024-02-19 23:55:37 +01:00
kl/klog-time-tracker
km/kmsvnc
kn/knossosnet knossosnet: init at 1.0.0 2024-02-14 21:09:29 -05:00
ko kor: 0.3.4 -> 0.3.5 2024-02-20 12:38:25 +00:00
kp/kplex
ks/kseexpr
kt
ku
kx/kxstitch
la
lc/lcab
le
li lightning: 2.2.2 -> 2.2.3 2024-02-21 09:51:45 -03:00
ll llama-cpp: 2135 -> 2167 2024-02-16 21:01:12 +00:00
ln/lngen
lo louvre: 1.2.0-2 -> 1.2.1-2 2024-02-20 22:02:22 +00:00
ls/lshw
lu lunar-client: 3.2.1 -> 3.2.3 2024-02-14 22:08:19 +01:00
lw/lwgrp
lz
m2
ma Merge pull request #267461 from KUD-00/init-marcel 2024-02-13 03:19:54 -08:00
mc
md Merge pull request #288305 from nix-julia/add-mdbook-pdf-outline 2024-02-12 17:42:16 +01:00
me menulibre: init at 2.2.3 2024-02-13 00:31:54 -03:00
mf/mfoc-hardnested
mg/mgitstatus
mi miru: init at 4.5.10 2024-02-15 16:58:05 +01:00
mk
ml/mlx42
mo Merge pull request #289483 from toastal/movim-init 2024-02-17 14:59:30 +07:00
mp/mpifileutils
mq/mqttx
ms
mu
my myrescue: init at 0.9.8 2024-02-18 12:50:43 +01:00
n2/n2
na namespace-cli: 0.0.340 -> 0.0.341 2024-02-20 15:14:39 +00:00
nb/nbtscan nbtscan: init at 1.7.2-unstable-2022-10-29 2024-02-17 16:00:40 +01:00
nc/ncdc
ne Merge pull request #267413 from timbertson/netproxrc 2024-02-17 21:26:07 +01:00
nf/nfft
nh/nh
ni Merge pull request #288861 from IogaMaster/niri-0.1.1 2024-02-15 14:33:37 +02:00
nl
nm/nmap-parse
nn/nncp
no nom: 2.1.1 -> 2.1.3 2024-02-20 12:38:56 +01:00
np
nr nrr: 0.5.0 -> 0.5.2 2024-02-14 08:14:49 +08:00
ns
nu numbat: 1.9.0 -> 1.10.1 2024-02-13 13:19:16 +01:00
nv
nw
oa
ob obs-do: 0.1.0 -> 0.1.1 2024-02-11 13:55:17 +01:00
oc
oe/oelint-adv oelint-adv: 4.3.0 -> 4.3.1 2024-02-21 03:34:45 +00:00
of/offpunk offpunk: 2.1 -> 2.2 2024-02-12 22:47:52 +01:00
oh/oh-my-fish
oi
on
op Merge pull request #287443 from orivej/opensoundmeter 2024-02-19 22:40:34 +00:00
or ory: 0.3.2 -> 0.3.4 2024-02-11 10:04:21 +00:00
ot
ou/outputcheck
ov
ow/owncloud-client
pa Merge pull request #290224 from patka-123/paratest-7.4.3 2024-02-20 18:38:29 +01:00
pd Merge pull request #289632 from marsam/add-pdfannots 2024-02-18 17:00:34 -05:00
pe
pf/pfft
pg pgmoneta: 0.8.0 -> 0.9.0 2024-02-15 00:01:37 +00:00
ph phel: replace postCheckInstall with postInstallCheck 2024-02-15 22:26:38 +01:00
pi Merge pull request #288667 from thiagokokada/cleanup-picom 2024-02-15 10:31:16 +00:00
pk/pkcrack
pl plumber: build only main executable 2024-02-18 04:20:00 +00:00
pm pmtiles: 1.14.1 -> 1.17.0 2024-02-15 21:15:07 +00:00
pn/pnfft
po
pp/ppsspp
pr preserves-tools: 4.992.2 -> 4.994.0 2024-02-16 14:10:36 +00:00
pt ptunnel: init at 0.72 2024-02-18 21:39:15 +01:00
pu purescm: init at 1.8.2 2024-02-20 15:58:48 +07:00
pw
px/pxder
py pyprland: 1.10.2 -> 2.0.3 2024-02-21 02:53:11 +03:00
pz/pzip
qa/qadwaitadecorations
qc/qcm
qg/qgrep
qr qrtool: 0.10.4 -> 0.10.5 2024-02-19 00:59:41 +00:00
qs
qt/qtractor
qu Merge pull request #251015 from TomaSajt/quark-goldleaf 2024-02-16 23:15:06 +01:00
ra raft-cowsql: 0.19.1 -> 0.22.0 2024-02-11 15:52:21 +00:00
rc rclip: 1.7.24 -> 1.7.26 2024-02-19 08:42:07 +08:00
re renode-dts2repl: unstable-2024-02-16 -> unstable-2024-02-19 2024-02-21 10:02:55 +00:00
ri
rl/rl_json
rm/rmg
ro Merge pull request #285645 from konradmalik/roslyn-ls 2024-02-17 21:12:08 +01:00
rp/rpcs3
rq/rqbit
rs
rt/rtl-sdr-osmocom
ru rustdesk-flutter: unstable-2024-02-03 -> 1.2.3-unstable-2024-02-11 2024-02-12 17:00:40 +01:00
rw/rwpspread rwpspread: 0.1.8 -> 0.1.9 2024-02-13 03:50:24 +00:00
s3/s3scanner
sa satty: 0.8.3 -> 0.9.0 2024-02-13 08:35:44 +00:00
sc Merge pull request #288039 from D3vil0p3r/patch-15 2024-02-17 10:05:41 -08:00
sd sdcc: 4.2.0 -> 4.4.0 2024-02-13 12:47:11 +01:00
se seclists: 2023.4 -> 2024.1 2024-02-16 19:04:16 +00:00
sg/sgfutils
sh shopware-cli: 0.4.23 -> 0.4.24 2024-02-21 19:51:23 +00:00
si Merge pull request #257997 from mightyiam/sink-rotate 2024-02-18 14:08:54 +07:00
sl
sm smag: init at 0.7.0 2024-02-17 03:46:10 +01:00
sn
so
sp Merge pull request #290326 from r-ryantm/auto-update/spicetify-cli 2024-02-21 10:17:40 -05:00
sq/sqlite-vss
sr Merge pull request #271324 from nessdoor/sourcehut/tests 2024-02-17 20:58:22 +01:00
ss
st steamguard-cli: 0.12.5 -> 0.12.6 2024-02-19 23:13:18 +00:00
su
sv
sw
sx
sy
ta
tc/tcsh
td/tdl tdl: 0.15.1 -> 0.16.0 2024-02-15 16:42:20 +04:00
te
th
ti tigerbeetle: 0.14.179 -> 0.14.180 2024-02-21 06:46:15 +00:00
tk/tkdiff
tl
tm/tmuxifier
to
tp
tr treedome: 0.3.3 -> 0.4 2024-02-18 19:17:31 +07:00
tt/ttop
tu
tx/txr
ty typst-preview: 0.10.5 -> 0.10.8 2024-02-20 15:35:18 +01:00
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
us/usql
ut/ut
uu/uuu
uv/uv uv: 0.1.5 -> 0.1.6 2024-02-20 21:07:49 +01:00
ux/uxn uxn: unstable-2024-02-14 -> unstable-2024-02-15 2024-02-18 18:10:06 +00:00
va/valijson
vc vcpkg: 2024.01.12 -> 2024.02.14 2024-02-16 22:48:06 +00:00
ve vesktop: use stdenv instead of gcc13Stdenv 2024-02-13 21:29:43 +00:00
vg/vgm2x
vi vibrantlinux: fix revision to contain v prefix 2024-02-11 11:50:12 +00:00
vu/vulkan-volk
wa Merge pull request #287346 from atorres1985-contrib/waf 2024-02-16 16:00:51 +00:00
wb/wb32-dfu-updater
we
wh
wi wiremock: 3.3.1 -> 3.4.0 2024-02-18 22:35:43 +00:00
wl
wo
wp/wp-cli
ws/wslay
wt/wtfis wtfis: 0.7.1 -> 0.8.0 2024-02-20 04:57:55 +00:00
x1/x16
xa/xarcan
xc/xcbeautify xcbeautify: init at 1.4.0 2024-02-13 13:42:32 +05:30
xd xdg-desktop-portal-cosmic: set meta.mainProgram 2024-02-19 19:50:07 +01:00
xf/xfs-undelete
xi xiu: init at 0.10.0 2024-02-13 04:20:00 +00:00
xm
xo
xp/xplr
xs
xw/xwayland-run
ya yazi: use wrapper to avoid rebuild 2024-02-19 00:21:06 +08:00
ye
yg/yggdrasil
yj/yj
yo
ys/ysfx
yt
yu/yunfaavatar
za/zapzap zapzap: 5.1.3 -> 5.2 2024-02-17 18:15:29 +01:00
zb/zbus-xmlgen
zc/zcfan
ze/zesarux
zi zigpy-cli: init at 1.0.4 (#289805) 2024-02-20 23:03:01 +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. 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.