2021-06-05 23:18:02 +01:00
|
|
|
{ lib
|
|
|
|
, aio-geojson-client
|
|
|
|
, aiohttp
|
|
|
|
, aresponses
|
|
|
|
, asynctest
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aio-geojson-geonetnz-volcano";
|
2021-06-19 02:34:31 +01:00
|
|
|
version = "0.6";
|
2021-06-05 23:18:02 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exxamalte";
|
|
|
|
repo = "python-aio-geojson-geonetnz-volcano";
|
|
|
|
rev = "v${version}";
|
2021-06-19 02:34:31 +01:00
|
|
|
sha256 = "0n97kij2fprzajh57sy1z57kaqiil7pd5y67lq2hqm2cnvkar5ci";
|
2021-06-05 23:18:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|