1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 dateparser, 7 fetchFromGitHub, 8 haversine, 9 mock, 10 pytest-asyncio, 11 pytestCheckHook, 12 pythonOlder, 13 requests, 14 setuptools, 15 xmltodict, 16}: 17 18buildPythonPackage rec { 19 pname = "aio-georss-client"; 20 version = "0.14"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.9"; 24 25 src = fetchFromGitHub { 26 owner = "exxamalte"; 27 repo = "python-aio-georss-client"; 28 tag = "v${version}"; 29 hash = "sha256-d5QKF/aDLzZ2/Pbm6VygsSYWab7Jqs/5zTeKHg6Zr74="; 30 }; 31 32 __darwinAllowLocalNetworking = true; 33 34 build-system = [ setuptools ]; 35 36 dependencies = [ 37 aiohttp 38 haversine 39 xmltodict 40 requests 41 dateparser 42 ]; 43 44 nativeCheckInputs = [ 45 aioresponses 46 mock 47 pytest-asyncio 48 pytestCheckHook 49 ]; 50 51 pythonImportsCheck = [ "aio_georss_client" ]; 52 53 meta = with lib; { 54 description = "Python library for accessing GeoRSS feeds"; 55 homepage = "https://github.com/exxamalte/python-aio-georss-client"; 56 changelog = "https://github.com/exxamalte/python-aio-georss-client/blob/v${version}/CHANGELOG.md"; 57 license = with licenses; [ asl20 ]; 58 maintainers = with maintainers; [ fab ]; 59 }; 60}