1{ lib
2, aiohttp
3, aresponses
4, asynctest
5, buildPythonPackage
6, fetchFromGitHub
7, geojson
8, haversine
9, pytest-asyncio
10, pytestCheckHook
11}:
12
13buildPythonPackage rec {
14 pname = "aio-geojson-client";
15 version = "0.15";
16
17 src = fetchFromGitHub {
18 owner = "exxamalte";
19 repo = "python-aio-geojson-client";
20 rev = "v${version}";
21 sha256 = "0sbzrzmny7x4bkbg6z0cjn4d10r50nxdyaq7g6lagwd8ijpkg8l3";
22 };
23
24 propagatedBuildInputs = [
25 aiohttp
26 geojson
27 haversine
28 ];
29
30 checkInputs = [
31 aresponses
32 asynctest
33 pytest-asyncio
34 pytestCheckHook
35 ];
36
37 pythonImportsCheck = [ "aio_geojson_client" ];
38
39 meta = with lib; {
40 description = "Python module for accessing GeoJSON feeds";
41 homepage = "https://github.com/exxamalte/python-aio-geojson-client";
42 license = with licenses; [ asl20 ];
43 maintainers = with maintainers; [ fab ];
44 };
45}