2012-05-14 23:43:46 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, djvulibre, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-12-31 02:06:17 +01:00
|
|
|
name = "zathura-djvu-0.2.7";
|
2012-05-14 23:43:46 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2017-12-31 02:06:17 +01:00
|
|
|
sha256 = "1sbfdsyp50qc85xc4458sn4w1rv1qbygdwmcr5kjlfpsmdq98vhd";
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ djvulibre gettext zathura_core gtk girara ];
|
2012-05-14 23:43:46 +02:00
|
|
|
|
|
|
|
patches = [ ./gtkflags.patch ];
|
|
|
|
|
2016-08-26 02:42:08 +02:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "PLUGINDIR=$(out)/lib" ];
|
2012-05-14 23:43:46 +02:00
|
|
|
|
2016-08-26 02:42:08 +02:00
|
|
|
meta = with stdenv.lib; {
|
2012-08-16 16:33:25 +02:00
|
|
|
homepage = http://pwmt.org/projects/zathura/;
|
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;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ garbas ];
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|