31 lines
780 B
Nix
31 lines
780 B
Nix
|
{
|
||
|
lib,
|
||
|
fetchFromGitHub,
|
||
|
buildHomeAssistantComponent,
|
||
|
}:
|
||
|
buildHomeAssistantComponent rec {
|
||
|
owner = "iMicknl";
|
||
|
domain = "nest_protect";
|
||
|
version = "0.3.12";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
inherit owner;
|
||
|
repo = "ha-nest-protect";
|
||
|
rev = "refs/tags/v${version}";
|
||
|
hash = "sha256-IiHndx+mQVfpMLisiRwSEhrFJ3mJ4qaWTxZrubowkQs=";
|
||
|
};
|
||
|
|
||
|
dontBuild = true;
|
||
|
|
||
|
# AttributeError: 'async_generator' object has no attribute 'data'
|
||
|
doCheck = false;
|
||
|
|
||
|
meta = with lib; {
|
||
|
changelog = "https://github.com/iMicknl/ha-nest-protect/releases/tag/v${version}";
|
||
|
description = "Nest Protect integration for Home Assistant";
|
||
|
homepage = "https://github.com/iMicknl/ha-nest-protect";
|
||
|
maintainers = with maintainers; [ jamiemagee ];
|
||
|
license = licenses.mit;
|
||
|
};
|
||
|
}
|