2008-01-25 14:33:26 +01:00
|
|
|
args : with args; let localDefs = builderDefs (args // rec {
|
2007-11-22 21:26:00 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
(abort "Specify source");
|
|
|
|
useConfig = true;
|
|
|
|
reqsList = [
|
|
|
|
["true" ]
|
|
|
|
["false"]
|
|
|
|
];
|
|
|
|
/* List consisiting of an even number of strings; "key" "value" */
|
|
|
|
configFlags = [
|
|
|
|
];
|
2008-03-04 00:32:50 +01:00
|
|
|
}) args null; /* null is a terminator for sumArgs */
|
2008-01-18 13:36:56 +01:00
|
|
|
in with localDefs;
|
2007-11-22 21:26:00 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${(abort "Specify name")}"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [(abort "Check phases") doMakeInstall doForceShare doPropagate]);
|
2007-11-22 21:26:00 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
${(abort "Specify description")}
|
|
|
|
";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2007-11-22 21:26:00 +01:00
|
|
|
};
|
|
|
|
}
|