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