nixpkgs/pkgs/build-support/builder-defs/template-composing-builder.nix
Michael Raskin b69be987c0 Added setuid-ready chroot utility.
svn path=/nixpkgs/trunk/; revision=16331
2009-07-12 08:10:51 +00:00

26 lines
529 B
Nix

a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["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"}";
maintainers = [
a.lib.maintainers.(abort "Specify maintainer")
];
};
}