depot/pkgs/servers/home-assistant/custom-components/adaptive_lighting/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
788 B
Nix

{ lib
, fetchFromGitHub
, buildHomeAssistantComponent
, ulid-transform
}:
buildHomeAssistantComponent rec {
owner = "basnijholt";
domain = "adaptive_lighting";
version = "1.23.0";
src = fetchFromGitHub {
owner = "basnijholt";
repo = "adaptive-lighting";
rev = "refs/tags/${version}";
hash = "sha256-Yq8mKk2j2CHyHvwyej0GeFQhuy1MFXwt0o+lDOGwrBU=";
};
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;
};
}