summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2023-02-04 19:25:59 -0800
committerRobert Schütz <nix@dotlambda.de>2023-02-04 19:25:59 -0800
commit22a71e2ab698e3898f06054e003370e90771d081 (patch)
treea9ad582fd5fe2dece363dc3029ee7aacdd45f44a
parent44c544f3dc1f09e87315e8f38f85210179a38bed (diff)
imagemagick: add img2pdf to passthru.tests
-rw-r--r--pkgs/applications/graphics/ImageMagick/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix
index 021426b25113..7b820c0e98a4 100644
--- a/pkgs/applications/graphics/ImageMagick/default.nix
+++ b/pkgs/applications/graphics/ImageMagick/default.nix
@@ -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/";