anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / misc / zathura / djvu / default.nix
blob87ac40d1b20457981f13e214bc335b7c3e0a549b
2   lib,
3   stdenv,
4   fetchurl,
5   meson,
6   ninja,
7   pkg-config,
8   gtk,
9   zathura_core,
10   girara,
11   djvulibre,
12   gettext,
13   desktop-file-utils,
14   appstream-glib,
17 stdenv.mkDerivation (finalAttrs: {
18   pname = "zathura-djvu";
19   version = "0.2.10";
21   src = fetchurl {
22     url = "https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-${finalAttrs.version}.tar.xz";
23     hash = "sha256-MunYmSmnbNfT/Lr3n0QYaL2r7fFzF9HRhD+qHxkzjZU=";
24   };
26   nativeBuildInputs = [
27     meson
28     ninja
29     pkg-config
30     desktop-file-utils
31     appstream-glib
32   ];
34   buildInputs = [
35     djvulibre
36     gettext
37     zathura_core
38     gtk
39     girara
40   ];
42   env.PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
44   meta = {
45     homepage = "https://pwmt.org/projects/zathura-djvu/";
46     description = "Zathura DJVU plugin";
47     longDescription = ''
48       The zathura-djvu plugin adds DjVu support to zathura by using the
49       djvulibre library.
50     '';
51     license = lib.licenses.zlib;
52     platforms = lib.platforms.unix;
53     maintainers = [ ];
54   };