nixpkgs-suyu/pkgs/applications/misc/djvulibre/default.nix
Yury G. Kudryashov 80d21cb05b Fix djvulibre compilation
Also remove djview3. Use djview4 instead.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31307
2012-01-05 09:54:46 +00:00

21 lines
629 B
Nix

{ stdenv, fetchurl, libjpeg, libtiff, libpng, ghostscript, libungif, zlib }:
stdenv.mkDerivation rec {
name = "djvulibre-3.5.24";
src = fetchurl {
url = "mirror://sourceforge/djvu/${name}.tar.gz";
sha256 = "0d1592cmc7scg2jzah47mnvbqldhxb1x9vxm7y64a3iasa0lqwy0";
};
buildInputs = [ libjpeg libtiff libpng ghostscript zlib libungif ];
patches = [ ./gcc-4.6.patch ];
meta = {
description = "A library and viewer for the DJVU file format for scanned images";
homepage = http://djvu.sourceforge.net;
maintainers = [ stdenv.lib.maintainers.urkud ];
platforms = stdenv.lib.platforms.all;
};
}