nixpkgs/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix

45 lines
946 B
Nix

{ lib
, aio-geojson-client
, aiohttp
, aresponses
, asynctest
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pytz
}:
buildPythonPackage rec {
pname = "aio-geojson-geonetnz-volcano";
version = "0.6";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-geonetnz-volcano";
rev = "v${version}";
sha256 = "0n97kij2fprzajh57sy1z57kaqiil7pd5y67lq2hqm2cnvkar5ci";
};
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 ];
};
}