29 lines
725 B
Nix
29 lines
725 B
Nix
|
{ lib
|
||
|
, buildHomeAssistantComponent
|
||
|
, fetchFromGitHub
|
||
|
, pysmartthings
|
||
|
}:
|
||
|
|
||
|
buildHomeAssistantComponent rec {
|
||
|
owner = "samuelspagl";
|
||
|
domain = "samsung_soundbar";
|
||
|
version = "0.4.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
inherit owner;
|
||
|
repo = "ha_samsung_soundbar";
|
||
|
rev = version;
|
||
|
hash = "sha256-uhyUQebAx4g1PT/urbyx8EZNFE9vIY0bUAKmgCwY3aQ=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ pysmartthings ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "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;
|
||
|
};
|
||
|
}
|