2007-11-09 13:54:02 +00:00
|
|
|
args : with args;
|
2008-11-04 21:24:10 +00:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2007-11-09 13:54:02 +00:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://prdownloads.sourceforge.net/jocr/gocr-0.44.tar.gz;
|
|
|
|
sha256 = "0kvb7cbk6z5n4g0hhbwpdk2f3819yfamwsmkwanj99yhni6p5mr0";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [];
|
|
|
|
configureFlags = [];
|
2008-08-19 06:54:09 +01:00
|
|
|
};
|
2008-01-18 12:36:56 +00:00
|
|
|
in with localDefs;
|
2007-11-09 13:54:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gocr";
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 12:36:56 +00:00
|
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
|
2007-11-09 13:54:02 +00:00
|
|
|
meta = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "GPL Optical Character Recognition";
|
2008-03-02 18:49:31 +00:00
|
|
|
inherit src;
|
2007-11-09 13:54:02 +00:00
|
|
|
};
|
|
|
|
}
|