da57804fff
svn path=/nixpkgs/branches/stdenv-updates/; revision=10267
24 lines
622 B
Nix
24 lines
622 B
Nix
args : with args; let localDefs = builderDefs (args // {
|
|
src = /* put a fetchurl here */
|
|
(abort "Specify source");
|
|
useConfig = true;
|
|
reqsList = [
|
|
["true" ]
|
|
["false"]
|
|
];
|
|
/* List consisiting of an even number of strings; "key" "value" */
|
|
configFlags = [
|
|
];
|
|
}) null; /* null is a terminator for sumArgs */
|
|
in with localDefs;
|
|
stdenv.mkDerivation rec {
|
|
name = "${(abort "Specify name")}"+version;
|
|
builder = writeScript (name + "-builder")
|
|
(textClosure localDefs [(abort "Check phases") doMakeInstall doForceShare doPropagate]);
|
|
meta = {
|
|
description = "
|
|
${(abort "Specify description")}
|
|
";
|
|
};
|
|
}
|