summary refs log tree commit diff
path: root/pkgs/development/libraries/leptonica/default.nix
blob: 270403cbb74e4a44d6447a7f2b912ad98927e1ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{stdenv, fetchurl, libpng, libtiff, libjpeg, zlib}:

stdenv.mkDerivation {
  name = "leptonica-1.72";

  src = fetchurl {
    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;
  };
}