46 lines
956 B
Nix
46 lines
956 B
Nix
|
{ lib
|
||
|
, aio-geojson-client
|
||
|
, aiohttp
|
||
|
, aresponses
|
||
|
, asynctest
|
||
|
, buildPythonPackage
|
||
|
, fetchFromGitHub
|
||
|
, pytest-asyncio
|
||
|
, pytestCheckHook
|
||
|
, pytz
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "aio-geojson-nsw-rfs-incidents";
|
||
|
version = "0.4";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "exxamalte";
|
||
|
repo = "python-aio-geojson-nsw-rfs-incidents";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "sha256-o9tuoJ7VZ6bg0rYeRWClKxdbxxj6wPgkSF7ZdOfmJew=";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|