2012-05-14 23:43:46 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, djvulibre, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-11-25 18:55:54 +01:00
|
|
|
name = "zathura-djvu-0.2.1";
|
2012-05-14 23:43:46 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2012-11-25 18:55:54 +01:00
|
|
|
sha256 = "d8bb3c9e30244a0733e49740ee2dd099ce39fa16f2c320af27a0c09d9a25bcc3";
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
2013-02-23 11:39:32 +01:00
|
|
|
license = stdenv.lib.licenses.zlib;
|
2012-05-14 23:43:46 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-02-23 11:39:32 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|