2012-05-14 21:43:46 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, zathura_core, girara, poppler, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-11-23 14:19:54 +00:00
|
|
|
version = "0.2.4";
|
2013-02-23 10:39:32 +00:00
|
|
|
name = "zathura-pdf-poppler-${version}";
|
2012-05-14 21:43:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2013-11-23 14:19:54 +00:00
|
|
|
sha256 = "1x1n21naixb87g1knznjfjfibazzwbn1cv7d42kxgwlnf1p1wbzm";
|
2012-05-14 21:43:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig poppler gettext zathura_core girara ];
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
|
|
|
|
|
|
|
|
meta = {
|
2012-08-16 14:33:25 +00:00
|
|
|
homepage = http://pwmt.org/projects/zathura/;
|
2012-05-14 21:43:46 +00:00
|
|
|
description = "A zathura PDF plugin";
|
|
|
|
longDescription = ''
|
|
|
|
The zathura-pdf-poppler plugin adds PDF support to zathura by
|
|
|
|
using the poppler rendering engine.
|
|
|
|
'';
|
2013-02-23 10:39:32 +00:00
|
|
|
license = stdenv.lib.licenses.zlib;
|
2012-05-14 21:43:46 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-02-23 10:39:32 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2012-05-14 21:43:46 +00:00
|
|
|
};
|
|
|
|
}
|