2012-05-14 23:43:46 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, djvulibre, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "zathura-djvu-0.1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
|
|
|
sha256 = "04adad7bf1bb392eae4b7b856fe7d40a137f8185ac274289df922758ae827172";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig djvulibre gettext zathura_core gtk girara ];
|
|
|
|
|
|
|
|
patches = [ ./gtkflags.patch ];
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
|
|
|
|
|
|
|
|
meta = {
|
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 = ''
|
|
|
|
The zathura-djvu plugin adds DjVu support to zathura by using the
|
|
|
|
djvulibre library.
|
|
|
|
'';
|
|
|
|
license = "free";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|