diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index ae3ff9dc1800..f95494812bd5 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -288,6 +288,7 @@ let toNvimTreesitterGrammar = makeSetupHook { name = "to-nvim-treesitter-grammar"; + meta.license = lib.licenses.mit; } ./to-nvim-treesitter-grammar.sh; in diff --git a/pkgs/applications/editors/vim/plugins/utils/vim-utils.nix b/pkgs/applications/editors/vim/plugins/utils/vim-utils.nix index 5f0290699007..d297ffab0114 100644 --- a/pkgs/applications/editors/vim/plugins/utils/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/utils/vim-utils.nix @@ -446,6 +446,7 @@ rec { vimBinary = "${vim}/bin/vim"; inherit rtpPath; }; + meta.license = lib.licenses.mit; } ../hooks/vim-gen-doc-hook.sh ) { }; @@ -458,6 +459,7 @@ rec { vimBinary = "${neovim-unwrapped}/bin/nvim"; inherit rtpPath; }; + meta.license = lib.licenses.mit; } ../hooks/vim-command-check-hook.sh ) { }; @@ -470,6 +472,7 @@ rec { nvimBinary = "${neovim-unwrapped}/bin/nvim"; inherit rtpPath; }; + meta.license = lib.licenses.mit; } ../hooks/neovim-require-check-hook.sh ) { }; diff --git a/pkgs/applications/editors/vscode/extensions/vscode-utils.nix b/pkgs/applications/editors/vscode/extensions/vscode-utils.nix index b95723b7e49d..6bfcf8380051 100644 --- a/pkgs/applications/editors/vscode/extensions/vscode-utils.nix +++ b/pkgs/applications/editors/vscode/extensions/vscode-utils.nix @@ -18,6 +18,7 @@ let substitutions = { unzip = "${buildPackages.unzip}/bin/unzip"; }; + meta.license = lib.licenses.mit; } ./unpack-vsix-setup-hook.sh; buildVscodeExtension = lib.extendMkDerivation { constructDrv = stdenv.mkDerivation; diff --git a/pkgs/applications/emulators/wine/base.nix b/pkgs/applications/emulators/wine/base.nix index d25f943a1363..bee9d7c4af85 100644 --- a/pkgs/applications/emulators/wine/base.nix +++ b/pkgs/applications/emulators/wine/base.nix @@ -78,6 +78,7 @@ let darwinSuffixSalt = stdenv.cc.suffixSalt; mingwGccsSuffixSalts = map (gcc: gcc.suffixSalt) mingwGccs; }; + meta.license = lib.licenses.mit; } ./setup-hook-darwin.sh; # Building Wine with these flags isn't supported on Darwin. Using any of them will result in an evaluation failures diff --git a/pkgs/build-support/dart/build-dart-application/hooks/default.nix b/pkgs/build-support/dart/build-dart-application/hooks/default.nix index a22db27f4d97..e14dcccfef3a 100644 --- a/pkgs/build-support/dart/build-dart-application/hooks/default.nix +++ b/pkgs/build-support/dart/build-dart-application/hooks/default.nix @@ -15,16 +15,20 @@ substitutions.python3 = lib.getExe (python3.withPackages (ps: with ps; [ pyyaml ])); substitutions.packageGraphScript = ../../pub2nix/package-graph.py; substitutions.workspacePackageConfigScript = ../workspace-package-config.py; + meta.license = lib.licenses.mit; } ./dart-config-hook.sh; dartBuildHook = makeSetupHook { name = "dart-build-hook"; substitutions.yq = "${yq}/bin/yq"; substitutions.jq = "${jq}/bin/jq"; + meta.license = lib.licenses.mit; } ./dart-build-hook.sh; dartInstallHook = makeSetupHook { name = "dart-install-hook"; + meta.license = lib.licenses.mit; } ./dart-install-hook.sh; dartFixupHook = makeSetupHook { name = "dart-fixup-hook"; + meta.license = lib.licenses.mit; } ./dart-fixup-hook.sh; } diff --git a/pkgs/build-support/dlang/builddubpackage/hooks/default.nix b/pkgs/build-support/dlang/builddubpackage/hooks/default.nix index b407d24fae4e..3243fdf7ec57 100644 --- a/pkgs/build-support/dlang/builddubpackage/hooks/default.nix +++ b/pkgs/build-support/dlang/builddubpackage/hooks/default.nix @@ -1,10 +1,11 @@ -{ callPackage }: +{ lib, callPackage }: { dubSetupHook = callPackage ( { makeSetupHook }: makeSetupHook { name = "dub-setup-hook"; + meta.license = lib.licenses.mit; } ./dub-setup-hook.sh ) { }; @@ -13,6 +14,7 @@ makeSetupHook { name = "dub-build-hook"; propagatedBuildInputs = [ dub ]; + meta.license = lib.licenses.mit; } ./dub-build-hook.sh ) { }; @@ -21,6 +23,7 @@ makeSetupHook { name = "dub-check-hook"; propagatedBuildInputs = [ dub ]; + meta.license = lib.licenses.mit; } ./dub-check-hook.sh ) { }; } diff --git a/pkgs/build-support/dlang/dub-support.nix b/pkgs/build-support/dlang/dub-support.nix index 083b318ecd88..8b4642d49cac 100644 --- a/pkgs/build-support/dlang/dub-support.nix +++ b/pkgs/build-support/dlang/dub-support.nix @@ -1,8 +1,8 @@ -{ callPackage }: +{ lib, callPackage }: { dub-to-nix = callPackage ./dub-to-nix { }; importDubLock = callPackage ./builddubpackage/import-dub-lock.nix { }; buildDubPackage = callPackage ./builddubpackage { }; } -// import ./builddubpackage/hooks { inherit callPackage; } +// import ./builddubpackage/hooks { inherit lib callPackage; } diff --git a/pkgs/build-support/dotnet/auto-patchcil-hook/default.nix b/pkgs/build-support/dotnet/auto-patchcil-hook/default.nix index cbe9105e6115..0e4860c6e875 100644 --- a/pkgs/build-support/dotnet/auto-patchcil-hook/default.nix +++ b/pkgs/build-support/dotnet/auto-patchcil-hook/default.nix @@ -11,4 +11,5 @@ makeSetupHook { shell = lib.getExe bash; patchcil = lib.getExe patchcil; }; + meta.license = lib.licenses.mit; } ./auto-patchcil.sh diff --git a/pkgs/build-support/dotnet/build-dotnet-module/hook/default.nix b/pkgs/build-support/dotnet/build-dotnet-module/hook/default.nix index 54b802b6a1a0..e1f7cd816719 100644 --- a/pkgs/build-support/dotnet/build-dotnet-module/hook/default.nix +++ b/pkgs/build-support/dotnet/build-dotnet-module/hook/default.nix @@ -15,4 +15,5 @@ makeSetupHook { coreutils ]; }; + meta.license = lib.licenses.mit; } ./dotnet-hook.sh diff --git a/pkgs/build-support/node/build-npm-package/hooks/default.nix b/pkgs/build-support/node/build-npm-package/hooks/default.nix index a28b0fbaa379..db5a13cad19b 100644 --- a/pkgs/build-support/node/build-npm-package/hooks/default.nix +++ b/pkgs/build-support/node/build-npm-package/hooks/default.nix @@ -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; } diff --git a/pkgs/build-support/node/fetch-pnpm-deps/default.nix b/pkgs/build-support/node/fetch-pnpm-deps/default.nix index c16a8fb1f89e..20df85467c16 100644 --- a/pkgs/build-support/node/fetch-pnpm-deps/default.nix +++ b/pkgs/build-support/node/fetch-pnpm-deps/default.nix @@ -249,5 +249,6 @@ in npmArch = stdenvNoCC.targetPlatform.node.arch; npmPlatform = stdenvNoCC.targetPlatform.node.platform; }; + meta.license = lib.licenses.mit; } ./pnpm-config-hook.sh; } diff --git a/pkgs/build-support/node/fetch-yarn-deps/default.nix b/pkgs/build-support/node/fetch-yarn-deps/default.nix index 9bce7d2f628d..fefb40db0176 100644 --- a/pkgs/build-support/node/fetch-yarn-deps/default.nix +++ b/pkgs/build-support/node/fetch-yarn-deps/default.nix @@ -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; } diff --git a/pkgs/build-support/node/import-npm-lock/hooks/default.nix b/pkgs/build-support/node/import-npm-lock/hooks/default.nix index 4a54628e1d64..342eef115f99 100644 --- a/pkgs/build-support/node/import-npm-lock/hooks/default.nix +++ b/pkgs/build-support/node/import-npm-lock/hooks/default.nix @@ -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; } diff --git a/pkgs/build-support/php/builders/v1/hooks/default.nix b/pkgs/build-support/php/builders/v1/hooks/default.nix index bfc0511ce569..8091e7a1ed7d 100644 --- a/pkgs/build-support/php/builders/v1/hooks/default.nix +++ b/pkgs/build-support/php/builders/v1/hooks/default.nix @@ -26,6 +26,7 @@ in substitutions = { phpScriptUtils = lib.getExe php-script-utils; }; + meta.license = lib.licenses.mit; } ./composer-repository-hook.sh; composerInstallHook = makeSetupHook { @@ -42,6 +43,7 @@ in cmp = "${lib.getBin buildPackages.diffutils}/bin/cmp"; phpScriptUtils = lib.getExe php-script-utils; }; + meta.license = lib.licenses.mit; } ./composer-install-hook.sh; composerWithPluginVendorHook = makeSetupHook { @@ -58,5 +60,6 @@ in cmp = "${lib.getBin buildPackages.diffutils}/bin/cmp"; phpScriptUtils = lib.getExe php-script-utils; }; + meta.license = lib.licenses.mit; } ./composer-with-plugin-vendor-hook.sh; } diff --git a/pkgs/build-support/php/builders/v2/hooks/default.nix b/pkgs/build-support/php/builders/v2/hooks/default.nix index b361b8060830..57d46c17e3f6 100644 --- a/pkgs/build-support/php/builders/v2/hooks/default.nix +++ b/pkgs/build-support/php/builders/v2/hooks/default.nix @@ -26,6 +26,7 @@ in substitutions = { phpScriptUtils = lib.getExe php-script-utils; }; + meta.license = lib.licenses.mit; } ./composer-vendor-hook.sh; composerInstallHook = makeSetupHook { @@ -42,5 +43,6 @@ in cmp = "${lib.getBin buildPackages.diffutils}/bin/cmp"; phpScriptUtils = lib.getExe php-script-utils; }; + meta.license = lib.licenses.mit; } ./composer-install-hook.sh; } diff --git a/pkgs/build-support/pkg-config-wrapper/default.nix b/pkgs/build-support/pkg-config-wrapper/default.nix index 2d0b29bf76d6..c18100df2acc 100644 --- a/pkgs/build-support/pkg-config-wrapper/default.nix +++ b/pkgs/build-support/pkg-config-wrapper/default.nix @@ -107,6 +107,7 @@ stdenv.mkDerivation { wrapperName ; }; + meta.license = lib.licenses.mit; } ../setup-hooks/role.bash; setupHook = makeSetupHook { name = "pkgs-config-setup-hook"; @@ -116,6 +117,7 @@ stdenv.mkDerivation { baseBinName ; }; + meta.license = lib.licenses.mit; } ./setup-hook.sh; in [ diff --git a/pkgs/build-support/rust/hooks/default.nix b/pkgs/build-support/rust/hooks/default.nix index 0814f78edfef..282fa6bc1611 100644 --- a/pkgs/build-support/rust/hooks/default.nix +++ b/pkgs/build-support/rust/hooks/default.nix @@ -30,6 +30,7 @@ // lib.optionalAttrs (stdenv.hostPlatform.isLinux) { testCross = pkgsCross.riscv64.tests.rust-hooks.cargoBuildHook; }; + meta.license = lib.licenses.mit; } ./cargo-build-hook.sh; cargoCheckHook = makeSetupHook { @@ -44,6 +45,7 @@ // lib.optionalAttrs (stdenv.hostPlatform.isLinux) { testCross = pkgsCross.riscv64.tests.rust-hooks.cargoCheckHook; }; + meta.license = lib.licenses.mit; } ./cargo-check-hook.sh; cargoInstallHook = makeSetupHook { @@ -57,6 +59,7 @@ // lib.optionalAttrs (stdenv.hostPlatform.isLinux) { testCross = pkgsCross.riscv64.tests.rust-hooks.cargoInstallHook; }; + meta.license = lib.licenses.mit; } ./cargo-install-hook.sh; cargoNextestHook = makeSetupHook { @@ -71,6 +74,7 @@ // lib.optionalAttrs (stdenv.hostPlatform.isLinux) { testCross = pkgsCross.riscv64.tests.rust-hooks.cargoNextestHook; }; + meta.license = lib.licenses.mit; } ./cargo-nextest-hook.sh; cargoSetupHook = makeSetupHook { @@ -110,6 +114,7 @@ // lib.optionalAttrs (stdenv.hostPlatform.isLinux) { testCross = pkgsCross.riscv64.tests.rust-hooks.cargoSetupHook; }; + meta.license = lib.licenses.mit; } ./cargo-setup-hook.sh; maturinBuildHook = makeSetupHook { @@ -124,6 +129,7 @@ inherit (rust.envVars) setEnv; }; + meta.license = lib.licenses.mit; } ./maturin-build-hook.sh; bindgenHook = makeSetupHook { @@ -132,5 +138,6 @@ libclang = (lib.getLib clang.cc); inherit clang; }; + meta.license = lib.licenses.mit; } ./rust-bindgen-hook.sh; } diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/getRunpathEntries/package.nix b/pkgs/build-support/setup-hooks/arrayUtilities/getRunpathEntries/package.nix index 8214a85052f2..001a003df326 100644 --- a/pkgs/build-support/setup-hooks/arrayUtilities/getRunpathEntries/package.nix +++ b/pkgs/build-support/setup-hooks/arrayUtilities/getRunpathEntries/package.nix @@ -1,4 +1,5 @@ { + lib, callPackages, isDeclaredArray, makeSetupHook, @@ -11,5 +12,8 @@ makeSetupHook { patchelf ]; passthru.tests = callPackages ./tests.nix { }; - meta.description = "Appends runpath entries of a file to an array"; + meta = { + description = "Appends runpath entries of a file to an array"; + license = lib.licenses.mit; + }; } ./getRunpathEntries.bash diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/package.nix b/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/package.nix index 0a610db6eeed..79b3a31d5ad1 100644 --- a/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/package.nix +++ b/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/package.nix @@ -1,4 +1,5 @@ { + lib, callPackages, isDeclaredArray, isDeclaredMap, @@ -13,5 +14,8 @@ makeSetupHook { sortArray ]; passthru.tests = callPackages ./tests.nix { }; - meta.description = "Gets the sorted indices of an associative array"; + meta = { + description = "Gets the sorted indices of an associative array"; + license = lib.licenses.mit; + }; } ./getSortedMapKeys.bash diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/package.nix b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/package.nix index 2b8ba3942c98..53aaad3508e8 100644 --- a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/package.nix +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/package.nix @@ -1,9 +1,13 @@ { + lib, callPackages, makeSetupHook, }: makeSetupHook { name = "isDeclaredArray"; passthru.tests = callPackages ./tests.nix { }; - meta.description = "Tests if an array is declared"; + meta = { + description = "Tests if an array is declared"; + license = lib.licenses.mit; + }; } ./isDeclaredArray.bash diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/package.nix b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/package.nix index 99d969312dab..484b5a3bc5bd 100644 --- a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/package.nix +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/package.nix @@ -1,9 +1,13 @@ { + lib, callPackages, makeSetupHook, }: makeSetupHook { name = "isDeclaredMap"; passthru.tests = callPackages ./tests.nix { }; - meta.description = "Tests if an associative array is declared"; + meta = { + description = "Tests if an associative array is declared"; + license = lib.licenses.mit; + }; } ./isDeclaredMap.bash diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/package.nix b/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/package.nix index 5e5c2ced69b0..94ff78bc991a 100644 --- a/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/package.nix +++ b/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/package.nix @@ -1,4 +1,5 @@ { + lib, callPackages, isDeclaredArray, makeSetupHook, @@ -7,5 +8,8 @@ makeSetupHook { name = "sortArray"; propagatedBuildInputs = [ isDeclaredArray ]; passthru.tests = callPackages ./tests.nix { }; - meta.description = "Sorts an array"; + meta = { + description = "Sorts an array"; + license = lib.licenses.mit; + }; } ./sortArray.bash diff --git a/pkgs/build-support/setup-hooks/flatten-include-hack/default.nix b/pkgs/build-support/setup-hooks/flatten-include-hack/default.nix index 74bbf5673292..12be2f0f4517 100644 --- a/pkgs/build-support/setup-hooks/flatten-include-hack/default.nix +++ b/pkgs/build-support/setup-hooks/flatten-include-hack/default.nix @@ -1,2 +1,8 @@ -{ makeSetupHook }: -makeSetupHook { name = "flatten-include-hack-hook"; } ./flatten-include-hack-hook.sh +{ + lib, + makeSetupHook, +}: +makeSetupHook { + name = "flatten-include-hack-hook"; + meta.license = lib.licenses.mit; +} ./flatten-include-hack-hook.sh diff --git a/pkgs/build-support/setup-hooks/patch-rc-path-hooks/default.nix b/pkgs/build-support/setup-hooks/patch-rc-path-hooks/default.nix index 298101976ee2..774b7c2f3be1 100644 --- a/pkgs/build-support/setup-hooks/patch-rc-path-hooks/default.nix +++ b/pkgs/build-support/setup-hooks/patch-rc-path-hooks/default.nix @@ -12,6 +12,7 @@ in name = "patch-rc-path-bash"; meta = { description = "Setup-hook to inject source-time PATH prefix to a Bash/Ksh/Zsh script"; + license = lib.licenses.mit; maintainers = with lib.maintainers; [ ShamrockLee ]; }; passthru.tests = { @@ -25,6 +26,7 @@ in }; meta = { description = "Setup-hook to inject source-time PATH prefix to a Csh script"; + license = lib.licenses.mit; maintainers = with lib.maintainers; [ ShamrockLee ]; }; passthru.tests = { @@ -35,6 +37,7 @@ in name = "patch-rc-path-fish"; meta = { description = "Setup-hook to inject source-time PATH prefix to a Fish script"; + license = lib.licenses.mit; maintainers = with lib.maintainers; [ ShamrockLee ]; }; passthru.tests = { @@ -48,6 +51,7 @@ in }; meta = { description = "Setup-hook to inject source-time PATH prefix to a POSIX shell script"; + license = lib.licenses.mit; maintainers = with lib.maintainers; [ ShamrockLee ]; }; passthru.tests = { diff --git a/pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix b/pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix index c5df25d4066d..3f29c77e0575 100644 --- a/pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix +++ b/pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix @@ -51,6 +51,7 @@ makeSetupHook { # D-Bus service enabled globally (e.g. through a NixOS module). dconf.lib ]; + meta.license = lib.licenses.mit; passthru = { tests = let diff --git a/pkgs/by-name/ad/addDriverRunpath/package.nix b/pkgs/by-name/ad/addDriverRunpath/package.nix index 29832b303ad6..670bc075db62 100644 --- a/pkgs/by-name/ad/addDriverRunpath/package.nix +++ b/pkgs/by-name/ad/addDriverRunpath/package.nix @@ -11,4 +11,6 @@ makeSetupHook { # hardware drivers installed by NixOS driverLink = "/run/opengl-driver" + lib.optionalString stdenv.hostPlatform.isi686 "-32"; }; + + meta.license = lib.licenses.mit; } ./setup-hook.sh diff --git a/pkgs/by-name/ap/apple-sdk/common/passthru-private-frameworks.nix b/pkgs/by-name/ap/apple-sdk/common/passthru-private-frameworks.nix index 7d3897dc1dcc..49da85c775fe 100644 --- a/pkgs/by-name/ap/apple-sdk/common/passthru-private-frameworks.nix +++ b/pkgs/by-name/ap/apple-sdk/common/passthru-private-frameworks.nix @@ -1,9 +1,14 @@ -{ makeSetupHook, sdkVersion }: +{ + lib, + makeSetupHook, + sdkVersion, +}: self: super: { passthru = super.passthru or { } // { privateFrameworksHook = makeSetupHook { name = "apple-sdk-private-frameworks-hook"; + meta.license = lib.licenses.mit; } ../setup-hooks/add-private-frameworks.sh; }; } diff --git a/pkgs/by-name/au/autoAddDriverRunpath/package.nix b/pkgs/by-name/au/autoAddDriverRunpath/package.nix index 1dd962cdeee6..a793aa41f12a 100644 --- a/pkgs/by-name/au/autoAddDriverRunpath/package.nix +++ b/pkgs/by-name/au/autoAddDriverRunpath/package.nix @@ -1,4 +1,5 @@ { + lib, addDriverRunpath, autoFixElfFiles, makeSetupHook, @@ -10,4 +11,5 @@ makeSetupHook { addDriverRunpath autoFixElfFiles ]; + meta.license = lib.licenses.mit; } ./auto-add-driver-runpath-hook.sh diff --git a/pkgs/by-name/au/autoFixElfFiles/package.nix b/pkgs/by-name/au/autoFixElfFiles/package.nix index db8258e9b43b..d750a3819b9e 100644 --- a/pkgs/by-name/au/autoFixElfFiles/package.nix +++ b/pkgs/by-name/au/autoFixElfFiles/package.nix @@ -1,5 +1,9 @@ -{ makeSetupHook }: +{ + lib, + makeSetupHook, +}: makeSetupHook { name = "auto-fix-elf-files"; + meta.license = lib.licenses.mit; } ./auto-fix-elf-files.sh diff --git a/pkgs/by-name/br/breakpointHook/package.nix b/pkgs/by-name/br/breakpointHook/package.nix index bbdcf9e05651..c2a30b5c27f5 100644 --- a/pkgs/by-name/br/breakpointHook/package.nix +++ b/pkgs/by-name/br/breakpointHook/package.nix @@ -22,7 +22,10 @@ in makeSetupHook { name = "breakpoint-hook"; - meta.broken = !stdenv.buildPlatform.isLinux; + meta = { + broken = !stdenv.buildPlatform.isLinux; + license = lib.licenses.mit; + }; substitutions = { attach = "${attach}/bin/attach"; # The default interactive shell in case $debugShell is not set in the derivation. diff --git a/pkgs/by-name/br/breakpointHookCntr/package.nix b/pkgs/by-name/br/breakpointHookCntr/package.nix index c6c705788914..9d300a8263c7 100644 --- a/pkgs/by-name/br/breakpointHookCntr/package.nix +++ b/pkgs/by-name/br/breakpointHookCntr/package.nix @@ -1,6 +1,13 @@ -{ stdenv, makeSetupHook }: +{ + lib, + stdenv, + makeSetupHook, +}: makeSetupHook { name = "breakpoint-hook"; - meta.broken = !stdenv.buildPlatform.isLinux; + meta = { + broken = !stdenv.buildPlatform.isLinux; + license = lib.licenses.mit; + }; } ./breakpoint-hook.sh diff --git a/pkgs/by-name/ca/cargo-tauri/hook.nix b/pkgs/by-name/ca/cargo-tauri/hook.nix index d432d79c67d9..ecc9c9b024a1 100644 --- a/pkgs/by-name/ca/cargo-tauri/hook.nix +++ b/pkgs/by-name/ca/cargo-tauri/hook.nix @@ -77,5 +77,6 @@ makeSetupHook { inherit (cargo-tauri.meta) maintainers broken; # Platforms that Tauri supports bundles for platforms = lib.platforms.darwin ++ lib.platforms.linux; + license = lib.licenses.mit; }; } ./hook.sh diff --git a/pkgs/by-name/ct/ctestCheckHook/package.nix b/pkgs/by-name/ct/ctestCheckHook/package.nix index 631b2ba8b86a..cf3da33493b3 100644 --- a/pkgs/by-name/ct/ctestCheckHook/package.nix +++ b/pkgs/by-name/ct/ctestCheckHook/package.nix @@ -1,4 +1,5 @@ { + lib, makeSetupHook, cmake, }: @@ -6,4 +7,5 @@ makeSetupHook { name = "ctestCheckHook"; propagatedBuildInputs = [ cmake ]; + meta.license = lib.licenses.mit; } ./ctest-check-hook.sh diff --git a/pkgs/by-name/gc/gclient2nix/package.nix b/pkgs/by-name/gc/gclient2nix/package.nix index b683352b3664..bdf8cdc327f3 100644 --- a/pkgs/by-name/gc/gclient2nix/package.nix +++ b/pkgs/by-name/gc/gclient2nix/package.nix @@ -46,6 +46,7 @@ let substitutions = { jq = lib.getExe buildPackages.jq; }; + meta.license = lib.licenses.mit; } ./gclient-unpack-hook.sh ) { }; diff --git a/pkgs/by-name/gi/gitSetupHook/package.nix b/pkgs/by-name/gi/gitSetupHook/package.nix index b03b6490366d..5527afb8bae2 100644 --- a/pkgs/by-name/gi/gitSetupHook/package.nix +++ b/pkgs/by-name/gi/gitSetupHook/package.nix @@ -11,4 +11,5 @@ makeSetupHook { gitMinimal = lib.getExe gitMinimal; }; + meta.license = lib.licenses.mit; } ./gitSetupHook.sh diff --git a/pkgs/by-name/ha/hare/hook.nix b/pkgs/by-name/ha/hare/hook.nix index ef8fc0219e9e..0dc9ef954d61 100644 --- a/pkgs/by-name/ha/hare/hook.nix +++ b/pkgs/by-name/ha/hare/hook.nix @@ -52,5 +52,6 @@ makeSetupHook { meta = { description = "Setup hook for the Hare compiler"; inherit (hare.meta) badPlatforms platforms; + license = lib.licenses.mit; }; } ./setup-hook.sh diff --git a/pkgs/by-name/in/installShellFiles/package.nix b/pkgs/by-name/in/installShellFiles/package.nix index f1cf436a9b79..133e9b5395e9 100644 --- a/pkgs/by-name/in/installShellFiles/package.nix +++ b/pkgs/by-name/in/installShellFiles/package.nix @@ -13,4 +13,5 @@ makeSetupHook { directory = ./tests; }; }; + meta.license = lib.licenses.mit; } ./setup-hook.sh diff --git a/pkgs/by-name/ju/juce/projucerHook.nix b/pkgs/by-name/ju/juce/projucerHook.nix index 9830453db14a..380c2be39d05 100644 --- a/pkgs/by-name/ju/juce/projucerHook.nix +++ b/pkgs/by-name/ju/juce/projucerHook.nix @@ -6,5 +6,8 @@ makeSetupHook { name = "projucer-hook"; propagatedBuildInputs = [ (callPackage ./package.nix { }) ]; - meta.platforms = lib.platforms.linux; + meta = { + platforms = lib.platforms.linux; + license = lib.licenses.mit; + }; } ./projucer-hook.sh diff --git a/pkgs/by-name/ju/julec/hook.nix b/pkgs/by-name/ju/julec/hook.nix index 427812bfb87f..f1504853ea03 100644 --- a/pkgs/by-name/ju/julec/hook.nix +++ b/pkgs/by-name/ju/julec/hook.nix @@ -1,4 +1,5 @@ { + lib, julec, makeSetupHook, }: @@ -10,5 +11,6 @@ makeSetupHook { meta = { inherit (julec.meta) maintainers; + license = lib.licenses.mit; }; } ./hook.sh diff --git a/pkgs/by-name/li/libcosmicAppHook/package.nix b/pkgs/by-name/li/libcosmicAppHook/package.nix index 7ea4f42df493..4358b387e73f 100644 --- a/pkgs/by-name/li/libcosmicAppHook/package.nix +++ b/pkgs/by-name/li/libcosmicAppHook/package.nix @@ -91,5 +91,6 @@ makeSetupHook { meta = { description = "Setup hook for configuring and wrapping applications based on libcosmic"; teams = [ lib.teams.cosmic ]; + license = lib.licenses.mit; }; } ./libcosmic-app-hook.sh diff --git a/pkgs/by-name/ma/makeBinaryWrapper/package.nix b/pkgs/by-name/ma/makeBinaryWrapper/package.nix index 749851d547e2..a844a586d800 100644 --- a/pkgs/by-name/ma/makeBinaryWrapper/package.nix +++ b/pkgs/by-name/ma/makeBinaryWrapper/package.nix @@ -30,4 +30,6 @@ makeSetupHook { tests = tests.makeBinaryWrapper; }; + + meta.license = lib.licenses.mit; } ./make-binary-wrapper.sh diff --git a/pkgs/by-name/me/memcachedTestHook/package.nix b/pkgs/by-name/me/memcachedTestHook/package.nix index 6635b36a35e6..42569e370b75 100644 --- a/pkgs/by-name/me/memcachedTestHook/package.nix +++ b/pkgs/by-name/me/memcachedTestHook/package.nix @@ -15,4 +15,6 @@ makeSetupHook { passthru.tests = { simple = callPackage ./test.nix { }; }; + + meta.license = lib.licenses.mit; } ./memcached-test-hook.sh diff --git a/pkgs/by-name/mp/mpiCheckPhaseHook/package.nix b/pkgs/by-name/mp/mpiCheckPhaseHook/package.nix index c771e87376fa..e5bdc817379d 100644 --- a/pkgs/by-name/mp/mpiCheckPhaseHook/package.nix +++ b/pkgs/by-name/mp/mpiCheckPhaseHook/package.nix @@ -1,4 +1,5 @@ { + lib, callPackage, makeSetupHook, stdenv, @@ -11,4 +12,6 @@ makeSetupHook { iface = if stdenv.hostPlatform.isDarwin then "lo0" else "lo"; topology = ./topology.xml; }; + + meta.license = lib.licenses.mit; } ./mpi-check-hook.sh diff --git a/pkgs/by-name/no/nodejsInstallExecutables/package.nix b/pkgs/by-name/no/nodejsInstallExecutables/package.nix index 8403cf8881d6..fe5ae5ca9825 100644 --- a/pkgs/by-name/no/nodejsInstallExecutables/package.nix +++ b/pkgs/by-name/no/nodejsInstallExecutables/package.nix @@ -1,4 +1,5 @@ { + lib, makeSetupHook, installShellFiles, makeWrapper, @@ -16,4 +17,5 @@ makeSetupHook { hostNode = "${nodejs}/bin/node"; jq = "${jq}/bin/jq"; }; + meta.license = lib.licenses.mit; } ./hook.sh diff --git a/pkgs/by-name/no/nodejsInstallManuals/package.nix b/pkgs/by-name/no/nodejsInstallManuals/package.nix index 9f74cf8538da..7b9bb4c4fdb1 100644 --- a/pkgs/by-name/no/nodejsInstallManuals/package.nix +++ b/pkgs/by-name/no/nodejsInstallManuals/package.nix @@ -1,4 +1,5 @@ { + lib, makeSetupHook, installShellFiles, jq, @@ -10,4 +11,5 @@ makeSetupHook { substitutions = { jq = "${jq}/bin/jq"; }; + meta.license = lib.licenses.mit; } ./hook.sh diff --git a/pkgs/by-name/or/or-tools/pybind11-2.13.6.nix b/pkgs/by-name/or/or-tools/pybind11-2.13.6.nix index 37983b5164b3..3d0ac47cc7ac 100644 --- a/pkgs/by-name/or/or-tools/pybind11-2.13.6.nix +++ b/pkgs/by-name/or/or-tools/pybind11-2.13.6.nix @@ -26,6 +26,7 @@ let pythonIncludeDir = "${python}/include/python${python.pythonVersion}"; pythonSitePackages = "${python}/${python.sitePackages}"; }; + meta.license = lib.licenses.mit; } ./pybind11-setup-hook.sh; in buildPythonPackage (finalAttrs: { diff --git a/pkgs/by-name/pa/patchPpdFilesHook/package.nix b/pkgs/by-name/pa/patchPpdFilesHook/package.nix index 1c29360e2714..80250d637561 100644 --- a/pkgs/by-name/pa/patchPpdFilesHook/package.nix +++ b/pkgs/by-name/pa/patchPpdFilesHook/package.nix @@ -14,6 +14,7 @@ makeSetupHook { passthru.tests.test = callPackage ./test.nix { }; meta = { description = "Setup hook to patch executable paths in ppd files"; + license = lib.licenses.mit; maintainers = [ lib.maintainers.yarny ]; }; } ./patch-ppd-hook.sh diff --git a/pkgs/by-name/po/postgresqlTestHook/package.nix b/pkgs/by-name/po/postgresqlTestHook/package.nix index 4b67c7716e07..625418356336 100644 --- a/pkgs/by-name/po/postgresqlTestHook/package.nix +++ b/pkgs/by-name/po/postgresqlTestHook/package.nix @@ -9,6 +9,9 @@ makeSetupHook { passthru.tests = { simple = callPackage ./test.nix { }; }; - # See comment in postgresql's generic.nix doInstallCheck section. - meta.badPlatforms = lib.platforms.darwin; + meta = { + # See comment in postgresql's generic.nix doInstallCheck section. + badPlatforms = lib.platforms.darwin; + license = lib.licenses.mit; + }; } ./postgresql-test-hook.sh diff --git a/pkgs/by-name/re/redisTestHook/package.nix b/pkgs/by-name/re/redisTestHook/package.nix index c3ff3c842b4c..f9209bf9d080 100644 --- a/pkgs/by-name/re/redisTestHook/package.nix +++ b/pkgs/by-name/re/redisTestHook/package.nix @@ -16,4 +16,5 @@ makeSetupHook { simple = callPackage ./test.nix { }; python3-valkey = python3Packages.valkey; }; + meta.license = lib.licenses.mit; } ./redis-test-hook.sh diff --git a/pkgs/by-name/te/teensy-cmake-macros/hook.nix b/pkgs/by-name/te/teensy-cmake-macros/hook.nix index ab35445bcad8..efa64eaf4e86 100644 --- a/pkgs/by-name/te/teensy-cmake-macros/hook.nix +++ b/pkgs/by-name/te/teensy-cmake-macros/hook.nix @@ -1,4 +1,5 @@ { + lib, makeSetupHook, teensy-cmake-macros, }: @@ -13,5 +14,6 @@ makeSetupHook { meta = { description = "Setup hook for teensy-cmake-macros"; inherit (teensy-cmake-macros.meta) maintainers platforms broken; + license = lib.licenses.mit; }; } ./setup-hook.sh diff --git a/pkgs/by-name/to/tor/package.nix b/pkgs/by-name/to/tor/package.nix index a5b1107e143c..d67d83daafe7 100644 --- a/pkgs/by-name/to/tor/package.nix +++ b/pkgs/by-name/to/tor/package.nix @@ -128,6 +128,7 @@ stdenv.mkDerivation (finalAttrs: { tee = lib.getExe' coreutils "tee"; tor = lib.getExe finalAttrs.finalPackage; }; + meta.license = lib.licenses.mit; } ./proxy-hook.sh; }; diff --git a/pkgs/by-name/ud/udevCheckHook/package.nix b/pkgs/by-name/ud/udevCheckHook/package.nix index 5d52b72edad5..b93b447a999b 100644 --- a/pkgs/by-name/ud/udevCheckHook/package.nix +++ b/pkgs/by-name/ud/udevCheckHook/package.nix @@ -21,5 +21,6 @@ makeSetupHook { meta = { description = "Check validity of udev rules in outputs"; maintainers = with lib.maintainers; [ grimmauld ]; + license = lib.licenses.mit; }; } ./hook.sh diff --git a/pkgs/by-name/ve/versionCheckHook/package.nix b/pkgs/by-name/ve/versionCheckHook/package.nix index 0cf103133e04..6e5f3301f774 100644 --- a/pkgs/by-name/ve/versionCheckHook/package.nix +++ b/pkgs/by-name/ve/versionCheckHook/package.nix @@ -13,5 +13,6 @@ makeSetupHook { meta = { description = "Lookup for $version in the output of --help and --version"; maintainers = with lib.maintainers; [ doronbehar ]; + license = lib.licenses.mit; }; } ./hook.sh diff --git a/pkgs/by-name/wa/waf/hook.nix b/pkgs/by-name/wa/waf/hook.nix index 0855f0ce0a31..9195c21fcdb8 100644 --- a/pkgs/by-name/wa/waf/hook.nix +++ b/pkgs/by-name/wa/waf/hook.nix @@ -1,4 +1,5 @@ { + lib, makeSetupHook, waf, }: @@ -16,5 +17,6 @@ makeSetupHook { meta = { description = "Setup hook for using Waf in Nixpkgs"; inherit (waf.meta) maintainers platforms broken; + license = lib.licenses.mit; }; } ./setup-hook.sh diff --git a/pkgs/by-name/wr/wrapGNUstepAppsHook/package.nix b/pkgs/by-name/wr/wrapGNUstepAppsHook/package.nix index 1485f8a8ae1b..71e24faaa7fc 100644 --- a/pkgs/by-name/wr/wrapGNUstepAppsHook/package.nix +++ b/pkgs/by-name/wr/wrapGNUstepAppsHook/package.nix @@ -1,4 +1,5 @@ { + lib, makeBinaryWrapper, makeSetupHook, }: @@ -6,4 +7,5 @@ makeSetupHook { name = "wrapGNUstepAppsHook"; propagatedBuildInputs = [ makeBinaryWrapper ]; + meta.license = lib.licenses.mit; } ./wrapGNUstepAppsHook.sh diff --git a/pkgs/by-name/ya/yarn-berry/fetcher/yarn-berry-config-hook.nix b/pkgs/by-name/ya/yarn-berry/fetcher/yarn-berry-config-hook.nix index f7999975258c..4761c5d7bcae 100644 --- a/pkgs/by-name/ya/yarn-berry/fetcher/yarn-berry-config-hook.nix +++ b/pkgs/by-name/ya/yarn-berry/fetcher/yarn-berry-config-hook.nix @@ -1,4 +1,5 @@ { + lib, makeSetupHook, yarn-berry-offline, srcOnly, @@ -20,5 +21,6 @@ makeSetupHook { }; meta = { description = "Install nodejs dependencies from an offline yarn cache produced by fetchYarnDeps"; + license = lib.licenses.mit; }; } ./yarn-berry-config-hook.sh diff --git a/pkgs/development/beam-modules/hooks/default.nix b/pkgs/development/beam-modules/hooks/default.nix index 1be544b2f2c7..cb567537f628 100644 --- a/pkgs/development/beam-modules/hooks/default.nix +++ b/pkgs/development/beam-modules/hooks/default.nix @@ -1,30 +1,40 @@ -{ makeSetupHook }: +{ + lib, + makeSetupHook, +}: { beamCopySourceHook = makeSetupHook { name = "beam-copy-source-hook.sh"; + meta.license = lib.licenses.mit; } ./beam-copy-source-hook.sh; beamModuleInstallHook = makeSetupHook { name = "beam-module-install-hook.sh"; + meta.license = lib.licenses.mit; } ./beam-module-install-hook.sh; mixBuildDirHook = makeSetupHook { name = "mix-configure-hook.sh"; + meta.license = lib.licenses.mit; } ./mix-build-dir-hook.sh; mixCompileHook = makeSetupHook { name = "mix-compile-hook.sh"; + meta.license = lib.licenses.mit; } ./mix-compile-hook.sh; mixAppConfigPatchHook = makeSetupHook { name = "mix-config-patch-hook.sh"; + meta.license = lib.licenses.mit; } ./mix-app-config-patch-hook.sh; rebar3CompileHook = makeSetupHook { name = "rebar3-compile-hook.sh"; + meta.license = lib.licenses.mit; } ./rebar3-compile-hook.sh; rebarDevendorPatchHook = makeSetupHook { name = "rebar-devendor-patch-hook.sh"; + meta.license = lib.licenses.mit; } ./rebar-devendor-patch-hook.sh; } diff --git a/pkgs/development/compilers/dotnet/nuget-package-hook.nix b/pkgs/development/compilers/dotnet/nuget-package-hook.nix index 1d00e1d781a1..1f7b4580dc48 100644 --- a/pkgs/development/compilers/dotnet/nuget-package-hook.nix +++ b/pkgs/development/compilers/dotnet/nuget-package-hook.nix @@ -1,4 +1,5 @@ { + lib, makeSetupHook, unzip, zip, @@ -11,4 +12,5 @@ makeSetupHook { inherit unzip zip xmlstarlet; stripNondeterminism = strip-nondeterminism; }; + meta.license = lib.licenses.mit; } ./nuget-package-hook.sh diff --git a/pkgs/development/cuda-modules/packages/autoAddCudaCompatRunpath/package.nix b/pkgs/development/cuda-modules/packages/autoAddCudaCompatRunpath/package.nix index 75a279addf78..af6e43657eb7 100644 --- a/pkgs/development/cuda-modules/packages/autoAddCudaCompatRunpath/package.nix +++ b/pkgs/development/cuda-modules/packages/autoAddCudaCompatRunpath/package.nix @@ -26,4 +26,6 @@ makeSetupHook { passthru = { inherit enableHook; }; + + meta.license = lib.licenses.mit; } ./auto-add-cuda-compat-runpath.sh diff --git a/pkgs/development/cuda-modules/packages/markForCudatoolkitRootHook/package.nix b/pkgs/development/cuda-modules/packages/markForCudatoolkitRootHook/package.nix index 86ff28d6c41a..1f95c6276635 100644 --- a/pkgs/development/cuda-modules/packages/markForCudatoolkitRootHook/package.nix +++ b/pkgs/development/cuda-modules/packages/markForCudatoolkitRootHook/package.nix @@ -1,4 +1,10 @@ # Internal hook, used by cudatoolkit and cuda redist packages # to accommodate automatic CUDAToolkit_ROOT construction -{ makeSetupHook }: -makeSetupHook { name = "mark-for-cudatoolkit-root-hook"; } ./mark-for-cudatoolkit-root-hook.sh +{ + lib, + makeSetupHook, +}: +makeSetupHook { + name = "mark-for-cudatoolkit-root-hook"; + meta.license = lib.licenses.mit; +} ./mark-for-cudatoolkit-root-hook.sh diff --git a/pkgs/development/cuda-modules/packages/removeStubsFromRunpathHook/package.nix b/pkgs/development/cuda-modules/packages/removeStubsFromRunpathHook/package.nix index f864f288280a..d5867687d9c2 100644 --- a/pkgs/development/cuda-modules/packages/removeStubsFromRunpathHook/package.nix +++ b/pkgs/development/cuda-modules/packages/removeStubsFromRunpathHook/package.nix @@ -1,4 +1,5 @@ { + lib, addDriverRunpath, arrayUtilities, autoFixElfFiles, @@ -14,4 +15,6 @@ makeSetupHook { substitutions = { driverLinkLib = addDriverRunpath.driverLink + "/lib"; }; + + meta.license = lib.licenses.mit; } ./removeStubsFromRunpathHook.bash diff --git a/pkgs/development/cuda-modules/packages/setupCudaHook/package.nix b/pkgs/development/cuda-modules/packages/setupCudaHook/package.nix index c15f9a6015aa..0609e06f9e29 100644 --- a/pkgs/development/cuda-modules/packages/setupCudaHook/package.nix +++ b/pkgs/development/cuda-modules/packages/setupCudaHook/package.nix @@ -1,5 +1,9 @@ # Currently propagated by cuda_nvcc or cudatoolkit, rather than used directly -{ makeSetupHook, backendStdenv }: +{ + lib, + makeSetupHook, + backendStdenv, +}: makeSetupHook { name = "setup-cuda-hook"; @@ -8,4 +12,6 @@ makeSetupHook { # Required in addition to ccRoot as otherwise bin/gcc is looked up # when building CMakeCUDACompilerId.cu substitutions.ccFullPath = "${backendStdenv.cc}/bin/${backendStdenv.cc.targetPrefix}c++"; + + meta.license = lib.licenses.mit; } ./setup-cuda-hook.sh diff --git a/pkgs/development/haskell-modules/generic-stack-builder.nix b/pkgs/development/haskell-modules/generic-stack-builder.nix index 384467091804..41cd2468b159 100644 --- a/pkgs/development/haskell-modules/generic-stack-builder.nix +++ b/pkgs/development/haskell-modules/generic-stack-builder.nix @@ -27,6 +27,8 @@ let # STACK_IN_NIX_EXTRA_ARGS. stackHook = makeSetupHook { name = "stack-hook"; + + meta.license = lib.licenses.mit; } ./stack-hook.sh; in diff --git a/pkgs/development/interpreters/lua-5/hooks/default.nix b/pkgs/development/interpreters/lua-5/hooks/default.nix index b92db70413fa..0e68761ee1b9 100644 --- a/pkgs/development/interpreters/lua-5/hooks/default.nix +++ b/pkgs/development/interpreters/lua-5/hooks/default.nix @@ -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; } diff --git a/pkgs/development/interpreters/lua-5/wrap-lua.nix b/pkgs/development/interpreters/lua-5/wrap-lua.nix index 94e546bf3125..373cf3444526 100644 --- a/pkgs/development/interpreters/lua-5/wrap-lua.nix +++ b/pkgs/development/interpreters/lua-5/wrap-lua.nix @@ -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 diff --git a/pkgs/development/interpreters/octave/hooks/default.nix b/pkgs/development/interpreters/octave/hooks/default.nix index 633187654b6f..c347c24da8b4 100644 --- a/pkgs/development/interpreters/octave/hooks/default.nix +++ b/pkgs/development/interpreters/octave/hooks/default.nix @@ -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; } diff --git a/pkgs/development/interpreters/octave/wrap-octave.nix b/pkgs/development/interpreters/octave/wrap-octave.nix index 905ba06a5044..ce5831f8cbc2 100644 --- a/pkgs/development/interpreters/octave/wrap-octave.nix +++ b/pkgs/development/interpreters/octave/wrap-octave.nix @@ -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 diff --git a/pkgs/development/interpreters/tcl/generic.nix b/pkgs/development/interpreters/tcl/generic.nix index 21702a4c74c6..83116044fae9 100644 --- a/pkgs/development/interpreters/tcl/generic.nix +++ b/pkgs/development/interpreters/tcl/generic.nix @@ -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 ) { }; diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index 0557a3dabbf1..14c690a882c5 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -408,6 +408,7 @@ stdenv.mkDerivation { llvmpipeHook = makeSetupHook { name = "llvmpipe-hook"; substitutions.mesa = mesa; + meta.license = lib.licenses.mit; } ./llvmpipe-hook.sh; }; } diff --git a/pkgs/development/libraries/qt-5/5.15/default.nix b/pkgs/development/libraries/qt-5/5.15/default.nix index e9856f26c034..6302d6ab5b31 100644 --- a/pkgs/development/libraries/qt-5/5.15/default.nix +++ b/pkgs/development/libraries/qt-5/5.15/default.nix @@ -291,6 +291,7 @@ let inherit debug; fix_qmake_libtool = ../hooks/fix-qmake-libtool.sh; }; + meta.license = lib.licenses.mit; } ../hooks/qmake-hook.sh ) { }; @@ -307,6 +308,7 @@ let makeBinaryWrapper ] ++ lib.optional stdenv.hostPlatform.isLinux qtwayland.dev; + meta.license = lib.licenses.mit; } ../hooks/wrap-qt-apps-hook.sh ) { }; } diff --git a/pkgs/development/libraries/qt-5/modules/qtbase.nix b/pkgs/development/libraries/qt-5/modules/qtbase.nix index cf2b8fdf7e27..1be9cf974bbe 100644 --- a/pkgs/development/libraries/qt-5/modules/qtbase.nix +++ b/pkgs/development/libraries/qt-5/modules/qtbase.nix @@ -576,6 +576,7 @@ stdenv.mkDerivation ( ; debug = debugSymbols; }; + meta.license = lib.licenses.mit; } ../hooks/qtbase-setup-hook.sh; in "${hook}/nix-support/setup-hook"; diff --git a/pkgs/development/libraries/qt-6/default.nix b/pkgs/development/libraries/qt-6/default.nix index 69381ff13e23..dc7233f11a8c 100644 --- a/pkgs/development/libraries/qt-6/default.nix +++ b/pkgs/development/libraries/qt-6/default.nix @@ -134,6 +134,7 @@ let depsTargetTargetPropagated = [ (onlyPluginsAndQml qtbase) ]; + meta.license = lib.licenses.mit; } ./hooks/wrap-qt-apps-hook.sh ) { }; @@ -145,6 +146,7 @@ let substitutions = { fix_qmake_libtool = ./hooks/fix-qmake-libtool.sh; }; + meta.license = lib.licenses.mit; } ./hooks/qmake-hook.sh ) { }; } diff --git a/pkgs/development/libraries/qt-6/modules/qtbase/default.nix b/pkgs/development/libraries/qt-6/modules/qtbase/default.nix index a340abb9ed00..fa3ae210d281 100644 --- a/pkgs/development/libraries/qt-6/modules/qtbase/default.nix +++ b/pkgs/development/libraries/qt-6/modules/qtbase/default.nix @@ -361,6 +361,7 @@ stdenv.mkDerivation { qtQmlPrefix ; }; + meta.license = lib.licenses.mit; } ../../hooks/qtbase-setup-hook.sh; in "${hook}/nix-support/setup-hook"; diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix index 1d2d35271418..866dc6991c50 100644 --- a/pkgs/development/python-modules/pybind11/default.nix +++ b/pkgs/development/python-modules/pybind11/default.nix @@ -26,6 +26,7 @@ let pythonIncludeDir = "${python}/include/${python.libPrefix}"; pythonSitePackages = "${python}/${python.sitePackages}"; }; + meta.license = lib.licenses.mit; } ./setup-hook.sh; in buildPythonPackage (finalAttrs: { diff --git a/pkgs/development/tools/build-managers/gradle/default.nix b/pkgs/development/tools/build-managers/gradle/default.nix index 935aa1915007..5a9906b6cb12 100644 --- a/pkgs/development/tools/build-managers/gradle/default.nix +++ b/pkgs/development/tools/build-managers/gradle/default.nix @@ -28,17 +28,23 @@ let inherit (gradle) version; paths = [ - (makeSetupHook { name = "gradle-setup-hook"; } (concatTextFile { - name = "setup-hook.sh"; - files = [ - (mitm-cache.setupHook) - (replaceVars ./setup-hook.sh { - # jdk used for keytool - inherit (gradle) jdk; - init_script = "${./init-build.gradle}"; - }) - ]; - })) + (makeSetupHook + { + name = "gradle-setup-hook"; + meta.license = lib.licenses.mit; + } + (concatTextFile { + name = "setup-hook.sh"; + files = [ + (mitm-cache.setupHook) + (replaceVars ./setup-hook.sh { + # jdk used for keytool + inherit (gradle) jdk; + init_script = "${./init-build.gradle}"; + }) + ]; + }) + ) gradle mitm-cache ]; diff --git a/pkgs/development/tools/simavr/default.nix b/pkgs/development/tools/simavr/default.nix index e3b1e037e0e6..2fff1584528f 100644 --- a/pkgs/development/tools/simavr/default.nix +++ b/pkgs/development/tools/simavr/default.nix @@ -20,6 +20,7 @@ let darwinSuffixSalt = stdenv.cc.suffixSalt; avrSuffixSalt = avrgcc.suffixSalt; }; + meta.license = lib.licenses.mit; } ./setup-hook-darwin.sh; in diff --git a/pkgs/games/openra_2019/common.nix b/pkgs/games/openra_2019/common.nix index a32f57d69e12..2dccec5f772b 100644 --- a/pkgs/games/openra_2019/common.nix +++ b/pkgs/games/openra_2019/common.nix @@ -47,6 +47,7 @@ let ]; mkdirp = makeSetupHook { name = "openra-mkdirp-hook"; + meta.license = lib.licenses.mit; } ./mkdirp.sh; in diff --git a/pkgs/kde/lib/mk-kde-derivation.nix b/pkgs/kde/lib/mk-kde-derivation.nix index e013644e6908..8408a31f2633 100644 --- a/pkgs/kde/lib/mk-kde-derivation.nix +++ b/pkgs/kde/lib/mk-kde-derivation.nix @@ -77,7 +77,10 @@ let None = null; }; - moveOutputsHook = makeSetupHook { name = "kf6-move-outputs-hook"; } ./move-outputs-hook.sh; + moveOutputsHook = makeSetupHook { + name = "kf6-move-outputs-hook"; + meta.license = lib.licenses.mit; + } ./move-outputs-hook.sh; qmllintHook = makeSetupHook { name = "qmllint-validate-hook"; @@ -85,6 +88,7 @@ let qmllint = "${qt6.qtdeclarative}/bin/qmllint"; jq = lib.getExe jq; }; + meta.license = lib.licenses.mit; } ./qmllint-hook.sh; in { diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/freebsdSetupHook/package.nix b/pkgs/os-specific/bsd/freebsd/pkgs/freebsdSetupHook/package.nix index ef4a14ccf4aa..66ab603fec74 100644 --- a/pkgs/os-specific/bsd/freebsd/pkgs/freebsdSetupHook/package.nix +++ b/pkgs/os-specific/bsd/freebsd/pkgs/freebsdSetupHook/package.nix @@ -1,3 +1,9 @@ -{ makeSetupHook }: +{ + lib, + makeSetupHook, +}: -makeSetupHook { name = "freebsd-setup-hook"; } ./setup-hook.sh +makeSetupHook { + name = "freebsd-setup-hook"; + meta.license = lib.licenses.mit; +} ./setup-hook.sh diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/statHook.nix b/pkgs/os-specific/bsd/freebsd/pkgs/statHook.nix index 4609c004e6f5..6df6edf6970c 100644 --- a/pkgs/os-specific/bsd/freebsd/pkgs/statHook.nix +++ b/pkgs/os-specific/bsd/freebsd/pkgs/statHook.nix @@ -1,4 +1,5 @@ { + lib, makeSetupHook, writeText, stat, @@ -9,8 +10,13 @@ # breaks stdenv. Work around that with a hook that will point # NetBSD's build system and NetBSD stat without including it in # PATH. -makeSetupHook { name = "netbsd-stat-hook"; } ( - writeText "netbsd-stat-hook-impl" '' - makeFlagsArray+=(TOOL_STAT=${stat}/bin/stat) - '' -) +makeSetupHook + { + name = "netbsd-stat-hook"; + meta.license = lib.licenses.mit; + } + ( + writeText "netbsd-stat-hook-impl" '' + makeFlagsArray+=(TOOL_STAT=${stat}/bin/stat) + '' + ) diff --git a/pkgs/os-specific/bsd/netbsd/pkgs/netbsdSetupHook/package.nix b/pkgs/os-specific/bsd/netbsd/pkgs/netbsdSetupHook/package.nix index 31368523ee6f..3963545f7238 100644 --- a/pkgs/os-specific/bsd/netbsd/pkgs/netbsdSetupHook/package.nix +++ b/pkgs/os-specific/bsd/netbsd/pkgs/netbsdSetupHook/package.nix @@ -1,3 +1,9 @@ -{ makeSetupHook }: +{ + lib, + makeSetupHook, +}: -makeSetupHook { name = "netbsd-setup-hook"; } ./setup-hook.sh +makeSetupHook { + name = "netbsd-setup-hook"; + meta.license = lib.licenses.mit; +} ./setup-hook.sh diff --git a/pkgs/os-specific/bsd/netbsd/pkgs/stat/hook.nix b/pkgs/os-specific/bsd/netbsd/pkgs/stat/hook.nix index e38c53a3aac5..b6f60d139f32 100644 --- a/pkgs/os-specific/bsd/netbsd/pkgs/stat/hook.nix +++ b/pkgs/os-specific/bsd/netbsd/pkgs/stat/hook.nix @@ -1,4 +1,5 @@ { + lib, makeSetupHook, writeText, stat, @@ -10,8 +11,13 @@ # NetBSD's build system and NetBSD stat without including it in # PATH. -makeSetupHook { name = "netbsd-stat-hook"; } ( - writeText "netbsd-stat-hook-impl" '' - makeFlagsArray+=(TOOL_STAT=${stat}/bin/stat) - '' -) +makeSetupHook + { + name = "netbsd-stat-hook"; + meta.license = lib.licenses.mit; + } + ( + writeText "netbsd-stat-hook-impl" '' + makeFlagsArray+=(TOOL_STAT=${stat}/bin/stat) + '' + ) diff --git a/pkgs/os-specific/bsd/openbsd/pkgs/compatHook/package.nix b/pkgs/os-specific/bsd/openbsd/pkgs/compatHook/package.nix index 3678b60f658b..3b6237a0e2e2 100644 --- a/pkgs/os-specific/bsd/openbsd/pkgs/compatHook/package.nix +++ b/pkgs/os-specific/bsd/openbsd/pkgs/compatHook/package.nix @@ -1,4 +1,5 @@ { + lib, stdenv, makeSetupHook, compat, @@ -10,4 +11,5 @@ makeSetupHook { inherit compat; inherit (stdenv.cc) suffixSalt; }; + meta.license = lib.licenses.mit; } ./setup-hook.sh diff --git a/pkgs/os-specific/bsd/openbsd/pkgs/openbsdSetupHook/package.nix b/pkgs/os-specific/bsd/openbsd/pkgs/openbsdSetupHook/package.nix index 61147954812f..92d02b3a4468 100644 --- a/pkgs/os-specific/bsd/openbsd/pkgs/openbsdSetupHook/package.nix +++ b/pkgs/os-specific/bsd/openbsd/pkgs/openbsdSetupHook/package.nix @@ -1,3 +1,9 @@ -{ makeSetupHook }: +{ + lib, + makeSetupHook, +}: -makeSetupHook { name = "openbsd-setup-hook"; } ./setup-hook.sh +makeSetupHook { + name = "openbsd-setup-hook"; + meta.license = lib.licenses.mit; +} ./setup-hook.sh diff --git a/pkgs/os-specific/cygwin/cygwin-dll-link-hook/default.nix b/pkgs/os-specific/cygwin/cygwin-dll-link-hook/default.nix index ff9eed6bdeef..0eef68e97dfd 100644 --- a/pkgs/os-specific/cygwin/cygwin-dll-link-hook/default.nix +++ b/pkgs/os-specific/cygwin/cygwin-dll-link-hook/default.nix @@ -11,5 +11,6 @@ makeSetupHook { objdump = "${lib.getBin binutils-unwrapped}/${stdenv.targetPlatform.config}/bin/objdump"; }; + meta.license = lib.licenses.mit; passthru.tests = callPackage ./tests { }; } ./cygwin-dll-link.sh diff --git a/pkgs/os-specific/darwin/by-name/au/autoSignDarwinBinariesHook/package.nix b/pkgs/os-specific/darwin/by-name/au/autoSignDarwinBinariesHook/package.nix index b4d9eda8aba8..0a65b0786906 100644 --- a/pkgs/os-specific/darwin/by-name/au/autoSignDarwinBinariesHook/package.nix +++ b/pkgs/os-specific/darwin/by-name/au/autoSignDarwinBinariesHook/package.nix @@ -1,6 +1,11 @@ -{ signingUtils, makeSetupHook }: +{ + lib, + signingUtils, + makeSetupHook, +}: makeSetupHook { name = "auto-sign-darwin-binaries-hook"; propagatedBuildInputs = [ signingUtils ]; + meta.license = lib.licenses.mit; } ./auto-sign-hook.sh diff --git a/pkgs/os-specific/darwin/by-name/xc/xcodeProjectCheckHook/package.nix b/pkgs/os-specific/darwin/by-name/xc/xcodeProjectCheckHook/package.nix index bf975876a07d..1e6f7197b433 100644 --- a/pkgs/os-specific/darwin/by-name/xc/xcodeProjectCheckHook/package.nix +++ b/pkgs/os-specific/darwin/by-name/xc/xcodeProjectCheckHook/package.nix @@ -1,6 +1,11 @@ -{ makeSetupHook, pkgsBuildHost }: +{ + lib, + makeSetupHook, + pkgsBuildHost, +}: makeSetupHook { name = "xcode-project-check-hook"; propagatedBuildInputs = [ pkgsBuildHost.openssl ]; + meta.license = lib.licenses.mit; } ./setup-hook.sh diff --git a/pkgs/servers/home-assistant/build-custom-component/default.nix b/pkgs/servers/home-assistant/build-custom-component/default.nix index 92b5c2e7d75b..34fb0b24addb 100644 --- a/pkgs/servers/home-assistant/build-custom-component/default.nix +++ b/pkgs/servers/home-assistant/build-custom-component/default.nix @@ -7,7 +7,7 @@ let manifestRequirementsCheckHook = import ./manifest-requirements-check-hook.nix { - inherit makeSetupHook; + inherit lib makeSetupHook; inherit (home-assistant) python; }; in diff --git a/pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.nix b/pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.nix index 757fcf33a633..91cf7fb53f4b 100644 --- a/pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.nix +++ b/pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.nix @@ -1,4 +1,5 @@ { + lib, python, makeSetupHook, }: @@ -9,4 +10,5 @@ makeSetupHook { pythonCheckInterpreter = python.interpreter; checkManifest = ./check_manifest.py; }; + meta.license = lib.licenses.mit; } ./manifest-requirements-check-hook.sh diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3079e6725d50..f3658014c430 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -247,6 +247,7 @@ with pkgs; { makeSetupHook }: makeSetupHook { name = "add-bin-to-path-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/add-bin-to-path.sh ) { }; @@ -276,6 +277,7 @@ with pkgs; gettext libtool ]; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/autoreconf.sh ) { }; @@ -301,6 +303,7 @@ with pkgs; stripJavaArchivesHook = makeSetupHook { name = "strip-java-archives-hook"; propagatedBuildInputs = [ strip-nondeterminism ]; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/strip-java-archives.sh; ensureNewerSourcesHook = @@ -308,6 +311,7 @@ with pkgs; makeSetupHook { name = "ensure-newer-sources-hook"; + meta.license = lib.licenses.mit; } ( writeScript "ensure-newer-sources-hook.sh" '' @@ -345,6 +349,7 @@ with pkgs; runtimeShell = if stdenv.buildPlatform == stdenv.hostPlatform then stdenv.shell else runtimeShell; }; }; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/update-autotools-gnu-config-scripts.sh; gogUnpackHook = makeSetupHook { @@ -353,6 +358,7 @@ with pkgs; innoextract file-rename ]; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/gog-unpack.sh; buildEnv = callPackage ../build-support/buildenv { }; # not actually a package @@ -432,6 +438,7 @@ with pkgs; dieHook = makeSetupHook { name = "die-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/die.sh; devShellTools = callPackage ../build-support/dev-shell-tools { }; @@ -738,10 +745,12 @@ with pkgs; ld-is-cc-hook = makeSetupHook { name = "ld-is-cc-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/ld-is-cc-hook.sh; copyDesktopItems = makeSetupHook { name = "copy-desktop-items-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/copy-desktop-items.sh; makeDesktopItem = callPackage ../build-support/make-desktopitem { }; @@ -761,6 +770,7 @@ with pkgs; copyPkgconfigItems = makeSetupHook { name = "copy-pkg-config-items-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/copy-pkgconfig-items.sh; makePkgconfigItem = callPackage ../build-support/make-pkgconfigitem { }; @@ -792,6 +802,7 @@ with pkgs; passthru = { tests = tests.makeWrapper; }; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/make-wrapper.sh; compressFirmwareXz = callPackage ../build-support/kernel/compress-firmware.nix { type = "xz"; }; @@ -839,6 +850,7 @@ with pkgs; pruneLibtoolFiles = makeSetupHook { name = "prune-libtool-files"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/prune-libtool-files.sh; closureInfo = callPackage ../build-support/closure-info.nix { }; @@ -848,6 +860,7 @@ with pkgs; shortenPerlShebang = makeSetupHook { name = "shorten-perl-shebang-hook"; propagatedBuildInputs = [ dieHook ]; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/shorten-perl-shebang.sh; singularity-tools = callPackage ../build-support/singularity-tools { }; @@ -906,6 +919,7 @@ with pkgs; setJavaClassPath = makeSetupHook { name = "set-java-classpath-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/set-java-classpath.sh; fixDarwinDylibNames = callPackage ( @@ -917,7 +931,10 @@ with pkgs; makeSetupHook { name = "fix-darwin-dylib-names-hook"; substitutions = { inherit (targetPackages.stdenv.cc) targetPrefix; }; - meta.platforms = lib.platforms.darwin; + meta = { + platforms = lib.platforms.darwin; + license = lib.licenses.mit; + }; } ../build-support/setup-hooks/fix-darwin-dylib-names.sh ) { }; @@ -931,18 +948,22 @@ with pkgs; imagemagick (onlyBin python3Packages.icnsutil) ]; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/desktop-to-darwin-bundle.sh; keepBuildTree = makeSetupHook { name = "keep-build-tree-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/keep-build-tree.sh; moveBuildTree = makeSetupHook { name = "move-build-tree-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/move-build-tree.sh; enableGCOVInstrumentation = makeSetupHook { name = "enable-gcov-instrumentation-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/enable-coverage-instrumentation.sh; makeGCOVReport = makeSetupHook { @@ -951,6 +972,7 @@ with pkgs; lcov enableGCOVInstrumentation ]; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/make-coverage-analysis-report.sh; makeHardcodeGsettingsPatch = callPackage ../build-support/make-hardcode-gsettings-patch { }; @@ -960,6 +982,7 @@ with pkgs; findXMLCatalogs = makeSetupHook { name = "find-xml-catalogs-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/find-xml-catalogs.sh; wrapGAppsHook3 = wrapGAppsNoGuiHook.override { @@ -977,21 +1000,25 @@ with pkgs; separateDebugInfo = makeSetupHook { name = "separate-debug-info-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/separate-debug-info.sh; setupDebugInfoDirs = makeSetupHook { name = "setup-debug-info-dirs-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/setup-debug-info-dirs.sh; writableTmpDirAsHomeHook = callPackage ( { makeSetupHook }: makeSetupHook { name = "writable-tmpdir-as-home-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/writable-tmpdir-as-home.sh ) { }; useOldCXXAbi = makeSetupHook { name = "use-old-cxx-abi-hook"; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/use-old-cxx-abi.sh; validatePkgConfig = makeSetupHook { @@ -1000,6 +1027,7 @@ with pkgs; findutils pkg-config ]; + meta.license = lib.licenses.mit; } ../build-support/setup-hooks/validate-pkg-config.sh; #package writers @@ -1819,6 +1847,7 @@ with pkgs; exe_wrapper = '${lib.escape [ "'" "\\" ] (stdenv.targetPlatform.emulator pkgs)}' ''; }; + meta.license = lib.licenses.mit; } # The throw is moved into the `makeSetupHook` derivation, so that its # outer level, but not its outPath can still be evaluated if the condition @@ -2146,7 +2175,7 @@ with pkgs; diffutils = callPackage ../tools/text/diffutils { }; - inherit (import ../build-support/dlang/dub-support.nix { inherit callPackage; }) + inherit (import ../build-support/dlang/dub-support.nix { inherit lib callPackage; }) dub-to-nix importDubLock buildDubPackage @@ -5903,6 +5932,7 @@ with pkgs; xcbuildHook = makeSetupHook { name = "xcbuild-hook"; propagatedBuildInputs = [ xcbuild ]; + meta.license = lib.licenses.mit; } ../by-name/xc/xcbuild/setup-hook.sh; xcodebuild = xcbuild; @@ -7427,6 +7457,7 @@ with pkgs; darwinMinVersionVariable = lib.escapeShellArg stdenv.hostPlatform.darwinMinVersionVariable; deploymentTarget = lib.escapeShellArg deploymentTarget; }; + meta.license = lib.licenses.mit; } ../os-specific/darwin/darwin-min-version-hook/setup-hook.sh; ### DEVELOPMENT / TESTING TOOLS @@ -11902,6 +11933,7 @@ with pkgs; bsdSetupHook = makeSetupHook { name = "bsd-setup-hook"; + meta.license = lib.licenses.mit; } ../os-specific/bsd/setup-hook.sh; freebsd = callPackage ../os-specific/bsd/freebsd { };