2018-03-27 21:45:31 +02:00
|
|
|
{ stdenv, lib, fetchurl, meson, ninja, pkgconfig, zathura_core, girara, poppler }:
|
2012-05-14 23:43:46 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-27 21:45:31 +02:00
|
|
|
version = "0.2.9";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "zathura-pdf-poppler";
|
2012-05-14 23:43:46 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://git.pwmt.org/pwmt/zathura-pdf-poppler/-/archive/${version}/${pname}-${version}.tar.gz";
|
2019-07-05 01:28:59 +02:00
|
|
|
sha256 = "0c15rnwh42m3ybrhax01bl36w0iynaq8xg6l08riml3cyljypi9l";
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
|
2018-03-27 21:45:31 +02:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig zathura_core ];
|
2018-02-14 20:52:15 +01:00
|
|
|
buildInputs = [ poppler girara ];
|
2012-05-14 23:43:46 +02:00
|
|
|
|
2018-03-27 21:45:31 +02:00
|
|
|
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
2018-02-14 20:52:15 +01:00
|
|
|
|
2015-05-06 16:34:12 +02:00
|
|
|
meta = with lib; {
|
2018-03-27 21:45:31 +02:00
|
|
|
homepage = https://pwmt.org/projects/zathura-pdf-poppler/;
|
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;
|
2018-02-14 20:52:15 +01:00
|
|
|
platforms = platforms.unix;
|
2019-07-03 11:27:39 +02:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
}
|