nixpkgs-suyu/pkgs/tools/text
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
..
a2ps treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
agrep treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
aha treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
amber treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
angle-grinder treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ansifilter treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ascii treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
asciigraph asciigraph: init at 0.5.1 (#103184) 2020-11-11 23:48:05 +10:00
bcat
boxes treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
catdoc treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
catdocx treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cconv treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
chars treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
choose treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
chroma chroma: 0.8.1 -> 0.8.2 2020-12-22 16:20:53 +01:00
cmigemo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
codesearch
colordiff treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
coloursum treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
convertlit
copyright-update treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
csvkit csvkit: add setuptools to runtime dependencies 2020-10-10 04:20:00 +00:00
dadadodo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
diction
diffr treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
diffstat treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
diffutils treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
discount treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dos2unix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ebook-tools treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
enca treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
enscript
epubcheck treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
esh treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fanficfare treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fastmod treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gawk treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gist
gjo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
glogg treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gnugrep treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gnupatch
gnused
grin
grip-search treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
groff treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gtranslator treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gucci treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
highlight treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
html-tidy treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
html2text
hyx
icdiff treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
invoice2data treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ispell treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
jsawk treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
jumanpp treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
kakasi treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
kdiff3 kdiff3: migrate to Qt5.15 2020-11-20 22:24:22 +01:00
kramdown-rfc2629
kytea treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
languagetool treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ledger2beancount treewide: simplify rev/repo arguments in src 2020-11-01 23:02:24 -08:00
link-grammar treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lv treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mairix
markdown-pp treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mawk treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mb2md treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mdbook treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mdcat treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mecab treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
miller treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mir-qualia
mpage
multitran
namazu
nawk
nkf
numdiff treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ocrmypdf treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
odt2txt
opencc treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
papertrail treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
par treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
patchutils treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pbgopy treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
peco treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
platinum-searcher treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
podiff treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
poedit treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
popfile
proselint treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
qgrep treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
qprint
qshowdiff
reckon
recode recode: 3.7.7 -> 3.7.8 2020-11-18 15:43:08 +01:00
replace
rgxg treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ripgrep treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ripgrep-all treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
rosie
rpl treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
rs treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
rst2html5 rst2html5: 1.9.4 -> 1.10.6 2020-11-30 17:58:53 -03:00
ruby-zoom
ruplacer treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
schema2ldif treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sgml
shab
shfmt shfmt: 3.2.0 -> 3.2.1 2020-12-03 05:49:57 +10:00
shocco treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sift treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
silver-searcher treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
smu
snippetpixie treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
source-highlight
tab treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
transifex-client treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
txt2tags
ucg treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ugrep treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
uni2ascii
unoconv treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
unrtf treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
untex treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
uwc uwc: Init at 1.0.4 2020-11-27 14:07:25 +00:00
vale treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vgrep vgrep: 2.5.0 -> 2.5.1 2020-11-13 20:37:06 +10:00
wdiff
wgetpaste
xidel treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xml treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xsv treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xurls treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
yaml-merge treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
zimreader
zimwriterfs