nixpkgs/pkgs/applications/misc/zathura/djvu/default.nix
Sebastián Mancilla b5fae88643 zathura: 0.5.6 -> 0.5.8
Plugins are also updated to latest version.
2024-09-03 20:02:56 -04:00

56 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchurl,
meson,
ninja,
pkg-config,
gtk,
zathura_core,
girara,
djvulibre,
gettext,
desktop-file-utils,
appstream-glib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "zathura-djvu";
version = "0.2.10";
src = fetchurl {
url = "https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-${finalAttrs.version}.tar.xz";
hash = "sha256-MunYmSmnbNfT/Lr3n0QYaL2r7fFzF9HRhD+qHxkzjZU=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
desktop-file-utils
appstream-glib
];
buildInputs = [
djvulibre
gettext
zathura_core
gtk
girara
];
env.PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
meta = {
homepage = "https://pwmt.org/projects/zathura-djvu/";
description = "Zathura DJVU plugin";
longDescription = ''
The zathura-djvu plugin adds DjVu support to zathura by using the
djvulibre library.
'';
license = lib.licenses.zlib;
platforms = lib.platforms.unix;
maintainers = [ ];
};
})