python311Packages.aio-geojson-geonetnz-volcano: refactor

This commit is contained in:
Fabian Affolter 2024-01-23 16:44:01 +01:00
parent a9767322d0
commit 64e8846822

View File

@ -9,12 +9,13 @@
, pytestCheckHook
, pytz
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "aio-geojson-geonetnz-volcano";
version = "0.8";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -25,6 +26,10 @@ buildPythonPackage rec {
hash = "sha256-wJVFjy6QgYb6GX9pZTylYFvCRWmD2lAFZKnodsa8Yqo=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aio-geojson-client
aiohttp
@ -46,7 +51,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module for accessing the GeoNet NZ Volcanic GeoJSON feeds";
homepage = "https://github.com/exxamalte/pythonaio-geojson-geonetnz-volcano";
homepage = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano";
changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];