nixpkgs/pkgs/top-level/template-composing-builder.nix
Michael Raskin d49a6f0641 Starting migrating old builderDefs packages to builderDefsPackage style.
svn path=/nixpkgs/trunk/; revision=13591
2008-12-04 21:01:26 +00:00

25 lines
459 B
Nix

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