From 6ac07b573da31fad76a083141c01a7b10e14fa2b Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Sun, 22 Mar 2026 19:04:32 -0700 Subject: [PATCH] python3Packages.pyintelliclima: init at 0.2.2 --- .../python-modules/pyintelliclima/default.nix | 51 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 53 insertions(+) create mode 100644 pkgs/development/python-modules/pyintelliclima/default.nix diff --git a/pkgs/development/python-modules/pyintelliclima/default.nix b/pkgs/development/python-modules/pyintelliclima/default.nix new file mode 100644 index 000000000000..5a95e7d0dcc8 --- /dev/null +++ b/pkgs/development/python-modules/pyintelliclima/default.nix @@ -0,0 +1,51 @@ +{ + lib, + aiohttp, + buildPythonPackage, + dacite, + fetchFromGitHub, + hatchling, + pytest-asyncio, + pytestCheckHook, + uv-dynamic-versioning, +}: + +buildPythonPackage (finalAttrs: { + pname = "pyintelliclima"; + version = "0.2.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "dvdinth"; + repo = "pyintelliclima"; + tag = "v${finalAttrs.version}"; + hash = "sha256-gfOfEc39o4JAdvr6GI9ly5AuRV+sseCvWY/jNAh1A5M="; + }; + + pythonRelaxDeps = [ "dacite" ]; + + build-system = [ + hatchling + uv-dynamic-versioning + ]; + + dependencies = [ + aiohttp + dacite + ]; + + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; + + pythonImportsCheck = [ "pyintelliclima" ]; + + meta = { + description = "Python module for a HTTP API to communicate with the IntelliClima device server"; + homepage = "https://github.com/dvdinth/pyintelliclima"; + changelog = "https://github.com/dvdinth/pyintelliclima/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 335e3a9bcffd..529079cf0934 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13960,6 +13960,8 @@ self: super: with self; { pyinstrument = callPackage ../development/python-modules/pyinstrument { }; + pyintelliclima = callPackage ../development/python-modules/pyintelliclima { }; + pyinterp = callPackage ../development/python-modules/pyinterp { }; pyintesishome = callPackage ../development/python-modules/pyintesishome { };