treewide: set meta.license on hooks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user