summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/wa/waf/hook.nix
blob: 37757aec18888b1bae094a8455a515bd92f0ba01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ makeSetupHook
, waf
}:

makeSetupHook {
  name = "waf-setup-hook";

  substitutions = {
    # Sometimes the upstream provides its own waf file; in order to honor it,
    # waf is not inserted into propagatedBuildInputs, rather it is inserted
    # directly
    inherit waf;
  };

  meta = {
    description = "Setup hook for using Waf in Nixpkgs";
    inherit (waf.meta) maintainers platforms broken;
  };
} ./setup-hook.sh