2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv, lib, fetchurl, meson, ninja, pkg-config, zathura_core, girara, poppler }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zathura-pdf-poppler";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.3.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
2024-02-29 20:09:43 +00:00
|
|
|
sha256 = "049h8m9swxni7ar6fsbm0hb3fg4ffmjc3m6vyg78ilfi3kayxavi";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config zathura_core ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ poppler girara ];
|
|
|
|
|
|
|
|
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://pwmt.org/projects/zathura-pdf-poppler/";
|
|
|
|
description = "A zathura PDF plugin (poppler)";
|
|
|
|
longDescription = ''
|
|
|
|
The zathura-pdf-poppler plugin adds PDF support to zathura by
|
|
|
|
using the poppler rendering library.
|
|
|
|
'';
|
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.unix;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|