From e2fcdb64ed47d3290d531a1b4a22e797db6d1724 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Sun, 22 Feb 2026 20:39:15 -0800 Subject: [PATCH 1/2] python3Packages.homelink-integration-api: init at 0.0.1 --- .../homelink-integration-api/default.nix | 49 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 51 insertions(+) create mode 100644 pkgs/development/python-modules/homelink-integration-api/default.nix diff --git a/pkgs/development/python-modules/homelink-integration-api/default.nix b/pkgs/development/python-modules/homelink-integration-api/default.nix new file mode 100644 index 000000000000..d04373fa3181 --- /dev/null +++ b/pkgs/development/python-modules/homelink-integration-api/default.nix @@ -0,0 +1,49 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + aiofiles, + aiohttp, + boto3, + paho-mqtt, + pyopenssl, + python-decouple, +}: + +buildPythonPackage (finalAttrs: { + pname = "homelink-integration-api"; + version = "0.0.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "Gentex-Corporation"; + repo = "homelink-integration-api"; + tag = "v${finalAttrs.version}"; + hash = "sha256-ELEqx41JSAmXBEowwJ1tYPZV40hMjswaHQonD+1IG5E="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + aiofiles + aiohttp + boto3 + paho-mqtt + pyopenssl + python-decouple + ]; + + # upstream tests require network access and AWS credentials + doCheck = false; + + pythonImportsCheck = [ "homelink" ]; + + meta = { + description = "API to interact with Homelink cloud for MQTT-enabled smart home platforms"; + homepage = "https://github.com/Gentex-Corporation/homelink-integration-api"; + changelog = "https://github.com/Gentex-Corporation/homelink-integration-api/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fb6a3121815c..de55ae004563 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7011,6 +7011,8 @@ self: super: with self; { homeconnect = callPackage ../development/python-modules/homeconnect { }; + homelink-integration-api = callPackage ../development/python-modules/homelink-integration-api { }; + homematicip = callPackage ../development/python-modules/homematicip { }; homepluscontrol = callPackage ../development/python-modules/homepluscontrol { }; From ce3d3b469464c4ef51416b6df569817149c50b86 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Sun, 22 Feb 2026 20:40:22 -0800 Subject: [PATCH 2/2] home-assistant: regenerate component-packages.nix --- pkgs/servers/home-assistant/component-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index d051dfb6d3d3..ab3937ebd1c8 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2060,7 +2060,8 @@ ]; "gentex_homelink" = ps: with ps; [ - ]; # missing inputs: homelink-integration-api + homelink-integration-api + ]; "geo_json_events" = ps: with ps; [ aio-geojson-generic-client @@ -7449,6 +7450,7 @@ "generic_hygrostat" "generic_thermostat" "geniushub" + "gentex_homelink" "geo_json_events" "geo_location" "geo_rss_events"