diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 463589fd1dcf..e8ffaee8fea3 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -16578,6 +16578,13 @@ githubId = 22592293; name = "Kartik Gokte"; }; + nullcube = { + email = "nullcub3@gmail.com"; + name = "NullCube"; + github = "nullcub3"; + githubId = 51034487; + matrix = "@nullcube:matrix.org"; + }; nullishamy = { email = "spam@amyerskine.me"; name = "nullishamy"; diff --git a/pkgs/servers/home-assistant/custom-components/frigidaire/package.nix b/pkgs/servers/home-assistant/custom-components/frigidaire/package.nix new file mode 100644 index 000000000000..8e74450717f8 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/frigidaire/package.nix @@ -0,0 +1,31 @@ +{ + lib, + buildHomeAssistantComponent, + fetchFromGitHub, + frigidaire, +}: +buildHomeAssistantComponent rec { + owner = "bm1549"; + domain = "frigidaire"; + version = "0.1.1"; + + src = fetchFromGitHub { + inherit owner; + repo = "home-assistant-frigidaire"; + tag = version; + hash = "sha256-Jynm0e5y/mSgyd5Pyus+nIVV3XSjsm5z+oNuGIhCu9s="; + }; + + dependencies = [ frigidaire ]; + + # NOTE: The manifest.json specifies an exact version requirement for the + # frigidaire dependency + ignoreVersionRequirement = [ "frigidaire" ]; + + meta = { + description = "Custom component for the Frigidaire integration"; + homepage = "https://github.com/bm1549/home-assistant-frigidaire"; + maintainers = with lib.maintainers; [ nullcube ]; + license = lib.licenses.mit; + }; +}