imagemagick: add img2pdf to passthru.tests

This commit is contained in:
Robert Schütz 2023-02-04 19:25:59 -08:00
parent 44c544f3dc
commit 22a71e2ab6

View file

@ -30,6 +30,7 @@
, Foundation
, testers
, imagemagick
, python3
}:
assert libXtSupport -> libX11Support;
@ -122,8 +123,10 @@ stdenv.mkDerivation rec {
done
'';
passthru.tests.version =
testers.testVersion { package = imagemagick; };
passthru.tests = {
version = testers.testVersion { package = imagemagick; };
inherit (python3.pkgs) img2pdf;
};
meta = with lib; {
homepage = "http://www.imagemagick.org/";