2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildHomeAssistantComponent
|
|
|
|
, pytz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildHomeAssistantComponent rec {
|
|
|
|
owner = "presto8";
|
|
|
|
domain = "frigate";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "5.2.0";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "blakeblackshear";
|
|
|
|
repo = "frigate-hass-integration";
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-OWpOYNVzowdn0iZfJwhdMrAYeqDpNJvSwHpsJX9fDk4=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytz
|
|
|
|
];
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Provides Home Assistant integration to interface with a separately running Frigate service";
|
|
|
|
homepage = "https://github.com/blakeblackshear/frigate-hass-integration";
|
|
|
|
changelog = "https://github.com/blakeblackshear/frigate-hass-integration/releases/tag/v${version}";
|
|
|
|
maintainers = with maintainers; [ presto8 ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|