at 23.05-pre 51 lines 948 B view raw
1{ lib 2, aiohttp 3, aresponses 4, asynctest 5, buildPythonPackage 6, fetchFromGitHub 7, geojson 8, haversine 9, pytest-asyncio 10, pytestCheckHook 11, pythonOlder 12}: 13 14buildPythonPackage rec { 15 pname = "aio-geojson-client"; 16 version = "0.17"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "exxamalte"; 23 repo = "python-aio-geojson-client"; 24 rev = "v${version}"; 25 hash = "sha256-5GiQgtbvYeleovFbXO2vlr2XPsDIWZiElM64O+urMcY="; 26 }; 27 28 propagatedBuildInputs = [ 29 aiohttp 30 geojson 31 haversine 32 ]; 33 34 checkInputs = [ 35 aresponses 36 asynctest 37 pytest-asyncio 38 pytestCheckHook 39 ]; 40 41 pythonImportsCheck = [ 42 "aio_geojson_client" 43 ]; 44 45 meta = with lib; { 46 description = "Python module for accessing GeoJSON feeds"; 47 homepage = "https://github.com/exxamalte/python-aio-geojson-client"; 48 license = with licenses; [ asl20 ]; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}