2013-06-26 16:48:45 +02:00
|
|
|
{stdenv, fetchurl, libpng, libtiff, libjpeg, zlib}:
|
2011-04-24 20:16:51 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-18 16:19:08 +01:00
|
|
|
name = "leptonica-1.69";
|
2013-06-25 09:17:34 +02:00
|
|
|
|
2011-04-24 20:16:51 +02:00
|
|
|
src = fetchurl {
|
2013-12-18 16:19:08 +01:00
|
|
|
url = http://www.leptonica.org/source/leptonica-1.69.tar.gz;
|
|
|
|
sha256 = "0bd7w0zpmwwfn1cnrlyzjw3jf8x59r0rhdmvk7rigr57rnfnddry";
|
2011-04-24 20:16:51 +02:00
|
|
|
};
|
|
|
|
|
2013-06-26 16:48:45 +02:00
|
|
|
buildInputs = [ libpng libtiff libjpeg zlib ];
|
2011-04-24 20:16:51 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Image processing and analysis library";
|
|
|
|
homepage = http://www.leptonica.org/;
|
|
|
|
# Its own license: http://www.leptonica.org/about-the-license.html
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.free;
|
2011-04-24 20:16:51 +02:00
|
|
|
};
|
|
|
|
}
|