Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aio-geojson-nsw-rfs-incidents / default.nix
blob94724e800f58ea232ccc6a22c797b3807a830f33
1 { lib
2 , aio-geojson-client
3 , aiohttp
4 , aioresponses
5 , buildPythonPackage
6 , fetchFromGitHub
7 , pytest-asyncio
8 , pytestCheckHook
9 , pythonOlder
10 , pytz
11 , setuptools
14 buildPythonPackage rec {
15   pname = "aio-geojson-nsw-rfs-incidents";
16   version = "0.7";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "exxamalte";
23     repo = "python-aio-geojson-nsw-rfs-incidents";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-HksiKfXhLASAgU81x7YiOXFmBLIkqJ9ldWLLY1ZbZlk=";
26   };
28   nativeBuildInputs = [
29     setuptools
30   ];
32   propagatedBuildInputs = [
33     aio-geojson-client
34     aiohttp
35     pytz
36   ];
38   __darwinAllowLocalNetworking = true;
40   nativeCheckInputs = [
41     aioresponses
42     pytest-asyncio
43     pytestCheckHook
44   ];
46   pythonImportsCheck = [
47     "aio_geojson_nsw_rfs_incidents"
48   ];
50   meta = with lib; {
51     description = "Python module for accessing the NSW Rural Fire Service incidents feeds";
52     homepage = "https://github.com/exxamalte/python-aio-geojson-nsw-rfs-incidents";
53     changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes/blob/v${version}/CHANGELOG.md";
54     license = with licenses; [ asl20 ];
55     maintainers = with maintainers; [ fab ];
56   };