Merge pull request #184650 from risicle/ris-libwebp-passthru-tests
This commit is contained in:
commit
84ceca0d52
|
@ -11,6 +11,18 @@
|
||||||
, libwebpmuxSupport ? true # Build libwebpmux
|
, libwebpmuxSupport ? true # Build libwebpmux
|
||||||
, libwebpdemuxSupport ? true # Build libwebpdemux
|
, libwebpdemuxSupport ? true # Build libwebpdemux
|
||||||
, libwebpdecoderSupport ? true # Build libwebpdecoder
|
, libwebpdecoderSupport ? true # Build libwebpdecoder
|
||||||
|
|
||||||
|
# for passthru.tests
|
||||||
|
, freeimage
|
||||||
|
, gd
|
||||||
|
, graphicsmagick
|
||||||
|
, haskellPackages
|
||||||
|
, imagemagick
|
||||||
|
, imlib2
|
||||||
|
, libjxl
|
||||||
|
, opencv
|
||||||
|
, python3
|
||||||
|
, vips
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -51,6 +63,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit freeimage gd graphicsmagick imagemagick imlib2 libjxl opencv vips;
|
||||||
|
inherit (python3.pkgs) pillow imread;
|
||||||
|
haskell-webp = haskellPackages.webp;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tools and library for the WebP image format";
|
description = "Tools and library for the WebP image format";
|
||||||
homepage = "https://developers.google.com/speed/webp/";
|
homepage = "https://developers.google.com/speed/webp/";
|
||||||
|
|
Loading…
Reference in a new issue