diff --git a/pkgs/servers/home-assistant/custom-components/mass-queue/package.nix b/pkgs/servers/home-assistant/custom-components/mass-queue/package.nix new file mode 100644 index 000000000000..333f562ecead --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/mass-queue/package.nix @@ -0,0 +1,34 @@ +{ + lib, + fetchFromGitHub, + buildHomeAssistantComponent, + music-assistant-client, +}: + +buildHomeAssistantComponent rec { + owner = "droans"; + domain = "mass_queue"; + version = "0.10.1"; + + src = fetchFromGitHub { + inherit owner; + repo = "mass_queue"; + tag = "v${version}"; + hash = "sha256-Q41/DAwXByeq0Qim3U735XYpLsI2DQqe5r1mJ3N/I2w="; + }; + + dependencies = [ + music-assistant-client + ]; + + # tests are being fixed in https://github.com/droans/mass_queue/pull/107 + doCheck = false; + + meta = { + changelog = "https://github.com/droans/mass_queue/releases/tag/${src.tag}"; + description = "Actions to control player queues for Music Assistant"; + homepage = "https://github.com/droans/mass_queue"; + maintainers = with lib.maintainers; [ SuperSandro2000 ]; + license = lib.licenses.mit; + }; +}