@@ -0,0 +1,36 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, aiohttp
5+, async-timeout
6+, urllib3
7+}:
8+
9+buildPythonPackage rec {
10+ pname = "python-opendata-transport";
11+ version = "0.2.1";
12+
13+ src = fetchPypi {
14+ pname = "python_opendata_transport";
15+ inherit version;
16+ sha256 = "0pxs9zqk00vn1s74cx1416mqmixrr74wb0jb0j6b1c3xpvzlfbks";
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+}