mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
home-assistant-custom-lovelace-modules.dirigera_platform: init at 2.6.4 (#350542)
This commit is contained in:
parent
799b1af3b4
commit
2544da75c5
@ -0,0 +1,33 @@
|
||||
{
|
||||
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=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace custom_components/dirigera_platform/manifest.json \
|
||||
--replace-fail "0.0.1" "${version}"
|
||||
'';
|
||||
|
||||
dependencies = [ dirigera ];
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user