3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/zathura/djvu/default.nix

30 lines
871 B
Nix
Raw Normal View History

2018-03-27 20:55:46 +01:00
{ stdenv, fetchurl, meson, ninja, pkgconfig, gtk, zathura_core, girara, djvulibre, gettext }:
stdenv.mkDerivation rec {
2020-02-26 14:44:14 +00:00
pname = "zathura-djvu";
version = "0.2.9";
src = fetchurl {
2018-03-27 20:55:46 +01:00
url = "https://pwmt.org/projects/zathura/plugins/download/${name}.tar.xz";
2020-02-26 14:44:14 +00:00
sha256 = "0kl7k4lq97m80gninwm84l7cl2jpkpki59mhy2326xgshc9w0wqd";
};
2018-03-27 20:55:46 +01:00
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ djvulibre gettext zathura_core gtk girara ];
2018-03-27 20:55:46 +01:00
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
meta = with stdenv.lib; {
2018-03-27 20:55:46 +01:00
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;
2018-02-14 19:52:15 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
}