nixpkgs/pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.nix
Martin Weinelt b2d6597ee4
buildHomeAssistantComponent: Increase manifest check robustness
- Find and check all manifest files
- Allow ignoring too tight version constraints
2024-12-12 03:52:41 +01:00

13 lines
236 B
Nix

{
python,
makeSetupHook,
}:
makeSetupHook {
name = "manifest-check-hook";
substitutions = {
pythonCheckInterpreter = python.interpreter;
checkManifest = ./check_manifest.py;
};
} ./manifest-requirements-check-hook.sh