2013-06-26 15:48:45 +01:00
|
|
|
{stdenv, fetchurl, libpng, libtiff, libjpeg, zlib}:
|
2011-04-24 19:16:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-10-25 17:53:59 +00:00
|
|
|
name = "leptonica-1.72";
|
2013-06-25 08:17:34 +01:00
|
|
|
|
2011-04-24 19:16:51 +01:00
|
|
|
src = fetchurl {
|
2015-10-25 17:53:59 +00:00
|
|
|
url = http://www.leptonica.org/source/leptonica-1.72.tar.gz;
|
|
|
|
sha256 = "0mhzvqs0im04y1cpcc1yma70hgdac1frf33h73m9z3356bfymmbr";
|
2011-04-24 19:16:51 +01:00
|
|
|
};
|
|
|
|
|
2013-06-26 15:48:45 +01:00
|
|
|
buildInputs = [ libpng libtiff libjpeg zlib ];
|
2011-04-24 19:16:51 +01: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 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
2011-04-24 19:16:51 +01:00
|
|
|
};
|
|
|
|
}
|