mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
a8db1746a5
svn path=/nixpkgs/trunk/; revision=9601
17 lines
440 B
Nix
17 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"}
|
|
";
|
|
};
|
|
}
|