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