36 lines
927 B
Nix
36 lines
927 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildHomeAssistantComponent,
|
|
moonraker-api,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "marcolivierarsenault";
|
|
domain = "moonraker";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marcolivierarsenault";
|
|
repo = "moonraker-home-assistant";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-wdbomvpRvadWjxi8c6D9dhdXmWnSuVxmEPZCX8WmC5M=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
moonraker-api
|
|
];
|
|
|
|
#skip phases with nothing to do
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
doCheck = false;
|
|
|
|
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;
|
|
};
|
|
}
|