summary refs log tree commit diff
path: root/pkgs/applications/graphics/gocr/0.44.nix
blob: 544c3b238d010200767c73fcf74228c6d1c38eed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
args : with args;
	let localDefs = builderDefs {
		src = /* put a fetchurl here */
fetchurl {
		url = http://prdownloads.sourceforge.net/jocr/gocr-0.44.tar.gz;
		sha256 = "0kvb7cbk6z5n4g0hhbwpdk2f3819yfamwsmkwanj99yhni6p5mr0";
	};

		buildInputs = [];
		configureFlags = [];
	} null; /* null is a terminator for sumArgs */
	in with localDefs;
stdenv.mkDerivation rec {
	name = "gocr";
	builder = writeScript (name + "-builder")
		(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
	meta = {
		description = "
		GPL Optical Character Recognition
";
		inherit src;
	};
}