depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/sensi/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

30 lines
685 B
Nix

{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
websockets,
}:
buildHomeAssistantComponent rec {
owner = "iprak";
domain = "sensi";
version = "1.3.4";
src = fetchFromGitHub {
inherit owner;
repo = domain;
rev = "refs/tags/v${version}";
hash = "sha256-NbK9h0nvcWNSwsc04YgjqKl+InijxftPJ3SLCQF/Hns=";
};
propagatedBuildInputs = [
websockets
];
meta = with lib; {
changelog = "https://github.com/iprak/sensi/releases/tag/v${version}";
description = "HomeAssistant integration for Sensi thermostat";
homepage = "https://github.com/iprak/sensi";
maintainers = with maintainers; [ ivan ];
license = licenses.mit;
};
}