2012-05-14 22:43:46 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, djvulibre, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-01 19:49:27 +00:00
|
|
|
name = "zathura-djvu-0.2.5";
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2016-03-01 19:49:27 +00:00
|
|
|
sha256 = "03cw54d2fipvbrnbqy0xccqkx6s77dyhyymx479aj5ryy4513dq8";
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig djvulibre gettext zathura_core gtk girara ];
|
|
|
|
|
|
|
|
patches = [ ./gtkflags.patch ];
|
|
|
|
|
2016-08-26 01:42:08 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "PLUGINDIR=$(out)/lib" ];
|
2012-05-14 22:43:46 +01:00
|
|
|
|
2016-08-26 01:42:08 +01:00
|
|
|
meta = with stdenv.lib; {
|
2012-08-16 15:33:25 +01:00
|
|
|
homepage = http://pwmt.org/projects/zathura/;
|
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;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ garbas ];
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|