treewide: set meta.license on hooks
This commit is contained in:
@@ -31,10 +31,12 @@
|
||||
nodeVersion = nodejs.version;
|
||||
nodeVersionMajor = lib.versions.major nodejs.version;
|
||||
};
|
||||
meta.license = lib.licenses.mit;
|
||||
} ./npm-config-hook.sh;
|
||||
|
||||
npmBuildHook = makeSetupHook {
|
||||
name = "npm-build-hook";
|
||||
meta.license = lib.licenses.mit;
|
||||
} ./npm-build-hook.sh;
|
||||
|
||||
npmInstallHook = makeSetupHook {
|
||||
@@ -50,5 +52,6 @@
|
||||
substitutions = {
|
||||
jq = "${jq}/bin/jq";
|
||||
};
|
||||
meta.license = lib.licenses.mit;
|
||||
} ./npm-install-hook.sh;
|
||||
}
|
||||
|
||||
@@ -249,5 +249,6 @@ in
|
||||
npmArch = stdenvNoCC.targetPlatform.node.arch;
|
||||
npmPlatform = stdenvNoCC.targetPlatform.node.platform;
|
||||
};
|
||||
meta.license = lib.licenses.mit;
|
||||
} ./pnpm-config-hook.sh;
|
||||
}
|
||||
|
||||
@@ -180,6 +180,7 @@ in
|
||||
};
|
||||
meta = {
|
||||
description = "Install nodejs dependencies from an offline yarn cache produced by fetchYarnDeps";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
} ./yarn-config-hook.sh;
|
||||
|
||||
@@ -187,6 +188,7 @@ in
|
||||
name = "yarn-build-hook";
|
||||
meta = {
|
||||
description = "Run yarn build in buildPhase";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
} ./yarn-build-hook.sh;
|
||||
|
||||
@@ -202,6 +204,7 @@ in
|
||||
};
|
||||
meta = {
|
||||
description = "Prune yarn dependencies and install files for packages using Yarn 1";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
} ./yarn-install-hook.sh;
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
canonicalizeSymlinksScript = ./canonicalize-symlinks.js;
|
||||
storePrefix = builtins.storeDir;
|
||||
};
|
||||
meta.license = lib.licenses.mit;
|
||||
} ./npm-config-hook.sh;
|
||||
|
||||
linkNodeModulesHook = makeSetupHook {
|
||||
@@ -23,5 +24,6 @@
|
||||
script = ./link-node-modules.js;
|
||||
storePrefix = builtins.storeDir;
|
||||
};
|
||||
meta.license = lib.licenses.mit;
|
||||
} ./link-node-modules-hook.sh;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user