Author: ludo
Date: Fri Jan 14 21:44:43 2011
New Revision: 25572
URL: https://svn.nixos.org/websvn/nix/?rev=25572&sc=1
Log:
Add GNU Ocrad.
Added:
nixpkgs/trunk/pkgs/applications/graphics/ocrad/
nixpkgs/trunk/pkgs/applications/graphics/ocrad/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/applications/graphics/ocrad/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/graphics/ocrad/default.nix Fri Jan 14
21:44:43 2011 (r25572)
@@ -0,0 +1,34 @@
+{ fetchurl, stdenv }:
+
+stdenv.mkDerivation rec {
+ name = "ocrad-0.21";
+
+ src = fetchurl {
+ url = "mirror://gnu/ocrad/${name}.tar.gz";
+ sha256 = "1k58ha70r0cqahssx67hfgyzia9ymf691yay06n7nrkbklii3isf";
+ };
+
+ doCheck = true;
+
+ meta = {
+ description = "GNU Ocrad, optical character recognition (OCR) program &
library";
+
+ longDescription =
+ '' GNU Ocrad is an OCR (Optical Character Recognition) program based on
+ a feature extraction method. It reads images in pbm (bitmap), pgm
+ (greyscale) or ppm (color) formats and produces text in byte (8-bit)
+ or UTF-8 formats.
+
+ Also includes a layout analyser able to separate the columns or
+ blocks of text normally found on printed pages.
+
+ Ocrad can be used as a stand-alone console application, or as a
+ backend to other programs.
+ '';
+
+ license = "GPLv3+";
+
+ maintainers = [ stdenv.lib.maintainers.ludo ];
+ platforms = stdenv.lib.platforms.gnu; # arbitrary choice
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Fri Jan 14 20:23:32
2011 (r25571)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Fri Jan 14 21:44:43
2011 (r25572)
@@ -6364,6 +6364,8 @@
nvi = callPackage ../applications/editors/nvi { };
+ ocrad = callPackage ../applications/graphics/ocrad { };
+
openbox = callPackage ../applications/window-managers/openbox { };
openjump = callPackage ../applications/misc/openjump { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits