python312Packages.aio-geojson-geonetnz-quakes: refactor

This commit is contained in:
Fabian Affolter
2024-10-07 09:27:37 +02:00
parent 02adcfb8e1
commit f44dfce217
@@ -17,7 +17,7 @@ buildPythonPackage rec {
version = "0.17";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "exxamalte";
@@ -26,16 +26,14 @@ buildPythonPackage rec {
hash = "sha256-RZ+wgLYMl7y3CdmlipsfZGcew1pYSMEhkyyeLqIwVwI=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
aio-geojson-client
aiohttp
pytz
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
aioresponses
pytest-asyncio
@@ -44,11 +42,13 @@ buildPythonPackage rec {
pythonImportsCheck = [ "aio_geojson_geonetnz_quakes" ];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Python module for accessing the GeoNet NZ Quakes GeoJSON feeds";
homepage = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes";
changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 ];
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}