nixpkgs/pkgs/applications/misc/zathura/default.nix
José Luis Lafuente 053d79dbf0
zathura: 0.4.1 -> 0.4.3, new features and plugin
Update to 0.4.3, compile it with more features and add CB plugin
2019-03-10 22:22:10 +01:00

35 lines
721 B
Nix

{ config, pkgs
, useMupdf ? config.zathura.useMupdf or true
, synctexSupport ? true }:
let
callPackage = pkgs.newScope self;
self = rec {
gtk = pkgs.gtk3;
zathura_core = callPackage ./core {
inherit synctexSupport;
};
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 {
plugins = [
zathura_djvu
zathura_ps
zathura_cb
(if useMupdf then zathura_pdf_mupdf else zathura_pdf_poppler)
];
};
};
in self.zathuraWrapper