nixpkgs/pkgs/development/libraries/leptonica/default.nix
Lluís Batlle i Rossell bc88f37fcb Adding the leptonica library of image processing and analysis.
svn path=/nixpkgs/trunk/; revision=26954
2011-04-24 18:16:51 +00:00

20 lines
526 B
Nix

{stdenv, fetchurl, libpng, libtiff, libjpeg, zlib}:
stdenv.mkDerivation {
name = "leptonica-1.68";
src = fetchurl {
url = http://www.leptonica.org/source/leptonica-1.68.tar.gz;
sha256 = "13qzm24zy46bj9b476jxzbw9qh7p96jikfzxg88kz4dj1p2vdvxc";
};
buildInputs = [ libpng libtiff libjpeg zlib ];
meta = {
description = "Image processing and analysis library";
homepage = http://www.leptonica.org/;
# Its own license: http://www.leptonica.org/about-the-license.html
license = "free";
};
}