mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
5f2bcdbdb6
svn path=/nixpkgs/trunk/; revision=11235
19 lines
539 B
Nix
19 lines
539 B
Nix
args : with args; with builderDefs null;
|
|
let localDefs = builderDefs (rec {
|
|
src = /* put a fetchurl here */
|
|
|
|
buildInputs = [];
|
|
configureFlags = [];
|
|
}) args 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 "Specify phases - defined here or in builderDefs") doForceShare doPropagate]);
|
|
meta = {
|
|
description = "${abort "Write a description"}";
|
|
inherit src;
|
|
};
|
|
}
|