about summary refs log tree commit diff
path: root/pkgs/applications/graphics/ImageMagick
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 /pkgs/applications/graphics/ImageMagick
parent44c544f3dc1f09e87315e8f38f85210179a38bed (diff)
imagemagick: add img2pdf to passthru.tests
Diffstat (limited to 'pkgs/applications/graphics/ImageMagick')
-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 021426b251133..7b820c0e98a43 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/";