2013-02-27 22:36:25 +00:00
|
|
|
{ callPackage, pkgs, fetchurl }:
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
rec {
|
|
|
|
inherit (pkgs) stdenv;
|
|
|
|
|
2013-11-23 14:19:54 +00:00
|
|
|
zathura_core = callPackage ./core {
|
|
|
|
gtk = pkgs.gtk3;
|
|
|
|
};
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
zathura_pdf_poppler = callPackage ./pdf-poppler { };
|
|
|
|
|
2013-11-23 14:19:54 +00:00
|
|
|
zathura_djvu = callPackage ./djvu {
|
|
|
|
gtk = pkgs.gtk3;
|
|
|
|
};
|
2012-05-14 22:43:46 +01:00
|
|
|
|
2013-11-23 14:19:54 +00:00
|
|
|
zathura_ps = callPackage ./ps {
|
|
|
|
gtk = pkgs.gtk3;
|
|
|
|
};
|
2012-05-14 22:43:46 +01:00
|
|
|
|
2013-02-27 22:36:25 +00:00
|
|
|
zathuraWrapper = stdenv.mkDerivation {
|
|
|
|
|
|
|
|
inherit zathura_core;
|
2012-05-14 22:43:46 +01:00
|
|
|
|
2012-11-25 17:55:54 +00:00
|
|
|
name = "zathura-${zathura_core.version}";
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
plugins_path = stdenv.lib.makeSearchPath "lib" [
|
|
|
|
zathura_pdf_poppler
|
|
|
|
zathura_djvu
|
|
|
|
zathura_ps
|
|
|
|
];
|
|
|
|
|
2013-02-27 22:36:25 +00:00
|
|
|
icon = ./icon.xpm;
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
meta = {
|
2012-08-16 15:33:25 +01:00
|
|
|
homepage = http://pwmt.org/projects/zathura/;
|
2012-05-14 22:43:46 +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.
|
|
|
|
'';
|
2013-02-23 10:39:32 +00:00
|
|
|
license = stdenv.lib.licenses.zlib;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-02-27 12:26:08 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.smironov ];
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
2010-05-29 22:15:13 +01:00
|
|
|
};
|
|
|
|
}
|
2012-05-14 22:43:46 +01:00
|
|
|
|