about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/mupdf/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/mupdf/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/misc/mupdf/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/mupdf/default.nix b/nixpkgs/pkgs/applications/misc/mupdf/default.nix
index d00b9103d8f0..6e3d37e2ef38 100644
--- a/nixpkgs/pkgs/applications/misc/mupdf/default.nix
+++ b/nixpkgs/pkgs/applications/misc/mupdf/default.nix
@@ -27,6 +27,11 @@
 , freeglut
 , libGLU
 , xcbuild
+
+# for passthru.tests
+, cups-filters
+, python3
+, zathura
 }:
 let
 
@@ -146,6 +151,11 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
+  passthru.tests = {
+    inherit cups-filters zathura;
+    inherit (python3.pkgs) pikepdf pymupdf;
+  };
+
   meta = with lib; {
     homepage = "https://mupdf.com";
     description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C";