python3Packages.pygeosphere-warnings: init at 0.1.2 (#551282)

This commit is contained in:
Sandro
2026-08-12 13:15:47 +00:00
committed by GitHub
3 changed files with 46 additions and 1 deletions

View File

@@ -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 ];
};
})

View File

@@ -2324,7 +2324,8 @@
];
"geosphere_austria_warnings" =
ps: with ps; [
]; # missing inputs: pygeosphere-warnings
pygeosphere-warnings
];
"ghost" =
ps: with ps; [
aioghost
@@ -8319,6 +8320,7 @@
"geofency"
"geonetnz_quakes"
"geonetnz_volcano"
"geosphere_austria_warnings"
"ghost"
"gios"
"github"

View File

@@ -14746,6 +14746,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 { };