2 # zathura_pdf_mupdf fails to load _opj_create_decompress at runtime on Darwin (https://github.com/NixOS/nixpkgs/pull/61295#issue-277982980)
3 , useMupdf ? config.zathura.useMupdf or (!pkgs.stdenv.isDarwin) }:
6 callPackage = pkgs.newScope self;
11 zathura_core = callPackage ./core { };
13 zathura_pdf_poppler = callPackage ./pdf-poppler { };
15 zathura_pdf_mupdf = callPackage ./pdf-mupdf { };
17 zathura_djvu = callPackage ./djvu { };
19 zathura_ps = callPackage ./ps { };
21 zathura_cb = callPackage ./cb { };
23 zathuraWrapper = callPackage ./wrapper.nix {
28 (if useMupdf then zathura_pdf_mupdf else zathura_pdf_poppler)