Merge pull request #184650 from risicle/ris-libwebp-passthru-tests

main
Sandro 2 years ago committed by GitHub
commit 84ceca0d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      pkgs/development/libraries/libwebp/default.nix

@ -11,6 +11,18 @@
, libwebpmuxSupport ? true # Build libwebpmux
, libwebpdemuxSupport ? true # Build libwebpdemux
, libwebpdecoderSupport ? true # Build libwebpdecoder
# for passthru.tests
, freeimage
, gd
, graphicsmagick
, haskellPackages
, imagemagick
, imlib2
, libjxl
, opencv
, python3
, vips
}:
stdenv.mkDerivation rec {
@ -51,6 +63,12 @@ stdenv.mkDerivation rec {
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; {
description = "Tools and library for the WebP image format";
homepage = "https://developers.google.com/speed/webp/";

Loading…
Cancel
Save