Loading pkgs/development/python-modules/elkoep-aio-mqtt/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, attrs, paho-mqtt, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { pname = "elkoep-aio-mqtt"; version = "0.1.0.beta.4"; pyproject = true; src = fetchFromGitHub { owner = "epdevlab"; repo = "elkoep-aio-mqtt"; tag = "0.1.0.beta.4"; hash = "sha256-pQzM0wLLZk6cEizhDqLbVF4pMeyefgSUU0ay3CiGgAE="; }; build-system = [ setuptools ]; dependencies = [ attrs paho-mqtt ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "inelsmqtt" ]; meta = { description = "Python library for iNELS mqtt protocol"; homepage = "https://github.com/epdevlab/elkoep-aio-mqtt"; changelog = "https://github.com/epdevlab/elkoep-aio-mqtt/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; }; } pkgs/servers/home-assistant/component-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -2729,8 +2729,9 @@ "inels" = ps: with ps; [ aiohasupervisor elkoep-aio-mqtt paho-mqtt ]; # missing inputs: elkoep-aio-mqtt ]; "influxdb" = ps: with ps; [ influxdb Loading Loading @@ -7425,6 +7426,7 @@ "immich" "improv_ble" "incomfort" "inels" "influxdb" "inkbird" "input_boolean" Loading pkgs/servers/home-assistant/update-component-packages.py +1 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ PKG_SET = "home-assistant.python.pkgs" # If some requirements are matched by multiple or no Python packages, the # following can be used to choose the correct one PKG_PREFERENCES = { "av": "av", "fiblary3": "fiblary3-fork", # https://github.com/home-assistant/core/issues/66466 "HAP-python": "hap-python", "ha-av": "av", Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -4767,6 +4767,8 @@ self: super: with self; { elkm1-lib = callPackage ../development/python-modules/elkm1-lib { }; elkoep-aio-mqtt = callPackage ../development/python-modules/elkoep-aio-mqtt { }; elmax = callPackage ../development/python-modules/elmax { }; elmax-api = callPackage ../development/python-modules/elmax-api { }; Loading Loading
pkgs/development/python-modules/elkoep-aio-mqtt/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, attrs, paho-mqtt, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { pname = "elkoep-aio-mqtt"; version = "0.1.0.beta.4"; pyproject = true; src = fetchFromGitHub { owner = "epdevlab"; repo = "elkoep-aio-mqtt"; tag = "0.1.0.beta.4"; hash = "sha256-pQzM0wLLZk6cEizhDqLbVF4pMeyefgSUU0ay3CiGgAE="; }; build-system = [ setuptools ]; dependencies = [ attrs paho-mqtt ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "inelsmqtt" ]; meta = { description = "Python library for iNELS mqtt protocol"; homepage = "https://github.com/epdevlab/elkoep-aio-mqtt"; changelog = "https://github.com/epdevlab/elkoep-aio-mqtt/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; }; }
pkgs/servers/home-assistant/component-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -2729,8 +2729,9 @@ "inels" = ps: with ps; [ aiohasupervisor elkoep-aio-mqtt paho-mqtt ]; # missing inputs: elkoep-aio-mqtt ]; "influxdb" = ps: with ps; [ influxdb Loading Loading @@ -7425,6 +7426,7 @@ "immich" "improv_ble" "incomfort" "inels" "influxdb" "inkbird" "input_boolean" Loading
pkgs/servers/home-assistant/update-component-packages.py +1 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ PKG_SET = "home-assistant.python.pkgs" # If some requirements are matched by multiple or no Python packages, the # following can be used to choose the correct one PKG_PREFERENCES = { "av": "av", "fiblary3": "fiblary3-fork", # https://github.com/home-assistant/core/issues/66466 "HAP-python": "hap-python", "ha-av": "av", Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -4767,6 +4767,8 @@ self: super: with self; { elkm1-lib = callPackage ../development/python-modules/elkm1-lib { }; elkoep-aio-mqtt = callPackage ../development/python-modules/elkoep-aio-mqtt { }; elmax = callPackage ../development/python-modules/elmax { }; elmax-api = callPackage ../development/python-modules/elmax-api { }; Loading