1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 aiohttp, 7 async-timeout, 8 yarl, 9 aresponses, 10 pytest-asyncio, 11 pytest-cov-stub, 12 pytestCheckHook, 13}: 14 15buildPythonPackage rec { 16 pname = "here-routing"; 17 version = "1.2.0"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "eifinger"; 22 repo = "here_routing"; 23 tag = "v${version}"; 24 hash = "sha256-h3y5hjaSHH6oIfSt5JTt1+pH7mFLOFiq1RuMZ1uYtTE="; 25 }; 26 27 build-system = [ hatchling ]; 28 29 dependencies = [ 30 aiohttp 31 async-timeout 32 yarl 33 ]; 34 35 nativeCheckInputs = [ 36 aresponses 37 pytest-asyncio 38 pytest-cov-stub 39 pytestCheckHook 40 ]; 41 42 pythonImportsCheck = [ "here_routing" ]; 43 44 meta = { 45 changelog = "https://github.com/eifinger/here_routing/releases/tag/${src.tag}"; 46 description = "Asynchronous Python client for the HERE Routing V8 API"; 47 homepage = "https://github.com/eifinger/here_routing"; 48 license = lib.licenses.mit; 49 maintainers = with lib.maintainers; [ dotlambda ]; 50 }; 51}