29 lines
708 B
Nix
29 lines
708 B
Nix
{
|
|
buildHomeAssistantComponent,
|
|
fetchFromGitHub,
|
|
pkgs,
|
|
namespace,
|
|
...
|
|
}:
|
|
buildHomeAssistantComponent rec {
|
|
owner = "adamoutler";
|
|
domain = "anycubic_wifi";
|
|
version = "HACS-10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = owner;
|
|
repo = "anycubic-homeassistant";
|
|
rev = version;
|
|
hash = "sha256-TfZadwgdEJR11MaL+nfIgEYld3trWg3v6lOHSoxQ98Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgs.${namespace}.uart-wifi ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/adamoutler/anycubic-homeassistant/releases/tag/${version}";
|
|
description = "This is a library to provide support for Mono X Printers.";
|
|
homepage = "https://github.com/adamoutler/anycubic-homeassistant";
|
|
maintainers = [ ];
|
|
};
|
|
}
|