depot/third_party/nixpkgs/pkgs/applications/misc/zathura/djvu/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
878 B
Nix

{ stdenv, fetchurl, meson, ninja, pkgconfig, gtk, zathura_core, girara, djvulibre, gettext }:
stdenv.mkDerivation rec {
pname = "zathura-djvu";
version = "0.2.9";
src = fetchurl {
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
sha256 = "0062n236414db7q7pnn3ccg5111ghxj3407pn9ri08skxskgirln";
};
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ djvulibre gettext zathura_core gtk girara ];
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
meta = with stdenv.lib; {
homepage = "https://pwmt.org/projects/zathura-djvu/";
description = "A zathura DJVU plugin";
longDescription = ''
The zathura-djvu plugin adds DjVu support to zathura by using the
djvulibre library.
'';
license = licenses.zlib;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
}