mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
08eee7bd7a
So we don't need to manually maintain `pkgs/servers/home-assistant/custom-components/default.nix` anymore
35 lines
861 B
Nix
35 lines
861 B
Nix
{ lib
|
|
, buildHomeAssistantComponent
|
|
, fetchFromGitHub
|
|
, charset-normalizer
|
|
, pycountry
|
|
, xmltodict
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "ollo69";
|
|
domain = "smartthinq_sensors";
|
|
version = "0.40.3";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit owner;
|
|
repo = "ha-smartthinq-sensors";
|
|
rev = "v${version}";
|
|
hash = "sha256-mcxXBnVGrlVxbSi+IwmGJiWqy5PlQmHQl+hgW6i7NFc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
charset-normalizer
|
|
pycountry
|
|
xmltodict
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Home Assistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface";
|
|
homepage = "https://github.com/ollo69/ha-smartthinq-sensors";
|
|
changelog = "https://github.com/ollo69/ha-smartthinq-sensors/releases/tag/v${version}";
|
|
maintainers = with maintainers; [ k900 ];
|
|
license = licenses.asl20;
|
|
};
|
|
}
|