Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
593 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
}:
buildHomeAssistantComponent rec {
owner = "pnbruckner";
domain = "sun2";
version = "3.4.1";
src = fetchFromGitHub {
inherit owner;
repo = "ha-sun2";
tag = version;
hash = "sha256-VzlwmAzebxykE9rIhAiAFkEOvbh2UkgNMGQaysDA9D4=";
};
meta = rec {
description = "Home Assistant Sun2 sensor";
homepage = "https://github.com/pnbruckner/ha-sun2";
changelog = "${homepage}/releases/tag/${version}";
maintainers = with lib.maintainers; [ sephalon ];
license = lib.licenses.unlicense;
};
}