nixpkgs/pkgs/top-level/template-composing-builder.nix

24 lines
446 B
Nix
Raw Normal View History

a :
let
fetchurl = a.fetchurl;
version = a.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"}";
};
}