treewide: set meta.license on hooks

This commit is contained in:
Sigmanificient
2026-05-16 02:57:04 +02:00
parent 70df9fb258
commit 0bbc8dffae
90 changed files with 328 additions and 55 deletions
@@ -1,5 +1,6 @@
# Hooks for building lua packages.
{
lib,
lua,
makeSetupHook,
}:
@@ -19,6 +20,7 @@ in
propagatedBuildInputs = [
busted
];
meta.license = lib.licenses.mit;
} ./busted-check-hook.sh
) { };
@@ -27,6 +29,7 @@ in
makeSetupHook {
name = "luarocks-check-hook";
propagatedBuildInputs = [ luarocks ];
meta.license = lib.licenses.mit;
} ./luarocks-check-hook.sh
) { };
@@ -34,5 +37,6 @@ in
# we move the files around ourselves
luarocksMoveDataFolder = makeSetupHook {
name = "luarocks-move-rock";
meta.license = lib.licenses.mit;
} ./luarocks-move-data.sh;
}
@@ -1,4 +1,5 @@
{
lib,
lua,
makeSetupHook,
makeWrapper,
@@ -13,4 +14,5 @@ makeSetupHook {
substitutions.luaHost = lua.luaOnHostForHost;
substitutions.luarocksBuild = lua.luaOnBuildForHost.pkgs.luarocks_bootstrap;
substitutions.luarocksHost = lua.luaOnHostForHost.pkgs.luarocks_bootstrap;
meta.license = lib.licenses.mit;
} ./wrap.sh