1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: add HASS bambulab integration and some other components

This commit is contained in:
oddlama 2025-01-26 18:01:39 +01:00
parent 8277a85746
commit 0edc440f81
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 52 additions and 6 deletions

View file

@ -0,0 +1,31 @@
{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
cloudscraper,
}:
buildHomeAssistantComponent rec {
owner = "greghesp";
domain = "bambu_lab";
version = "2.0.40";
src = fetchFromGitHub {
owner = "greghesp";
repo = "ha-bambulab";
rev = "v${version}";
sha256 = "sha256-ygbNq7B/ZBQ8/al9ADPSru+VpzmMESwxhKA0YkKKOrE=";
};
dependencies = [
cloudscraper
];
meta = {
changelog = "https://github.com/greghesp/ha-bambulab/releases/tag/v${version}";
description = "A Home Assistant Integration for Bambu Lab Printers";
homepage = "https://github.com/greghesp/ha-bambulab";
maintainers = with lib.maintainers; [ oddlama ];
license = lib.licenses.mit;
};
}