Skip to content

Commit

Permalink
home-assistant-custom-lovelace-modules.dirigera_platform: init at 2.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoriguchi committed Nov 10, 2024
1 parent f4cac4e commit 097750e
Showing 1 changed file with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
dirigera,
}:

buildHomeAssistantComponent rec {
owner = "sanjoyg";
domain = "dirigera_platform";
version = "2.6.4";

src = fetchFromGitHub {
owner = "sanjoyg";
repo = "dirigera_platform";
rev = version;
hash = "sha256-ftJUmJ5UWgm22YBfCIBAxRjG+niougw5ekrQNuSRgzI=";
};

propagatedBuildInputs = [
dirigera
];

postPatch = ''
substituteInPlace custom_components/dirigera_platform/manifest.json \
--replace-fail "0.0.1" "${version}"
'';

meta = with lib; {
description = "Home-assistant integration for IKEA Dirigera hub";
homepage = "https://github.com/sanjoyg/dirigera_platform";
maintainers = with maintainers; [ rhoriguchi ];
license = licenses.mit;
};
}

0 comments on commit 097750e

Please sign in to comment.