From b24ab0a6b9f86e2d05a67d1882b43460cc8c58ea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 11 Jan 2026 23:38:38 +0100 Subject: [PATCH] python314Packages.aiopulsegrow: init at 25.12.6 Python async api client for Pulse Grow https://github.com/pvizeli/aiopulsegrow --- .../python-modules/aiopulsegrow/default.nix | 47 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 49 insertions(+) create mode 100644 pkgs/development/python-modules/aiopulsegrow/default.nix diff --git a/pkgs/development/python-modules/aiopulsegrow/default.nix b/pkgs/development/python-modules/aiopulsegrow/default.nix new file mode 100644 index 000000000000..3357b6dbd858 --- /dev/null +++ b/pkgs/development/python-modules/aiopulsegrow/default.nix @@ -0,0 +1,47 @@ +{ + lib, + aiohttp, + aioresponses, + buildPythonPackage, + fetchFromGitHub, + pytest-aiohttp, + pytest-asyncio, + pytest-cov-stub, + pytestCheckHook, + setuptools, +}: + +buildPythonPackage (finalAttrs: { + pname = "aiopulsegrow"; + version = "25.12.6"; + pyproject = true; + + src = fetchFromGitHub { + owner = "pvizeli"; + repo = "aiopulsegrow"; + tag = finalAttrs.version; + hash = "sha256-Srtk8EmvTQvx2//TuB2JR74lw58EdLORKWDnvTPStww="; + }; + + build-system = [ setuptools ]; + + dependencies = [ aiohttp ]; + + nativeCheckInputs = [ + aioresponses + pytestCheckHook + pytest-aiohttp + pytest-asyncio + pytest-cov-stub + ]; + + pythonImportsCheck = [ "aiopulsegrow" ]; + + meta = { + description = "Python async api client for Pulse Grow"; + homepage = "https://github.com/pvizeli/aiopulsegrow"; + changelog = "https://github.com/pvizeli/aiopulsegrow/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ fab ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6d20b0ca075e..1cb29e0e88c8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -438,6 +438,8 @@ self: super: with self; { aiopulse = callPackage ../development/python-modules/aiopulse { }; + aiopulsegrow = callPackage ../development/python-modules/aiopulsegrow { }; + aiopurpleair = callPackage ../development/python-modules/aiopurpleair { }; aiopvapi = callPackage ../development/python-modules/aiopvapi { };