mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
home-assistant-custom-components.moonraker: init at v1.1.1 (#296366)
This commit is contained in:
parent
cfa2922e6b
commit
2f14590233
@ -20,6 +20,8 @@
|
||||
|
||||
miele = callPackage ./miele {};
|
||||
|
||||
moonraker = callPackage ./moonraker {};
|
||||
|
||||
omnik_inverter = callPackage ./omnik_inverter {};
|
||||
|
||||
prometheus_sensor = callPackage ./prometheus_sensor {};
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user