1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, pythonOlder 6, setuptools 7, urllib3 8}: 9 10buildPythonPackage rec { 11 pname = "python-opendata-transport"; 12 version = "0.4.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 pname = "python_opendata_transport"; 19 inherit version; 20 hash = "sha256-2lEKPu5vjyqNUqz1NGmZ5b6YP3oWnCgoubDdiQCbdps="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools 25 ]; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 urllib3 30 ]; 31 32 # No tests are present 33 doCheck = false; 34 35 pythonImportsCheck = [ 36 "opendata_transport" 37 ]; 38 39 meta = with lib; { 40 description = "Python client for interacting with transport.opendata.ch"; 41 homepage = "https://github.com/home-assistant-ecosystem/python-opendata-transport"; 42 changelog = "https://github.com/home-assistant-ecosystem/python-opendata-transport/releases/tag/${version}"; 43 license = with licenses; [ mit ]; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}