home-assistant-custom-components.moonraker: init at v1.1.1 (#296366)

This commit is contained in:
9R 2024-03-16 13:37:58 +01:00 committed by GitHub
parent cfa2922e6b
commit 2f14590233
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 37 additions and 0 deletions

View File

@ -20,6 +20,8 @@
miele = callPackage ./miele {};
moonraker = callPackage ./moonraker {};
omnik_inverter = callPackage ./omnik_inverter {};
prometheus_sensor = callPackage ./prometheus_sensor {};

View File

@ -0,0 +1,35 @@
{ lib
, fetchFromGitHub
, buildHomeAssistantComponent
, moonraker-api
}:
buildHomeAssistantComponent rec {
owner = "marcolivierarsenault";
domain = "moonraker";
version = "1.1.1";
src = fetchFromGitHub {
owner = "marcolivierarsenault";
repo = "moonraker-home-assistant";
rev = "refs/tags/${version}";
hash = "sha256-jxMi4hmSVBU9ztoHxFINoJo8klirfo6j7gWty7FXFkQ=";
};
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;
};
}