nixpkgs/pkgs/by-name
2024-01-22 09:56:47 -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 advcpmv: 0.9-9.3 -> 0.9-9.4 2024-01-17 09:56:35 -03:00
ae aeacus: init at 2.1.1 2024-01-18 08:21:02 +01:00
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 Merge pull request #277278 from t4ccer/t4/approxmc 2024-01-19 16:21:09 +09:00
ar arxiv-latex-cleaner: 1.0.1 -> 1.0.3 2024-01-20 06:21:01 +00:00
as Merge pull request #279165 from shard77/patch-4 2024-01-18 22:05:58 +01:00
at Merge pull request #274756 from GetPsyched/atlauncher 2024-01-17 15:30:02 +01:00
au audiobookshelf: 2.7.1 -> 2.7.2 2024-01-18 14:54:11 -05:00
av/avr-sim
aw aws-azure-login: Link Puppeteer to Chromium 2024-01-15 22:15:45 +13:00
ax/axmldec
ay/ayatana-indicator-messages
ba
bc/bc-ur
be beekeeper-studio: fix hash 2024-01-20 04:57:32 +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 Merge pull request #281308 from octodi/bruteforce-salted-openssl 2024-01-18 08:18:56 +01:00
bs/bsync bsync: init at unstable-2023-12-21 2024-01-19 19:38:43 +01:00
bu Merge pull request #277945 from D3vil0p3r/patch-1 2024-01-22 05:55:08 +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
c-/c-for-go c-for-go: init at a1822f0 2024-01-09 17:55:24 +01:00
ca Merge pull request #259294 from clr-cera/candy-icons 2024-01-20 16:41:56 +01:00
cb/cbmbasic
cd
ce centrifugo: 5.2.0 -> 5.2.1 2024-01-20 05:02:02 +00:00
cg/cgl
ch chess-clock: init at 0.6.0 2024-01-16 20:43:54 +02:00
ci cimg: 3.3.2 -> 3.3.3 2024-01-13 04:20:39 +00:00
cl clairvoyant: init at 3.1.2 2024-01-16 20:46:13 +02:00
cm
cn/cntb
co Merge pull request #281864 from ahoneybun/cosmic-term 2024-01-21 00:14:33 +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 Merge pull request #272806 from zoriya/init-csharpier 2024-01-18 09:35:09 +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 debianutils: 5.15 -> 5.16 2024-01-05 05:19:02 +00:00
di Merge pull request #277735: Remove caadar from maintainers 2024-01-15 23:52:47 +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 #282263 from r-ryantm/auto-update/doublecmd 2024-01-21 01:16:00 +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: 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 eksctl: 0.167.0 -> 0.168.0 2024-01-20 07:50:14 +00:00
el elf2nucleus: init at 0.1.0 2024-01-20 09:41:55 +01: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.1 -> 0.17.2 2024-01-20 19:30:07 +01:00
fa Merge pull request #277888 from katexochen/fac/unstable 2024-01-20 23:12:05 +01:00
fc
fe/feather feather: 2.6.1 -> 2.6.2 2024-01-05 08:27:32 +00:00
ff ff2mpv-rust: init at 1.1.1 2024-01-15 20:59:41 -03:00
fi Merge pull request #278225 from loicreynier/fira-math-init-at-0.3.4 2024-01-19 04:40:24 +01:00
fl flarectl: 0.85.0 -> 0.86.0 2024-01-18 11:25:49 +00:00
fm
fn/fnott
fo forge-sparks: init at 0.2.0 2024-01-18 09:32:39 +02:00
fr Merge pull request #281570 from michaelgrahamevans/fretboard 2024-01-18 21:27:39 +01:00
ga gato: 1.5 -> 1.6 2024-01-22 03:08:32 +00: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 glauth: add myself as maintainer 2024-01-19 10:06:32 +01:00
gm/gmic
go goldwarden: 0.2.7 -> 0.2.9 2024-01-05 05:23:05 +00:00
gr Merge pull request #273494 from katexochen/grmon/init 2024-01-17 20:12:14 +01:00
gt Merge pull request #277735: Remove caadar from maintainers 2024-01-15 23:52:47 +01:00
gu
h8/h8mail h8mail: init at 2.5.6 2024-01-07 19:31:59 +05:30
ha hare: embedd paths for cross-compilation toolchains 2024-01-17 13:31:00 -03:00
hd/hdrop hdrop: 0.3.0 -> 0.4.4 2024-01-19 09:49:23 +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 Merge pull request #250265 from dotlambda/http-server-buildNpmPackage 2024-01-20 20:33:50 -08:00
hu/hugo hugo: 0.121.1 -> 0.121.2 2024-01-05 20:02:20 +05:30
hy hyprlang: init at 0.2.1 2024-01-16 22:24:04 +02:00
i3
ia/ia-writer-quattro
ic icloudpd: init at 1.17.3 2024-01-13 14:30:43 +11:00
id/idsk
if/ifrextractor-rs
ig/ignite-cli ignite-cli: 28.1.0 -> 28.1.1 2024-01-17 11:27:51 +00:00
ii iina: 1.3.3 -> 1.3.4 2024-01-11 17:10:56 +01:00
im
in incus: add missing service dependencies 2024-01-19 10:59:08 -05:00
ir/ironbar
ja Merge pull request #281033 from TomaSajt/jasp-desktop 2024-01-21 15:43:53 +11: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 kdsingleapplication: 1.0.0 -> 1.1.0 2023-12-22 19:35:14 +00:00
ke keep-sorted: 0.2.0 -> 0.3.0 2024-01-17 07:45:48 +01:00
kg/kgeotag kgeotag: 1.4.0 -> 1.5.0 2024-01-05 05:37:50 +00:00
ki kikit: 1.3.0 -> 1.4.0 2024-01-21 05:17:06 +00: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.6 -> 1.5.7 2024-01-22 02:04:38 +00:00
li Merge pull request #272579 from unclamped/vibrantlinux 2024-01-21 00:40:06 +01:00
ll llama-cpp: 1848->1892; add static build mode 2024-01-19 08:42:56 -05:00
ln/lngen
lo Merge pull request #277278 from t4ccer/t4/approxmc 2024-01-19 16:21:09 +09: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 nixos/tests/incus: add lxd-to-incus migration test 2024-01-14 09:26:49 -05:00
lz/lzsa
m2
ma Merge pull request #275057 from teutat3s/init-matrix-authentication-service 2024-01-20 18:38:09 -05:00
mc mcap-cli: init at 0.0.38 2024-01-21 12:42:24 -08:00
me Merge master into staging-next 2024-01-07 18:00:54 +00:00
mf/mfoc-hardnested
mg/mgitstatus mgitstatus: init at 2.2 2024-01-20 12:50:38 +05:30
mi minetest-mapserver: 4.7.0 -> 4.8.0 2023-12-28 08:12:38 +00:00
mk
ml/mlx42 mlx42: 2.3.2 -> 2.3.3 2024-01-06 13:31:41 +01:00
mo Merge pull request #270727 from nikstur/nixos-perlless-activation 2024-01-22 10:11:44 +01:00
mp/mpifileutils
mq/mqttx mqttx: init at 1.9.8 2024-01-04 07:52:46 +01:00
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 Merge pull request #281342 from r-ryantm/auto-update/naps2 2024-01-18 07:34:20 +01:00
nc/ncdc ncdc: 1.23.1 -> 1.24 2024-01-09 10:58:44 +00:00
ne netclient: 0.21.2 -> 0.22.0 2024-01-20 00:03:40 +00:00
nf/nfft
nh/nh Merge pull request #281012 from adamcstephens/nh/fix-darwin 2024-01-15 07:11:57 -05:00
ni nitter: unstable-2023-12-03 -> unstable-2024-01-12 2024-01-18 20:27:41 +00:00
nl nlohmann_json_schema_validator: init at 2.3.0 2023-12-22 11:21:49 +01:00
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 nvdtools: init at 0.1.5 2024-01-22 00:01:59 +01:00
nw/nwg-drawer
oa
ob/obs-do obs-do: init at 0.1.0 2024-01-15 09:07:00 +01:00
oc ocenaudio: fix desktop file 2024-01-18 09:11:30 +00: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: 0.9.1 -> 0.10.0 2024-01-14 22:13:18 +01:00
or Merge pull request #281774 from nicolas-goudry/update-ory-cli 2024-01-19 13:25:30 -08:00
ot oterm: 0.1.17 -> 0.1.18 2024-01-10 20:02:12 +03:00
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 paralus-cli: 0.1.4 -> 0.1.5 2024-01-21 11:03:27 +00:00
pd pdfrip: init at 2.0.1 2024-01-12 00:35:29 +01:00
pe persistent-cache-cpp: Fetch patch for leveldb dependency propagation 2024-01-01 20:45:13 +01:00
pf/pfft pfft: init at 1.0.8-alpha 2024-01-18 10:21:01 +01:00
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 pixi: init at 0.11.1 2024-01-14 19:59:39 +08:00
pk/pkcrack
pl Merge pull request #278997 from wegank/xib2nib-deps-refactor 2024-01-13 18:19:08 +01:00
pm/pmtiles pmtiles: 1.12.0 -> 1.13.0 2024-01-20 02:42:04 +00:00
pn/pnfft pnfft: init at 1.0.7-alpha 2024-01-18 10:21:02 +01:00
po Merge pull request #280525 from diogotcorreia/polylux2pdfpc 2024-01-20 13:33:44 +01:00
pp/ppsspp
pr prevo: adjust wrapper, loosen platforms 2024-01-17 10:39:55 +00: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.11 -> 1.7.0 2024-01-20 02:17:58 +00:00
pz/pzip
qa/qadwaitadecorations
qg/qgrep qgrep: 1.1 -> 1.3 2024-01-18 04:35:52 +01:00
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 quicktype: 23.0.80 -> 23.0.81 2024-01-17 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 #276130 from szlend/redocly-cli-silence-updates 2024-01-21 21:11:06 +09:00
ri rimgo: 1.2.1 -> 1.2.3 2024-01-18 00:16:48 +01:00
rm/rmg rmg: 0.5.4 -> 0.5.5 2024-01-16 18:23:10 +00:00
ro roxterm: refactor 2023-12-29 15:23:33 -03:00
rp/rpcs3
rq/rqbit rqbit: 5.4.1 -> 5.4.2 2024-01-21 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
s3/s3scanner s3scanner: init at 3.0.4 2024-01-07 08:05:26 +05:30
sa salmon: init at 1.10.2 2024-01-06 23:10:53 +01:00
sc Merge pull request #278750 from shard77/patch-1 2024-01-16 23:03:23 -08:00
sd SDL2_Pango: init at 2.1.5 2024-01-08 14:23:10 +01:00
se
sg/sgfutils
sh Merge pull request #277901 from minijackson/init-show-midi 2024-01-18 18:12:02 -08:00
si sirius: fixup build with gcc13 2024-01-11 17:19:22 +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 speakersafetyd: init at 0.1.9 (#281305) 2024-01-17 18:29:19 +01:00
sq/sqlite-vss
sr src: 1.32 -> 1.33 2024-01-03 23:00:25 -03:00
ss ssh-askpass-fullscreen: adopt 2023-12-30 12:18:39 -03:00
st Merge pull request #280843 from kirillrdy/unpin-go 2024-01-22 20:28:38 +09:00
su nixos/suwayomi-server: add nixos tests 2024-01-19 02:31:33 +01:00
sv/svix-server
sw sweet-folders: init at unstable-2023-03-18 2024-01-18 21:22:57 +01:00
sx sx: 2.1.7 -> 3.0 2024-01-08 12:28:17 +00:00
sy symbolicator: fix build on Darwin 2024-01-21 22:49:08 -05:00
ta Merge pull request #278992 from ehmry/tarlz 2024-01-14 10:57:54 +01:00
tc/tcsh
te Merge pull request #281888 from r-ryantm/auto-update/terraform-plugin-docs 2024-01-21 09:42:36 +01:00
th
ti Merge pull request #278460 from DanielSidhion/fix-tigerbeetle-build 2024-01-19 05:22:41 -08:00
tk/tkdiff
tl/tlrc
tm/tmuxifier
to/torrentstream
tp
tr Merge pull request #276753 from andersrh/upgrade-tradingview 2024-01-19 00:54:56 +01:00
tt/ttop
tu tuleap-cli: init at 1.0.0 2024-01-09 12:26:59 +01:00
tx/txr txr: 292 -> 293 2023-12-30 08:21:36 +00:00
ty typodermic-free-fonts: init at 2023a 2024-01-20 14:56:54 +00:00
uc uchecker: init at 0.1.2 2024-01-16 22:36:01 +01:00
ud
ue/uemacs uemacs: init at 4.0-unstable-2018-07-19 2024-01-19 20:30:47 +01:00
ui
un unbook: 0.7.3 -> 0.8.2 2024-01-13 19:21:32 -08:00
up uplosi: unpin go 2024-01-14 09:23:10 +09:00
us/usql usql: 0.17.4 -> 0.17.5 2024-01-18 04:20:00 +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-2024-01-04 -> unstable-2024-01-15 2024-01-18 20:05:00 +00:00
va/valijson valijson: 1.0.1 -> 1.0.2 2023-12-25 00:47:17 +00:00
vc vcpkg-tool: 2023-12-12 -> 2024-01-11 2024-01-18 12:30:07 +00:00
ve vesktop: add withSystemVencord 2024-01-20 21:11:02 -05:00
vg/vgm2x
vi Merge pull request #272579 from unclamped/vibrantlinux 2024-01-21 00:40:06 +01:00
wa watchdogd: init at 4.0 2024-01-19 23:03:25 +01:00
wb/wb32-dfu-updater
we websploit: move to pkgs/by-name 2024-01-17 10:58:02 +01:00
wh whistle: 2.9.62 -> 2.9.63 2024-01-18 04:20:00 +00:00
wi Merge pull request #282164 from arikgrahl/wireguard-vanity-keygen 2024-01-21 23:58:43 +01:00
wl wl-clipboard-rs: init at 0.8.0-unstable-2023-11-27 2024-01-13 00:45:42 +00:00
wo worker: 4.12.1 -> 5.0.0 2023-12-31 07:34:05 +00:00
wp/wp-cli
ws/wslay
wt/wtfis
x1/x16
xa/xarcan
xd
xf/xfs-undelete xfs_undelete: init at unstable-2023-04-12 2024-01-19 22:08:05 +04:00
xi/xib2nib plistcpp: migrate to by-name, refactor 2024-01-13 07:17:08 +01:00
xm xmpp-bridge: init at 0.6.0 2024-01-18 09:22:17 -08:00
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 zapzap: 4.5.5.2 -> 5.1.3 2024-01-17 00:26:28 +01:00
zb/zbus-xmlgen
zc/zcfan
ze/zesarux
zi Merge pull request #280843 from kirillrdy/unpin-go 2024-01-22 20:28:38 +09:00
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 tests.nixpkgs-check-by-name: Enforce pkgs/by-name for new packages 2024-01-10 19:29:26 +01:00

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.