summary refs log tree commit diff
path: root/pkgs/development/libraries/leptonica
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-04-24 18:16:51 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-04-24 18:16:51 +0000
commitbc88f37fcbb91c243eb70f4360b3d88821967722 (patch)
treea1f20669443649ef370b05124ecedaeaad1a7703 /pkgs/development/libraries/leptonica
parent01cdfd58fca110d2783e36f573a438fe8997f8f9 (diff)
downloadnixpkgs-bc88f37fcbb91c243eb70f4360b3d88821967722.tar
nixpkgs-bc88f37fcbb91c243eb70f4360b3d88821967722.tar.gz
nixpkgs-bc88f37fcbb91c243eb70f4360b3d88821967722.tar.bz2
nixpkgs-bc88f37fcbb91c243eb70f4360b3d88821967722.tar.lz
nixpkgs-bc88f37fcbb91c243eb70f4360b3d88821967722.tar.xz
nixpkgs-bc88f37fcbb91c243eb70f4360b3d88821967722.tar.zst
nixpkgs-bc88f37fcbb91c243eb70f4360b3d88821967722.zip
Adding the leptonica library of image processing and analysis.
svn path=/nixpkgs/trunk/; revision=26954
Diffstat (limited to 'pkgs/development/libraries/leptonica')
-rw-r--r--pkgs/development/libraries/leptonica/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/libraries/leptonica/default.nix b/pkgs/development/libraries/leptonica/default.nix
new file mode 100644
index 00000000000..e5229961b80
--- /dev/null
+++ b/pkgs/development/libraries/leptonica/default.nix
@@ -0,0 +1,19 @@
+{stdenv, fetchurl, libpng, 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 = [ 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 = "free";
+  };
+}