2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, buildHomeAssistantComponent
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pysmartthings
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildHomeAssistantComponent rec {
|
|
|
|
owner = "samuelspagl";
|
|
|
|
domain = "samsung_soundbar";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.4.0b4";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit owner;
|
|
|
|
repo = "ha_samsung_soundbar";
|
|
|
|
rev = version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-SwIB2w7iBFdyDfwm5WSDF59YVR8ou6Le0PLUMidS1vk=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pysmartthings ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A HomeAssistant integration for Samsung Soundbars";
|
|
|
|
homepage = "https://ha-samsung-soundbar.vercel.app/";
|
|
|
|
changelog = "https://github.com/samuelspagl/ha_samsung_soundbar/releases/tag/${version}";
|
|
|
|
maintainers = with maintainers; [ k900 ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|