summaryrefslogtreecommitdiff
path: root/hostnix/elmo/home-assistant
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/elmo/home-assistant')
-rw-r--r--hostnix/elmo/home-assistant/auth_header.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/hostnix/elmo/home-assistant/auth_header.nix b/hostnix/elmo/home-assistant/auth_header.nix
new file mode 100644
index 0000000..480598e
--- /dev/null
+++ b/hostnix/elmo/home-assistant/auth_header.nix
@@ -0,0 +1,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;
+ };
+}