nixpkgs/pkgs/applications/misc/djvulibre/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

24 lines
525 B
Nix

{stdenv, fetchurl,
qt, libX11, libjpeg, libtiff, libpng, ghostscript, zlib, libungif,
x11, mesa
}:
stdenv.mkDerivation {
name = "djvulibre-3.5.19";
src = fetchurl {
url = mirror://sourceforge/djvu/djvulibre-3.5.19.tar.gz;
sha256 = "0y6d9ka42llm7h64fc73s4wqcbxg31kallyfaarhkqsxyiaa3zsp";
};
buildInputs = [qt libX11 libjpeg libtiff libpng ghostscript zlib libungif
x11 mesa];
meta = {
description = "
DjVu libre - a library and a viewer for djvu format - compression for
scanned images.
";
};
}