Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
1.0 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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;
};
}