From 93c58365386a20b82378df1d8ec441677c128874 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 27 Feb 2022 18:31:36 +0000 Subject: [PATCH] libtiff: add some reverse dependencies to passthru.tests --- pkgs/development/libraries/libtiff/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/development/libraries/libtiff/default.nix b/pkgs/development/libraries/libtiff/default.nix index 5f34a80d253..85330604eb6 100644 --- a/pkgs/development/libraries/libtiff/default.nix +++ b/pkgs/development/libraries/libtiff/default.nix @@ -8,6 +8,16 @@ , libjpeg , xz , zlib + +# for passthru.tests +, libgeotiff +, python3Packages +, imagemagick +, graphicsmagick +, gdal +, openimageio +, freeimage +, imlib }: #FIXME: fix aarch64-darwin build and get rid of ./aarch64-darwin.nix @@ -53,6 +63,11 @@ stdenv.mkDerivation rec { doCheck = true; + passthru.tests = { + inherit libgeotiff imagemagick graphicsmagick gdal openimageio freeimage imlib; + inherit (python3Packages) pillow imread; + }; + meta = with lib; { description = "Library and utilities for working with the TIFF image file format"; homepage = "https://libtiff.gitlab.io/libtiff";