2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
pkg-config,
|
|
|
|
gtk,
|
|
|
|
zathura_core,
|
|
|
|
girara,
|
|
|
|
djvulibre,
|
|
|
|
gettext,
|
2024-09-19 14:19:46 +00:00
|
|
|
desktop-file-utils,
|
|
|
|
appstream-glib,
|
2024-06-05 15:53:02 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "zathura-djvu";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.2.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-09-19 14:19:46 +00:00
|
|
|
url = "https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-${finalAttrs.version}.tar.xz";
|
|
|
|
hash = "sha256-MunYmSmnbNfT/Lr3n0QYaL2r7fFzF9HRhD+qHxkzjZU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2024-09-19 14:19:46 +00:00
|
|
|
desktop-file-utils
|
|
|
|
appstream-glib
|
2024-06-05 15:53:02 +00:00
|
|
|
];
|
2024-09-19 14:19:46 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
djvulibre
|
|
|
|
gettext
|
|
|
|
zathura_core
|
|
|
|
gtk
|
|
|
|
girara
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
env.PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://pwmt.org/projects/zathura-djvu/";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Zathura DJVU plugin";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
The zathura-djvu plugin adds DjVu support to zathura by using the
|
|
|
|
djvulibre library.
|
|
|
|
'';
|
2024-09-19 14:19:46 +00:00
|
|
|
license = lib.licenses.zlib;
|
|
|
|
platforms = lib.platforms.unix;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2024-09-19 14:19:46 +00:00
|
|
|
})
|