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
46 lines
1.0 KiB
Nix
46 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildHomeAssistantComponent,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
pytest-cov-stub,
|
|
pytest-homeassistant-custom-component,
|
|
|
|
# dependency
|
|
moonraker-api,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "marcolivierarsenault";
|
|
domain = "moonraker";
|
|
version = "1.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marcolivierarsenault";
|
|
repo = "moonraker-home-assistant";
|
|
tag = version;
|
|
hash = "sha256-U4vjWFUZlxRPIrK9YXuYzPCMAjdQGoPXewmDessWh+c=";
|
|
};
|
|
|
|
dependencies = [
|
|
moonraker-api
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-homeassistant-custom-component
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
];
|
|
|
|
#skip phases with nothing to do
|
|
dontConfigure = true;
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/marcolivierarsenault/moonraker-home-assistant/releases/tag/${version}";
|
|
description = "Custom integration for Moonraker and Klipper in Home Assistant";
|
|
homepage = "https://github.com/marcolivierarsenault/moonraker-home-assistant";
|
|
maintainers = with maintainers; [ _9R ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|