2013-05-09 12:58:08 +01:00
|
|
|
{ stdenv, fetchurl, libjpeg, libtiff, libpng, ghostscript, libungif, zlib }:
|
2009-03-03 13:27:40 +00:00
|
|
|
|
2011-07-11 15:29:27 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-05-09 12:58:08 +01:00
|
|
|
name = "djvulibre-3.5.24";
|
2007-07-01 21:11:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-07-11 15:29:27 +01:00
|
|
|
url = "mirror://sourceforge/djvu/${name}.tar.gz";
|
2013-05-09 12:58:08 +01:00
|
|
|
sha256 = "0d1592cmc7scg2jzah47mnvbqldhxb1x9vxm7y64a3iasa0lqwy0";
|
2007-07-01 21:11:32 +01:00
|
|
|
};
|
|
|
|
|
2013-05-09 12:58:08 +01:00
|
|
|
buildInputs = [ libjpeg libtiff libpng ghostscript zlib libungif ];
|
|
|
|
|
|
|
|
patches = [ ./gcc-4.6.patch ];
|
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;
|
2012-01-05 09:54:46 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2007-07-01 21:11:32 +01:00
|
|
|
};
|
|
|
|
}
|