about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/home-assistant/custom-components/frigate/default.nix
blob: 0065c94b6ebcf8c8f322f5a0c50dbc395be2455a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, fetchFromGitHub
, buildHomeAssistantComponent
, pytz
}:

buildHomeAssistantComponent rec {
  owner = "presto8";
  domain = "frigate";
  version = "5.1.0";

  src = fetchFromGitHub {
    owner = "blakeblackshear";
    repo = "frigate-hass-integration";
    rev = "v${version}";
    hash = "sha256-6W9U0Q0wW36RsErvtFQo1sc1AF7js6MMHxgMQcDFexw=";
  };

  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;
  };
}