2008-08-19 09:54:09 +04:00
|
|
|
args : with args; with builderDefs;
|
2008-11-05 00:24:10 +03:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2008-01-24 02:39:06 +03: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 09:54:09 +04:00
|
|
|
};
|
2008-01-24 02:39:06 +03:00
|
|
|
in with localDefs;
|
|
|
|
stdenv.mkDerivation rec {
|
2009-11-18 12:39:59 +03:00
|
|
|
name = "rlwrap-0.28";
|
2008-01-24 02:39:06 +03:00
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs
|
|
|
|
[doConfigure doMakeInstall doForceShare doPropagate]);
|
|
|
|
meta = {
|
2009-03-03 16:27:40 +03:00
|
|
|
description = "Readline wrapper for console programs";
|
2008-03-02 21:40:42 +03:00
|
|
|
inherit src;
|
2008-01-24 02:39:06 +03:00
|
|
|
};
|
|
|
|
}
|