Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

30 lines
791 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";
tag = "v${version}";
hash = "sha256-anOcpaGeblFVaP2EFVuxx1EuXnNgxy/QoYqvYJMv1Fo=";
};
dependencies = [ somweb ];
meta = {
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 lib.maintainers; [ uvnikita ];
license = lib.licenses.mit;
};
}