depot/pkgs/servers/home-assistant/custom-components/solax_modbus/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

29 lines
847 B
Nix

{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
pymodbus,
}:
buildHomeAssistantComponent rec {
owner = "wills106";
domain = "solax_modbus";
version = "2024.11.1";
src = fetchFromGitHub {
owner = "wills106";
repo = "homeassistant-solax-modbus";
rev = "refs/tags/${version}";
hash = "sha256-AzzTJ1W1lwLkewanVC2HxC89Zg1OyLRJ2xPtHWXVr6c=";
};
dependencies = [ pymodbus ];
meta = {
changelog = "https://github.com/wills106/homeassistant-solax-modbus/releases/tag/${version}";
description = "SolaX Power Modbus custom_component for Home Assistant (Supports some Ginlong Solis, Growatt, Sofar Solar, TIGO TSI & Qcells Q.Volt Hyb)";
homepage = "https://github.com/wills106/homeassistant-solax-modbus";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ Luflosi ];
};
}