diff --git a/pkgs/development/python-modules/aioaquarite/default.nix b/pkgs/development/python-modules/aioaquarite/default.nix new file mode 100644 index 000000000000..0321f73919d4 --- /dev/null +++ b/pkgs/development/python-modules/aioaquarite/default.nix @@ -0,0 +1,43 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + aiohttp, + google-auth, + google-cloud-firestore, + pytestCheckHook, +}: + +buildPythonPackage (finalAttrs: { + pname = "aioaquarite"; + version = "0.6.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "fdebrus"; + repo = "aioaquarite"; + tag = "v${finalAttrs.version}"; + hash = "sha256-pf/a0W1Ix/3Cd6dMUvHqb6DwT56PvtSf/GpicrL8y1A="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + aiohttp + google-auth + google-cloud-firestore + ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "aioaquarite" ]; + + meta = { + description = "Async Python client for the Hayward Aquarite pool API"; + homepage = "https://github.com/fdebrus/aioaquarite"; + changelog = "https://github.com/fdebrus/aioaquarite/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +}) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 6157815457f8..cac415f1e2ee 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -7188,7 +7188,8 @@ ]; "vistapool" = ps: with ps; [ - ]; # missing inputs: aioaquarite + aioaquarite + ]; "vivotek" = ps: with ps; [ libpyvivotek @@ -8756,6 +8757,7 @@ "victron_gx" "victron_remote_monitoring" "vilfo" + "vistapool" "vivotek" "vizio" "vlc_telnet" diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cace61a17aef..9940f1ae2498 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -216,6 +216,8 @@ self: super: with self; { aioaquacell = callPackage ../development/python-modules/aioaquacell { }; + aioaquarite = callPackage ../development/python-modules/aioaquarite { }; + aioaseko = callPackage ../development/python-modules/aioaseko { }; aioasuswrt = callPackage ../development/python-modules/aioasuswrt { };