python3Packages.aio-geojson-geonetnz-volcano: init at 0.5

This commit is contained in:
Fabian Affolter 2021-06-06 00:18:02 +02:00
parent 1d948b071d
commit 41e46438ef
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, aio-geojson-client
, aiohttp
, aresponses
, asynctest
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pytz
}:
buildPythonPackage rec {
pname = "aio-geojson-geonetnz-volcano";
version = "0.5";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-geonetnz-volcano";
rev = "v${version}";
sha256 = "0x4i9gjwb2j788aw4j47bxin0d2ma3khssprq4ga3cjzx2qjwjvn";
};
propagatedBuildInputs = [
aio-geojson-client
aiohttp
pytz
];
checkInputs = [
aresponses
asynctest
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aio_geojson_geonetnz_volcano" ];
meta = with lib; {
description = "Python module for accessing the GeoNet NZ Volcanic GeoJSON feeds";
homepage = "https://github.com/exxamalte/pythonaio-geojson-geonetnz-volcano";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -229,6 +229,8 @@ in {
aio-geojson-geonetnz-quakes = callPackage ../development/python-modules/aio-geojson-geonetnz-quakes { };
aio-geojson-geonetnz-volcano = callPackage ../development/python-modules/aio-geojson-geonetnz-volcano { };
aio-georss-client = callPackage ../development/python-modules/aio-georss-client { };
aio-georss-gdacs = callPackage ../development/python-modules/aio-georss-gdacs { };