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