From 49586ee0f7f73f6e2000e3a42d72917c9d785717 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Wed, 8 Jul 2026 14:05:53 -0700 Subject: [PATCH 1/2] python3Packages.arwn-client: init at 0.2.1 --- .../python-modules/arwn-client/default.nix | 42 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 44 insertions(+) create mode 100644 pkgs/development/python-modules/arwn-client/default.nix diff --git a/pkgs/development/python-modules/arwn-client/default.nix b/pkgs/development/python-modules/arwn-client/default.nix new file mode 100644 index 0000000000000..b406704a86bf2 --- /dev/null +++ b/pkgs/development/python-modules/arwn-client/default.nix @@ -0,0 +1,42 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + click, + paho-mqtt, + pytestCheckHook, +}: + +buildPythonPackage (finalAttrs: { + pname = "arwn-client"; + version = "0.2.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "sdague"; + repo = "arwn-client"; + tag = "v${finalAttrs.version}"; + hash = "sha256-By4dZlzR3It4UkYss+RPsKt9Easkegv6VbLd0SSaC2U="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + click + paho-mqtt + ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "arwn_client" ]; + + meta = { + description = "Python client library for parsing ARWN weather station MQTT messages"; + homepage = "https://github.com/sdague/arwn-client"; + changelog = "https://github.com/sdague/arwn-client/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.asl20; + mainProgram = "arwn-client"; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5108c480dd04c..7fb9b06a10e45 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1347,6 +1347,8 @@ self: super: with self; { arviz-stats = callPackage ../development/python-modules/arviz-stats { }; + arwn-client = callPackage ../development/python-modules/arwn-client { }; + arxiv = callPackage ../development/python-modules/arxiv { }; arxiv2bib = callPackage ../development/python-modules/arxiv2bib { }; From f65cd64e41e64b312745aaa2f1fb2d973d259303 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Wed, 8 Jul 2026 14:07:45 -0700 Subject: [PATCH 2/2] home-assistant: update component packages --- pkgs/servers/home-assistant/component-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 5e596553f08b8..e9525bec15c56 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -416,8 +416,9 @@ "arwn" = ps: with ps; [ aiohasupervisor + arwn-client paho-mqtt - ]; # missing inputs: arwn-client + ]; "aseko_pool_live" = ps: with ps; [ aioaseko @@ -7845,6 +7846,7 @@ "aranet" "arcam_fmj" "arve" + "arwn" "aseko_pool_live" "assist_pipeline" "assist_satellite"