nixpkgs/pkgs/applications/misc/zathura/pdf-poppler/default.nix
Deniz Koluaçık b232557c45
zathura: 0.4.9 -> 0.5.2
https://pwmt.org/projects/zathura/changelog/0.5.2/index.html
Zathura plugins are updated to the latest versions as well.
2022-11-30 14:33:04 +03:00

29 lines
893 B
Nix

{ stdenv, lib, fetchurl, meson, ninja, pkg-config, zathura_core, girara, poppler }:
stdenv.mkDerivation rec {
pname = "zathura-pdf-poppler";
version = "0.3.1";
src = fetchurl {
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
sha256 = "12qhkshpp1wjfpjmjccsyi6wscqyqvaa19j85prjpyf65i9jg0gf";
};
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; [ cstrahan ];
};
}