Unverified Commit 40fcde85 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

home-assistant-custom-components.hassio-ecoflow-cloud: init at 1.3.0 (#444130)

parents 366b20b3 ffb1364b
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  lib,
  buildHomeAssistantComponent,
  fetchFromGitHub,
  jsonpath-ng,
  paho-mqtt,
  protobuf,
  nix-update-script,
}:

buildHomeAssistantComponent rec {
  owner = "tolwi";
  domain = "ecoflow_cloud";
  version = "1.3.0";

  src = fetchFromGitHub {
    owner = "tolwi";
    repo = "hassio-ecoflow-cloud";
    tag = "v${version}";
    hash = "sha256-CVm5+zLWN/ayhHRNFUr4PLwedwf4GJXvLOFgrh2qxAc=";
  };

  dependencies = [
    jsonpath-ng
    paho-mqtt
    protobuf
  ];

  passthru.updateScript = nix-update-script { };

  meta = {
    changelog = "https://github.com/tolwi/hassio-ecoflow-cloud/releases/tag/v${version}";
    description = "Home Assistant component for EcoFlow Cloud";
    homepage = "https://github.com/tolwi/hassio-ecoflow-cloud";
    maintainers = with lib.maintainers; [ ananthb ];
    # license = lib.licenses.asl20;
  };
}