2015-05-06 16:34:12 +02:00
|
|
|
{ stdenv, lib, fetchurl, pkgconfig, zathura_core, girara, poppler }:
|
2012-05-14 23:43:46 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-12-31 02:02:24 +01:00
|
|
|
version = "0.2.8";
|
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";
|
2017-12-31 02:02:24 +01:00
|
|
|
sha256 = "1m55m7s7f8ng8a7lmcw9z4n5zv7xk4vp9n6fp9j84z6rk2imf7a2";
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ poppler zathura_core girara ];
|
2012-05-14 23:43:46 +02:00
|
|
|
|
2016-08-26 02:42:08 +02:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "PLUGINDIR=$(out)/lib" ];
|
2012-05-14 23:43:46 +02:00
|
|
|
|
2015-05-06 16:34:12 +02:00
|
|
|
meta = with lib; {
|
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 = ''
|
2017-12-31 02:02:24 +01:00
|
|
|
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
|
|
|
'';
|
2015-05-06 16:34:12 +02:00
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan garbas ];
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
}
|