2008-01-25 14:33:26 +01:00
|
|
|
args : with args; let localDefs = builderDefs (args // rec {
|
2008-07-23 15:40:03 +02: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 21:26:00 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2008-07-23 15:40:03 +02: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 21:26:00 +01:00
|
|
|
}
|