summaryrefslogtreecommitdiff
path: root/hostnix/elmo/home-assistant/auth_header.nix
blob: 480598e8249acd9ed6d27169fd3b5feb04defc81 (plain)
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
{
  lib,
  buildHomeAssistantComponent,
  fetchFromGitHub,
}:

buildHomeAssistantComponent rec {
  owner = "BeryJu";
  domain = "auth_header";
  version = "1.12";

  src = fetchFromGitHub {
    inherit owner;
    repo = "hass-auth-header";
    tag = "v${version}";
    hash = "sha256-BPG/G6IM95g9ip2OsPmcAebi2ZvKHUpFzV4oquOFLPM=";
  };

  # isort: command not found
  dontBuild = true;

  meta = with lib; {
    changelog = "https://github.com/BeryJu/hass-auth-header/releases/tag/v${version}";
    description = "Home Assistant custom component which allows you to delegate authentication to a reverse proxy";
    homepage = "https://github.com/BeryJu/hass-auth-header";
    maintainers = with maintainers; [ mjm ];
    license = licenses.gpl3;
  };
}