mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
a8db1746a5
svn path=/nixpkgs/trunk/; revision=9601
18 lines
440 B
Nix
18 lines
440 B
Nix
args : with args;
|
|
with builderDefs {
|
|
src = /* put a fetchurl here */
|
|
|
|
buildInputs = [];
|
|
configureFlags = [];
|
|
} null; /* null is a terminator for sumArgs */
|
|
stdenv.mkDerivation rec {
|
|
name = "${abort "Specify name"}";
|
|
builder = writeScript (name + "-builder")
|
|
(textClosure [(abort "Specify phases - defined here or in builderDefs") doForceShare doPropagate]);
|
|
meta = {
|
|
description = "
|
|
${abort "Write a description"}
|
|
";
|
|
};
|
|
}
|