2012-05-14 22:43:46 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, zathura_core, girara, poppler, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-23 10:39:32 +00:00
|
|
|
version = "0.2.2";
|
|
|
|
name = "zathura-pdf-poppler-${version}";
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2013-02-23 10:39:32 +00:00
|
|
|
sha256 = "0px59f0bnmb9992n3c9iyzcwd6w7vg8ga069vc8qj4726ljml4c7";
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig poppler gettext zathura_core girara ];
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
|
|
|
|
|
|
|
|
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 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 22:43:46 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-02-23 10:39:32 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
}
|