2016-08-26 01:42:08 +01:00
|
|
|
{ symlinkJoin, lib, makeWrapper, zathura_core, plugins ? [] }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pluginsPath = lib.makeLibraryPath plugins;
|
|
|
|
|
|
|
|
in symlinkJoin {
|
|
|
|
name = "zathura-with-plugins-${zathura_core.version}";
|
|
|
|
|
|
|
|
paths = [ zathura_core ];
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/zathura \
|
|
|
|
--add-flags --plugins-dir=${pluginsPath}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = https://pwmt.org/projects/zathura/;
|
2016-08-26 01:42:08 +01:00
|
|
|
description = "A highly customizable and functional PDF viewer";
|
|
|
|
longDescription = ''
|
|
|
|
Zathura is a highly customizable and functional PDF viewer based on the
|
|
|
|
poppler rendering library and the gtk+ toolkit. The idea behind zathura
|
|
|
|
is an application that provides a minimalistic and space saving interface
|
|
|
|
as well as an easy usage that mainly focuses on keyboard interaction.
|
|
|
|
'';
|
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers;[ garbas smironov ];
|
|
|
|
};
|
|
|
|
}
|