2010-07-05 13:09:38 +02:00
|
|
|
{ stdenv, fetchurl, lib, useQt3 ? false, libjpeg, libtiff, libpng, ghostscript
|
2010-04-01 14:34:50 +02:00
|
|
|
, libungif, zlib, x11, libX11, mesa, qt3 }:
|
2009-03-03 14:27:40 +01:00
|
|
|
|
2011-07-11 16:29:27 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "djvulibre-3.5.24";
|
2007-07-01 22:11:32 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-07-11 16:29:27 +02:00
|
|
|
url = "mirror://sourceforge/djvu/${name}.tar.gz";
|
|
|
|
sha256 = "0d1592cmc7scg2jzah47mnvbqldhxb1x9vxm7y64a3iasa0lqwy0";
|
2007-07-01 22:11:32 +02:00
|
|
|
};
|
|
|
|
|
2010-04-01 14:34:50 +02:00
|
|
|
buildInputs = [ libjpeg libtiff libpng ghostscript zlib libungif ] ++
|
2010-04-10 22:26:54 +02:00
|
|
|
stdenv.lib.optionals useQt3 [qt3 libX11 x11 mesa];
|
2007-07-01 22:11:32 +02:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A library and viewer for the DJVU file format for scanned images";
|
2008-01-30 20:49:42 +01:00
|
|
|
homepage = http://djvu.sourceforge.net;
|
2010-04-01 14:34:50 +02:00
|
|
|
maintainers = [ lib.maintainers.urkud ];
|
2007-07-01 22:11:32 +02:00
|
|
|
};
|
|
|
|
}
|