2007-11-09 14:54:02 +01:00
|
|
|
args : with args;
|
2008-08-19 07:54:09 +02:00
|
|
|
let localDefs = builderDefs.meta.function {
|
2007-11-09 14:54:02 +01: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 07:54:09 +02:00
|
|
|
};
|
2008-01-18 13:36:56 +01:00
|
|
|
in with localDefs;
|
2007-11-09 14:54:02 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gocr";
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
|
2007-11-09 14:54:02 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
GPL Optical Character Recognition
|
|
|
|
";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2007-11-09 14:54:02 +01:00
|
|
|
};
|
|
|
|
}
|