Adding the leptonica library of image processing and analysis.

svn path=/nixpkgs/trunk/; revision=26954
This commit is contained in:
Lluís Batlle i Rossell 2011-04-24 18:16:51 +00:00
parent 01cdfd58fc
commit bc88f37fcb
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{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";
};
}

View File

@ -3470,6 +3470,8 @@ let
levmar = callPackage ../development/libraries/levmar { }; levmar = callPackage ../development/libraries/levmar { };
leptonica = callPackage ../development/libraries/leptonica { };
lib3ds = callPackage ../development/libraries/lib3ds { }; lib3ds = callPackage ../development/libraries/lib3ds { };
libaal = callPackage ../development/libraries/libaal { }; libaal = callPackage ../development/libraries/libaal { };