depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/somweb/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

29 lines
803 B
Nix

{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
somweb,
}:
buildHomeAssistantComponent rec {
owner = "taarskog";
domain = "somweb";
version = "1.1.0";
src = fetchFromGitHub {
inherit owner;
repo = "home-assistant-component-somweb";
rev = "refs/tags/v${version}";
hash = "sha256-anOcpaGeblFVaP2EFVuxx1EuXnNgxy/QoYqvYJMv1Fo=";
};
dependencies = [ somweb ];
meta = with lib; {
changelog = "https://github.com/taarskog/home-assistant-component-somweb/releases/tag/v${version}";
description = "Custom component for Home Assistant to manage garage doors and gates by Sommer through SOMweb";
homepage = "https://github.com/taarskog/home-assistant-component-somweb";
maintainers = with maintainers; [ uvnikita ];
license = licenses.mit;
};
}