From 85e7c52630e523650d2d47c87c1ec396bac515af Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Mon, 10 Aug 2026 14:23:58 -0700 Subject: [PATCH 1/2] python3Packages.pygeosphere-warnings: init at 0.1.2 --- .../pygeosphere-warnings/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/pygeosphere-warnings/default.nix diff --git a/pkgs/development/python-modules/pygeosphere-warnings/default.nix b/pkgs/development/python-modules/pygeosphere-warnings/default.nix new file mode 100644 index 000000000000..26a92718cf43 --- /dev/null +++ b/pkgs/development/python-modules/pygeosphere-warnings/default.nix @@ -0,0 +1,41 @@ +{ + lib, + aiohttp, + buildPythonPackage, + fetchFromGitHub, + hatchling, + pytest-asyncio, + pytestCheckHook, +}: + +buildPythonPackage (finalAttrs: { + pname = "pygeosphere-warnings"; + version = "0.1.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "tklecka"; + repo = "pygeosphere-warnings"; + tag = "v${finalAttrs.version}"; + hash = "sha256-AQ2TQk5N+S4bW0OmrZj0la2UMIdpmxBUCMhbIkszm3g="; + }; + + build-system = [ hatchling ]; + + dependencies = [ aiohttp ]; + + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; + + pythonImportsCheck = [ "pygeosphere_warnings" ]; + + meta = { + description = "Asynchronous Python client for the GeoSphere Austria Warn API"; + homepage = "https://github.com/tklecka/pygeosphere-warnings"; + changelog = "https://github.com/tklecka/pygeosphere-warnings/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 f9cb0c73e428..ddc4207174b1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14730,6 +14730,8 @@ self: super: with self; { pygeocodio = callPackage ../development/python-modules/pygeocodio { }; + pygeosphere-warnings = callPackage ../development/python-modules/pygeosphere-warnings { }; + pygerber = callPackage ../development/python-modules/pygerber { }; pygetwindow = callPackage ../development/python-modules/pygetwindow { }; From b5fef68865edb81eea0f15a8304b96dd0f2472d1 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Mon, 10 Aug 2026 14:25:53 -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 9d6544f23ebf..3a46b78546fd 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2322,7 +2322,8 @@ ]; "geosphere_austria_warnings" = ps: with ps; [ - ]; # missing inputs: pygeosphere-warnings + pygeosphere-warnings + ]; "ghost" = ps: with ps; [ aioghost @@ -8314,6 +8315,7 @@ "geofency" "geonetnz_quakes" "geonetnz_volcano" + "geosphere_austria_warnings" "ghost" "gios" "github"