2012-05-14 22:43:46 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, djvulibre, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-11-25 17:55:54 +00:00
|
|
|
name = "zathura-djvu-0.2.1";
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2012-11-25 17:55:54 +00:00
|
|
|
sha256 = "d8bb3c9e30244a0733e49740ee2dd099ce39fa16f2c320af27a0c09d9a25bcc3";
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig djvulibre gettext zathura_core gtk girara ];
|
|
|
|
|
|
|
|
patches = [ ./gtkflags.patch ];
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
|
|
|
|
|
|
|
|
meta = {
|
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 = ''
|
|
|
|
The zathura-djvu plugin adds DjVu support to zathura by using the
|
|
|
|
djvulibre library.
|
|
|
|
'';
|
2013-02-23 10:39:32 +00:00
|
|
|
license = stdenv.lib.licenses.zlib;
|
2012-05-14 22:43:46 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-02-23 10:39:32 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|