Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
815 B
Nix
36 lines
815 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildHomeAssistantComponent,
|
|
dirigera,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "sanjoyg";
|
|
domain = "dirigera_platform";
|
|
version = "2.6.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sanjoyg";
|
|
repo = "dirigera_platform";
|
|
rev = version;
|
|
hash = "sha256-FNcGl6INQlVP+P3qmExWLI1ALh9ZacjJAbNKRtgM3ms=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace custom_components/dirigera_platform/manifest.json \
|
|
--replace-fail "0.0.1" "${version}"
|
|
'';
|
|
|
|
dependencies = [ dirigera ];
|
|
|
|
ignoreVersionRequirement = [ "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;
|
|
};
|
|
}
|