2021-01-17 02:09:27 +00:00
|
|
|
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gtk, zathura_core, girara, djvulibre, gettext }:
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-02-26 14:44:14 +00:00
|
|
|
pname = "zathura-djvu";
|
|
|
|
version = "0.2.9";
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-25 07:31:52 +00:00
|
|
|
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0062n236414db7q7pnn3ccg5111ghxj3407pn9ri08skxskgirln";
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ djvulibre gettext zathura_core gtk girara ];
|
2012-05-14 22:43:46 +01:00
|
|
|
|
2018-03-27 20:55:46 +01:00
|
|
|
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
2012-05-14 22:43:46 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-02-26 14:39:58 +00:00
|
|
|
homepage = "https://pwmt.org/projects/zathura-djvu/";
|
2012-05-14 22:43:46 +01:00
|
|
|
description = "A zathura DJVU plugin";
|
|
|
|
longDescription = ''
|
2016-08-26 01:42:08 +01:00
|
|
|
The zathura-djvu plugin adds DjVu support to zathura by using the
|
|
|
|
djvulibre library.
|
2012-05-14 22:43:46 +01:00
|
|
|
'';
|
2016-08-26 01:42:08 +01:00
|
|
|
license = licenses.zlib;
|
2018-02-14 19:52:15 +00:00
|
|
|
platforms = platforms.unix;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|