treewide: set meta.license on hooks

This commit is contained in:
Sigmanificient
2026-05-25 13:48:20 +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
@@ -1,10 +1,12 @@
# Hooks for building Octave packages.
{
lib,
makeSetupHook,
}:
{
writeRequiredOctavePackagesHook = makeSetupHook {
name = "write-required-octave-packages-hook";
meta.license = lib.licenses.mit;
} ./write-required-octave-packages-hook.sh;
}
@@ -1,4 +1,5 @@
{
lib,
octave,
makeSetupHook,
makeWrapper,
@@ -13,4 +14,5 @@ makeSetupHook {
propagatedBuildInputs = [ makeWrapper ];
substitutions.executable = octave.interpreter;
substitutions.octave = octave;
meta.license = lib.licenses.mit;
} ./wrap.sh
@@ -140,6 +140,7 @@ let
propagatedBuildInputs = [ buildPackages.makeBinaryWrapper ];
meta = {
inherit (meta) maintainers platforms;
license = lib.licenses.mit;
};
} ./tcl-package-hook.sh
) { };
@@ -150,6 +151,7 @@ let
propagatedBuildInputs = [ buildPackages.makeBinaryWrapper ];
meta = {
inherit (meta) maintainers platforms;
license = lib.licenses.mit;
};
} ./tcl-requires-check-hook.sh
) { };