about summary refs log tree commit diff
path: root/pkgs/servers/home-assistant
diff options
context:
space:
mode:
authorMatt Moriarity <matt@mattmoriarity.com>2024-03-02 13:05:35 -0700
committerMatt Moriarity <matt@mattmoriarity.com>2024-03-02 13:22:01 -0700
commitbd456c39788658892080f6ddc1722abe3ee7bbd9 (patch)
treea49e2c3ea1fe30fc473d18d216ea463c7d24531d /pkgs/servers/home-assistant
parent1536926ef5621b09bba54035ae2bb6d806d72ac8 (diff)
downloadnixlib-bd456c39788658892080f6ddc1722abe3ee7bbd9.tar
nixlib-bd456c39788658892080f6ddc1722abe3ee7bbd9.tar.gz
nixlib-bd456c39788658892080f6ddc1722abe3ee7bbd9.tar.bz2
nixlib-bd456c39788658892080f6ddc1722abe3ee7bbd9.tar.lz
nixlib-bd456c39788658892080f6ddc1722abe3ee7bbd9.tar.xz
nixlib-bd456c39788658892080f6ddc1722abe3ee7bbd9.tar.zst
nixlib-bd456c39788658892080f6ddc1722abe3ee7bbd9.zip
home-assistant-custom-components.auth-header: init at 1.10-unstable-2024-02-26
Diffstat (limited to 'pkgs/servers/home-assistant')
-rw-r--r--pkgs/servers/home-assistant/custom-components/auth-header/default.nix27
-rw-r--r--pkgs/servers/home-assistant/custom-components/default.nix2
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/custom-components/auth-header/default.nix b/pkgs/servers/home-assistant/custom-components/auth-header/default.nix
new file mode 100644
index 000000000000..9062b138590c
--- /dev/null
+++ b/pkgs/servers/home-assistant/custom-components/auth-header/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildHomeAssistantComponent
+, fetchFromGitHub
+}:
+
+buildHomeAssistantComponent rec {
+  owner = "BeryJu";
+  domain = "auth_header";
+  version = "1.10-unstable-2024-02-26";
+
+  src = fetchFromGitHub {
+    inherit owner;
+    repo = "hass-auth-header";
+    rev = "5923cb33b57a9d3c23513d54cc74b02ebd243409";
+    hash = "sha256-ZYd1EduzoljaY3OnpjsKEAwtf03435zJmZtgqzbdjjA=";
+  };
+
+  # build step just runs linter
+  dontBuild = true;
+
+  meta = with lib; {
+    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;
+  };
+}
diff --git a/pkgs/servers/home-assistant/custom-components/default.nix b/pkgs/servers/home-assistant/custom-components/default.nix
index 7a2cd3776a9a..8fc059586bd0 100644
--- a/pkgs/servers/home-assistant/custom-components/default.nix
+++ b/pkgs/servers/home-assistant/custom-components/default.nix
@@ -4,6 +4,8 @@
 {
   adaptive_lighting = callPackage ./adaptive_lighting {};
 
+  auth-header = callPackage ./auth-header {};
+
   emporia_vue = callPackage ./emporia_vue {};
 
   govee-lan = callPackage ./govee-lan {};