depot/third_party/nixpkgs/pkgs/applications/misc/zathura/pdf-poppler/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

46 lines
926 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 = "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; [ ];
};
}