2008-08-19 06:54:09 +01:00
|
|
|
args : with args; with builderDefs;
|
2008-11-04 21:24:10 +00:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2008-01-23 23:39:06 +00:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = ftp://ftp.chg.ru/mirrors/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/rlwrap-0.28.tar.gz;
|
|
|
|
sha256 = "07jzhcqzb8jsmsscc28dk4md7swnhn3vyai5fpxwdj6a1kbn4y3p";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [readline ];
|
|
|
|
configureFlags = [];
|
2008-08-19 06:54:09 +01:00
|
|
|
};
|
2008-01-23 23:39:06 +00:00
|
|
|
in with localDefs;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rlwrap-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs
|
|
|
|
[doConfigure doMakeInstall doForceShare doPropagate]);
|
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Readline wrapper for console programs.
|
|
|
|
";
|
2008-03-02 18:40:42 +00:00
|
|
|
inherit src;
|
2008-01-23 23:39:06 +00:00
|
|
|
};
|
|
|
|
}
|