about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorBreland Miley <breland@bdawg.org>2023-12-07 10:14:36 -0500
committerMartin Weinelt <mweinelt@users.noreply.github.com>2023-12-07 16:25:26 +0100
commit2453c821f0a89bd579ac06f6a84152f41ee0c68b (patch)
tree840e4b0344e53fecbcffa17d9a3b7be9e3c819c6 /pkgs
parentcf117dbdd36b88310b788bf1b1e1ce54e061e39c (diff)
home-assistant-custom-components.adaptive_lighting: init at 1.19.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/servers/home-assistant/custom-components/adaptive_lighting/default.nix30
-rw-r--r--pkgs/servers/home-assistant/custom-components/default.nix1
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/custom-components/adaptive_lighting/default.nix b/pkgs/servers/home-assistant/custom-components/adaptive_lighting/default.nix
new file mode 100644
index 0000000000000..1d2ae2228a5b2
--- /dev/null
+++ b/pkgs/servers/home-assistant/custom-components/adaptive_lighting/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, fetchFromGitHub
+, buildHomeAssistantComponent
+, ulid-transform
+}:
+
+buildHomeAssistantComponent rec {
+  owner = "basnijholt";
+  domain = "adaptive_lighting";
+  version = "1.19.1";
+
+  src = fetchFromGitHub {
+    owner = "basnijholt";
+    repo = "adaptive-lighting";
+    rev = "refs/tags/${version}";
+    hash = "sha256-AZsloE1vNQ9o2pg878J6I5qYXyI4fqYEvr18SrTocWo=";
+  };
+
+  propagatedBuildInputs = [
+    ulid-transform
+  ];
+
+  meta = with lib; {
+    changelog = "https://github.com/basnijholt/adaptive-lighting/releases/tag/${version}";
+    description = "Home Assistant Adaptive Lighting Plugin - Sun Synchronized Lighting";
+    homepage = "https://github.com/basnijholt/adaptive-lighting";
+    maintainers = with maintainers; [ mindstorms6 ];
+    license = licenses.asl20;
+  };
+}
diff --git a/pkgs/servers/home-assistant/custom-components/default.nix b/pkgs/servers/home-assistant/custom-components/default.nix
index 9e1800b39cb94..c3ca4467d7cd8 100644
--- a/pkgs/servers/home-assistant/custom-components/default.nix
+++ b/pkgs/servers/home-assistant/custom-components/default.nix
@@ -2,6 +2,7 @@
 }:
 
 {
+  adaptive_lighting = callPackage ./adaptive_lighting {};
   miele = callPackage ./miele {};
   prometheus_sensor = callPackage ./prometheus_sensor {};
 }