1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/top-level/template-composing-builder.nix

17 lines
375 B
Nix
Raw Normal View History

args : with args;
let version = lib.getAttr ["version"] "" args; in
rec {
src = /* Here a fetchurl expression goes */;
buildInputs = [];
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doMakeInstall"];
name = "${abort "Specify name"}" + version;
meta = {
description = "${abort "Specify description"}";
};
}