nixpkgs/pkgs/development/libraries/leptonica/default.nix

20 lines
542 B
Nix
Raw Normal View History

{stdenv, fetchurl, libpng, libtiff, libjpeg, zlib}:
stdenv.mkDerivation {
2015-10-25 20:53:59 +03:00
name = "leptonica-1.72";
2013-06-25 11:17:34 +04:00
src = fetchurl {
2015-10-25 20:53:59 +03:00
url = http://www.leptonica.org/source/leptonica-1.72.tar.gz;
sha256 = "0mhzvqs0im04y1cpcc1yma70hgdac1frf33h73m9z3356bfymmbr";
};
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 = stdenv.lib.licenses.free;
};
}