nixpkgs/pkgs/development/libraries/leptonica/default.nix
Florian Friesdorf 3133b57940 leptonica-1.68 needs older libpng12
no newer leptonica release available

svn path=/nixpkgs/trunk/; revision=34452
2012-06-11 10:28:25 +00:00

19 lines
530 B
Nix

{stdenv, fetchurl, libpng12, libtiff, libjpeg, zlib}:
stdenv.mkDerivation {
name = "leptonica-1.68";
src = fetchurl {
url = http://www.leptonica.org/source/leptonica-1.68.tar.gz;
sha256 = "13qzm24zy46bj9b476jxzbw9qh7p96jikfzxg88kz4dj1p2vdvxc";
};
buildInputs = [ libpng12 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 = "free";
};
}