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