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