mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 17:25:11 +00:00
6aff4d5ee5
girara -> 0.1.9 zathura-core -> 0.2.5 zathura-djvu -> 0.2.3 zathura-pdf-poppler -> 0.2.4 zathura-ps -> 0.2.2
52 lines
1.3 KiB
Nix
52 lines
1.3 KiB
Nix
{ callPackage, pkgs, fetchurl }:
|
|
|
|
rec {
|
|
inherit (pkgs) stdenv;
|
|
|
|
zathura_core = callPackage ./core {
|
|
gtk = pkgs.gtk3;
|
|
};
|
|
|
|
zathura_pdf_poppler = callPackage ./pdf-poppler { };
|
|
|
|
zathura_djvu = callPackage ./djvu {
|
|
gtk = pkgs.gtk3;
|
|
};
|
|
|
|
zathura_ps = callPackage ./ps {
|
|
gtk = pkgs.gtk3;
|
|
};
|
|
|
|
zathuraWrapper = stdenv.mkDerivation {
|
|
|
|
inherit zathura_core;
|
|
|
|
name = "zathura-${zathura_core.version}";
|
|
|
|
plugins_path = stdenv.lib.makeSearchPath "lib" [
|
|
zathura_pdf_poppler
|
|
zathura_djvu
|
|
zathura_ps
|
|
];
|
|
|
|
icon = ./icon.xpm;
|
|
|
|
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 = stdenv.lib.licenses.zlib;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.smironov ];
|
|
};
|
|
};
|
|
}
|
|
|