2010-04-01 14:34:50 +02:00
|
|
|
{ stdenv, fetchurl, lib, config, libjpeg, libtiff, libpng, ghostscript
|
|
|
|
, 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 ] ++
|
|
|
|
(if config "qt3" true then [qt3 libX11 x11 mesa] else []);
|
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
|
|
|
};
|
|
|
|
}
|