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