2008-01-25 13:33:26 +00:00
|
|
|
args : with args; let localDefs = builderDefs (args // rec {
|
2008-07-23 13:40:03 +00: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 = [
|
|
|
|
];
|
|
|
|
}) args null; /* null is a terminator for sumArgs */
|
|
|
|
in with localDefs;
|
2007-11-22 20:26:00 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2008-07-23 13:40:03 +00:00
|
|
|
name = "${(abort "Specify name")}"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs [(abort "Check phases") doMakeInstall doForceShare doPropagate]);
|
|
|
|
meta = {
|
|
|
|
description = "${(abort "Specify description")}";
|
|
|
|
inherit src;
|
|
|
|
};
|
2007-11-22 20:26:00 +00:00
|
|
|
}
|