2012-06-11 10:28:25 +00:00
|
|
|
{stdenv, fetchurl, libpng12, libtiff, libjpeg, zlib}:
|
2011-04-24 18:16:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "leptonica-1.68";
|
2013-06-25 07:17:34 +00:00
|
|
|
|
2011-04-24 18:16:51 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.leptonica.org/source/leptonica-1.68.tar.gz;
|
|
|
|
sha256 = "13qzm24zy46bj9b476jxzbw9qh7p96jikfzxg88kz4dj1p2vdvxc";
|
|
|
|
};
|
|
|
|
|
2012-06-11 10:28:25 +00:00
|
|
|
buildInputs = [ libpng12 libtiff libjpeg zlib ];
|
2011-04-24 18:16:51 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|