30 lines
683 B
Nix
30 lines
683 B
Nix
{
|
|
buildHomeAssistantComponent,
|
|
fetchFromGitHub,
|
|
home-assistant,
|
|
...
|
|
}:
|
|
buildHomeAssistantComponent rec {
|
|
owner = "greghesp";
|
|
domain = "bambu_lab";
|
|
version = "v2.2.20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = owner;
|
|
repo = "ha-bambulab";
|
|
rev = version;
|
|
hash = "sha256-lKKfPWWcri2OUM9nkdY2iltvIaoFhnUP4HGBGDUnEww=";
|
|
};
|
|
|
|
nativeBuildInputs = with home-assistant.python.pkgs; [
|
|
beautifulsoup4
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/greghesp/ha-bambulab/releases/tag/${version}";
|
|
description = "A Home Assistant Integration for Bambu Lab printers.";
|
|
homepage = "https://github.com/greghesp/ha-bambulab";
|
|
maintainers = [ ];
|
|
};
|
|
}
|