2015-05-06 14:34:12 +00:00
|
|
|
{ stdenv, lib, fetchurl, pkgconfig, zathura_core, girara, poppler }:
|
2012-05-14 21:43:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-01 19:52:16 +00:00
|
|
|
version = "0.2.6";
|
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";
|
2016-03-01 19:52:16 +00:00
|
|
|
sha256 = "1maqiv7yv8d8hymlffa688c5z71v85kbzmx2j88i8z349xx0rsyi";
|
2012-05-14 21:43:46 +00:00
|
|
|
};
|
|
|
|
|
2014-05-17 12:16:50 +00:00
|
|
|
buildInputs = [ pkgconfig poppler zathura_core girara ];
|
2012-05-14 21:43:46 +00:00
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
|
|
|
|
|
2015-05-06 14:34:12 +00:00
|
|
|
meta = with lib; {
|
2012-08-16 14:33:25 +00:00
|
|
|
homepage = http://pwmt.org/projects/zathura/;
|
2014-05-17 12:16:50 +00:00
|
|
|
description = "A zathura PDF plugin (poppler)";
|
2012-05-14 21:43:46 +00:00
|
|
|
longDescription = ''
|
|
|
|
The zathura-pdf-poppler plugin adds PDF support to zathura by
|
2014-05-17 12:16:50 +00:00
|
|
|
using the poppler rendering library.
|
2012-05-14 21:43:46 +00:00
|
|
|
'';
|
2015-05-06 14:34:12 +00:00
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan garbas ];
|
2012-05-14 21:43:46 +00:00
|
|
|
};
|
|
|
|
}
|