2018-03-27 20:45:31 +01:00
|
|
|
{ stdenv, lib, fetchurl, meson, ninja, pkgconfig, zathura_core, girara, poppler }:
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "zathura-pdf-poppler";
|
2020-02-26 14:44:53 +00:00
|
|
|
version = "0.3.0";
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-25 07:31:52 +00:00
|
|
|
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1vfl4vkyy3rf39r1sqaa7y8113bgkh2bkfq3nn2inis9mrykmk6m";
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
|
2018-03-27 20:45:31 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig zathura_core ];
|
2018-02-14 19:52:15 +00:00
|
|
|
buildInputs = [ poppler girara ];
|
2012-05-14 22:43:46 +01:00
|
|
|
|
2018-03-27 20:45:31 +01:00
|
|
|
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
2018-02-14 19:52:15 +00:00
|
|
|
|
2015-05-06 15:34:12 +01:00
|
|
|
meta = with lib; {
|
2020-02-26 14:39:58 +00:00
|
|
|
homepage = "https://pwmt.org/projects/zathura-pdf-poppler/";
|
2014-05-17 13:16:50 +01:00
|
|
|
description = "A zathura PDF plugin (poppler)";
|
2012-05-14 22:43:46 +01:00
|
|
|
longDescription = ''
|
2017-12-31 01:02:24 +00:00
|
|
|
The zathura-pdf-poppler plugin adds PDF support to zathura by
|
2014-05-17 13:16:50 +01:00
|
|
|
using the poppler rendering library.
|
2012-05-14 22:43:46 +01:00
|
|
|
'';
|
2015-05-06 15:34:12 +01:00
|
|
|
license = licenses.zlib;
|
2018-02-14 19:52:15 +00:00
|
|
|
platforms = platforms.unix;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
}
|