Files
nix-config/packages/homeassistant/ha-openhasp/default.nix
mjallen18 aed841d32e hass
2026-03-26 11:42:19 -05:00

29 lines
837 B
Nix

{
buildHomeAssistantComponent,
fetchFromGitHub,
home-assistant,
...
}:
buildHomeAssistantComponent rec {
owner = "HASwitchPlate";
domain = "openhasp";
version = "0.7.8";
src = fetchFromGitHub {
owner = owner;
repo = "openHASP-custom-component";
rev = version;
hash = "sha256-5h1EqwpnsmWexqB3J/X4OcN9bfBYUxGxLF1Hrmoi5LY=";
};
# Use HA's own Python (3.14) packages to satisfy the manifest check for jsonschema
nativeBuildInputs = [ home-assistant.python.pkgs.jsonschema ];
meta = {
changelog = "https://github.com/HASwitchPlate/openHASP-custom-component/releases/tag/${version}";
description = "This custom component simplifies synchronization of objects on one or more openHASP";
homepage = "https://github.com/HASwitchPlate/openHASP-custom-component";
maintainers = [ ];
};
}