2010-04-10 22:26:54 +02:00
|
|
|
{ stdenv, fetchurl, lib, useQt3 ? true, 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
|
|
|
|
2007-07-01 22:11:32 +02:00
|
|
|
stdenv.mkDerivation {
|
2009-09-10 15:04:14 +02:00
|
|
|
name = "djvulibre-3.5.22";
|
2007-07-01 22:11:32 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-09-10 15:04:14 +02:00
|
|
|
url = mirror://sourceforge/djvu/djvulibre-3.5.22.tar.gz;
|
|
|
|
sha256 = "1gphi67qiq1ky7k8vymkwcgla80cwy8smk1rla6grxdqipwl54ix";
|
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
|
|
|
};
|
|
|
|
}
|