depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/moonraker/package.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

35 lines
921 B
Nix

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