depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/frigate/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

32 lines
820 B
Nix

{ lib
, fetchFromGitHub
, buildHomeAssistantComponent
, pytz
}:
buildHomeAssistantComponent rec {
owner = "presto8";
domain = "frigate";
version = "5.2.0";
src = fetchFromGitHub {
owner = "blakeblackshear";
repo = "frigate-hass-integration";
rev = "v${version}";
hash = "sha256-OWpOYNVzowdn0iZfJwhdMrAYeqDpNJvSwHpsJX9fDk4=";
};
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;
};
}