nixpkgs/pkgs/applications/misc/djvulibre/default.nix
Yury G. Kudryashov a10b45e604 Don't build djview3 by default, let hydra build djview4
svn path=/nixpkgs/trunk/; revision=22474
2010-07-05 11:09:38 +00:00

21 lines
652 B
Nix

{ stdenv, fetchurl, lib, useQt3 ? false, libjpeg, libtiff, libpng, ghostscript
, libungif, zlib, x11, libX11, mesa, qt3 }:
stdenv.mkDerivation {
name = "djvulibre-3.5.22";
src = fetchurl {
url = mirror://sourceforge/djvu/djvulibre-3.5.22.tar.gz;
sha256 = "1gphi67qiq1ky7k8vymkwcgla80cwy8smk1rla6grxdqipwl54ix";
};
buildInputs = [ libjpeg libtiff libpng ghostscript zlib libungif ] ++
stdenv.lib.optionals useQt3 [qt3 libX11 x11 mesa];
meta = {
description = "A library and viewer for the DJVU file format for scanned images";
homepage = http://djvu.sourceforge.net;
maintainers = [ lib.maintainers.urkud ];
};
}