nixpkgs/pkgs/tools/graphics
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
..
amber treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
appleseed treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
argyllcms treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
asymptote treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
barcode treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
blockhash treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
blur-effect treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
briss treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cfdg treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
convchain treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
cuneiform treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dcraw jasper: remove, abandoned upstream. 2020-09-09 18:29:42 +00:00
diagrams-builder diagrams-builder,mlflow-server: remove trailing whitespace 2020-11-09 11:39:28 +00:00
directx-shader-compiler treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ditaa treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dmtx-utils dmtx-utils: enable on darwin 2020-10-09 16:12:26 -04:00
dpic treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
editres treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
enblend-enfuse treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
eplot treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
epstool treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
escrotum treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
exif treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
exifprobe treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
exiftags treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
facedetect treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fbv treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
feedgnuplot treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fgallery treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fim fim: Fix the build by switching back to GCC 9 2021-01-06 19:45:39 +01:00
flam3 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ggobi treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gifsicle treewide: Inline more of the static overlay 2021-01-03 21:46:14 +00:00
gifski treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
glee treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
glmark2 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
glxinfo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gmic treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gmic-qt treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gnuplot gnuplot: 5.4.0 -> 5.4.1 2020-12-05 18:26:30 +00:00
graph-easy treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
graphviz treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
grim treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gromit-mpx treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
guff treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ibniz treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
icoutils treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ifm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
imageworsener treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
imgur-screenshot treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
imgurbash2 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
jbig2enc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jhead treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
jpegexiforient jpegexiforient: init at unstable-2002-02-17 2019-11-14 02:36:30 +01:00
ldgallery ldgallery: init at 2.0 2021-01-01 16:30:48 +01:00
leela treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
lepton treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
logstalgia treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lprof treewide: fix typo on word environment 2020-07-28 08:00:38 +02:00
luxcorerender treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
maim treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mesa-demos treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mscgen mscgen: clean up build 2020-04-20 15:27:28 +02:00
netpbm netpbm: 10.91.3 → 10.92.0 2020-10-02 13:33:36 +02:00
nifskope treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nip2 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
optar treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
optipng treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
oxipng treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pdf2svg treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pdfread treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pdfredacttools treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pdftag treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
perceptualdiff treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pfstools treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pgf pgf: update homepage link to use HTTPS 2020-04-24 19:44:59 -07:00
piglit piglit: init at unstable-2020-10-23 2020-11-03 14:49:37 +01:00
ploticus treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
plotutils treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
pngcheck treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
pngcrush treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
pngnq treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pngout treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
pngquant treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pngtoico treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
povray treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pstoedit treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
qrcode treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
quirc treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
resvg resvg: 0.11.0 -> 0.12.0 2020-12-08 04:56:22 +00:00
rocket treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
s2png treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
scanbd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
scrot treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
shotgun treewide: replace base64 encoded hashes 2020-06-03 18:35:19 +02:00
sng treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
spirv-cross treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
structure-synth treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
svgbob svgbob: fix build 2020-09-20 08:24:00 -07:00
svgcleaner treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
syntex treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
transfig transfig: use patch file extension 2020-05-26 14:51:12 +10:00
twilight treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
unpaper treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vips treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
viu viu: 1.1 -> 1.2.1 (#103582) 2020-11-12 12:06:52 +01:00
vulkan-extension-layer treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vulkan-tools treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vulkan-tools-lunarg treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
waifu2x-converter-cpp waifu2x-converter-cpp: add OpenCL support 2020-10-17 20:34:21 +02:00
wallutils wallutils: 5.8.3 -> 5.9.0 2020-02-28 21:13:17 +01:00
wavefunctioncollapse treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
wdisplays wdisplays: fix startup on sway 1.5 2020-09-11 11:00:40 +02:00
welkin treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
wkhtmltopdf wkhtmltopdf: 0.12.5 -> 0.12.6 2020-06-17 12:02:50 -07:00
xcftools treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
xcur2png treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
yafaray-core treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
yaxg treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
zbar zbar: use libintl on darwin 2020-06-02 13:54:16 +02:00
zxing treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00