Commit 439cbb37 authored by Ryan Horiguchi's avatar Ryan Horiguchi
Browse files

home-assistant-custom-components.localtuya: init at 5.2.1

parent d3c09ae0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@

  gpio = callPackage ./gpio {};

  localtuya = callPackage ./localtuya {};

  miele = callPackage ./miele {};

  prometheus_sensor = callPackage ./prometheus_sensor {};
+25 −0
Original line number Diff line number Diff line
{ lib
, buildHomeAssistantComponent
, fetchFromGitHub
}:

buildHomeAssistantComponent rec {
  owner = "rospogrigio";
  domain = "localtuya";
  version = "5.2.1";

  src = fetchFromGitHub {
    owner = "rospogrigio";
    repo = "localtuya";
    rev = "v${version}";
    hash = "sha256-hA/1FxH0wfM0jz9VqGCT95rXlrWjxV5oIkSiBf0G0ac=";
  };

  meta = with lib; {
    changelog = "https://github.com/rospogrigio/localtuya/releases/tag/${version}";
    description = "A Home Assistant custom Integration for local handling of Tuya-based devices";
    homepage = "https://github.com/rospogrigio/localtuya";
    maintainers = with maintainers; [ rhoriguchi ];
    license = licenses.gpl3Only;
  };
}