fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
46 lines
928 B
Nix
46 lines
928 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
zathura_core,
|
|
girara,
|
|
poppler,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zathura-pdf-poppler";
|
|
version = "0.3.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
|
hash = "sha256-cavu1RzR0YjO89vUwWR1jjw3FgR1aWeyOtF2rlNFMBE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
zathura_core
|
|
];
|
|
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;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|