python3Packages.aio-geojson-nsw-rfs-incidents: init at 0.3

This commit is contained in:
Fabian Affolter 2021-06-06 00:22:47 +02:00
parent 41e46438ef
commit 0f28f4e8a0
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-nsw-rfs-incidents";
version = "0.3";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-nsw-rfs-incidents";
rev = "v${version}";
sha256 = "0g7a5sbp1y4shhsik924zssa2n7ima6p2zk1l890y66lyc168vws";
};
propagatedBuildInputs = [
aio-geojson-client
aiohttp
pytz
];
checkInputs = [
aresponses
asynctest
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aio_geojson_nsw_rfs_incidents" ];
meta = with lib; {
description = "Python module for accessing the NSW Rural Fire Service incidents feeds";
homepage = "https://github.com/exxamalte/python-aio-geojson-nsw-rfs-incidents";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

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