From e2fcdb64ed47d3290d531a1b4a22e797db6d1724 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Sun, 22 Feb 2026 20:39:15 -0800 Subject: [PATCH] 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 { };