depot/third_party/nixpkgs/pkgs/development/python-modules/aio-geojson-nsw-rfs-incidents/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

45 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 ];
};
}