summary refs log tree commit diff
path: root/pkgs/applications/misc/zathura/default.nix
blob: b5ba4f9ada753e3f77b77e7b7b7878a07d787762 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ callPackage, pkgs }:

rec {
  inherit (pkgs) stdenv;

  zathura_core = callPackage ./core { };

  zathura_pdf_poppler = callPackage ./pdf-poppler { };

  zathura_djvu = callPackage ./djvu { };

  zathura_ps = callPackage ./ps { };

  zathuraWrapper = stdenv.mkDerivation rec {

    name = "zathura-0.1.2";

    plugins_path = stdenv.lib.makeSearchPath "lib" [
      zathura_pdf_poppler
      zathura_djvu
      zathura_ps
    ];

    zathura = "${zathura_core}/bin/zathura";

    builder = ./builder.sh;

    meta = {
      homepage = http://pwmt.org/projects/zathura/;
      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 = "free";
    };
  };
}