nixpkgs/pkgs/applications/misc/zathura/default.nix

35 lines
534 B
Nix

{
config,
lib,
stdenv,
newScope,
gtk3,
useMupdf ? true,
}:
lib.makeScope newScope (
self:
let
callPackage = self.callPackage;
in
{
inherit useMupdf;
gtk = gtk3;
zathura_core = callPackage ./core { };
zathura_pdf_poppler = callPackage ./pdf-poppler { };
zathura_pdf_mupdf = callPackage ./pdf-mupdf { };
zathura_djvu = callPackage ./djvu { };
zathura_ps = callPackage ./ps { };
zathura_cb = callPackage ./cb { };
zathuraWrapper = callPackage ./wrapper.nix { };
}
)