summary refs log tree commit diff
path: root/pkgs/build-support/builder-defs/template-composing-builder.nix
blob: 979df800008ed24f2fd430da6f9c8c6bad5d4c94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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")
    ];
  };
}