depot/third_party/nixpkgs/pkgs/by-name/wa/waf/hook.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

19 lines
426 B
Nix

{ 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