nixpkgs/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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 codesearch: use upstream vendor 2020-09-08 16:32:39 +10:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 gist: 5.1.0 -> 6.0.0 (#98053) 2020-09-15 22:41:47 +00:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gnused treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
grin treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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
html2text treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
html-tidy treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
hyx hyx: enable on darwin 2020-07-22 13:10:08 +03:00
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 update versions in Gemfile.lock 2020-04-06 15:02:13 +02:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mpage treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
multitran treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
namazu treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nawk nawk: 20121220 -> 20180827 2020-05-07 16:01:42 +00:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
qshowdiff treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
reckon update versions in Gemfile.lock 2020-04-06 15:02:13 +02:00
recode recode: 3.7.7 -> 3.7.8 2020-11-18 15:43:08 +01:00
replace treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
shab treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 maintainers: rename geistesk to oxzi 2020-08-15 16:03:46 +02:00
snippetpixie treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
source-highlight treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
wgetpaste wgetpaste: 2.29 -> 2.30 2020-08-31 06:42:17 +00:00
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 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zimwriterfs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00