mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
20 lines
426 B
Nix
20 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
|