1{ lib
2, aiohttp
3, async-timeout
4, buildPythonPackage
5, fetchPypi
6, pythonOlder
7, pytz
8}:
9
10buildPythonPackage rec {
11 pname = "pydelijn";
12 version = "0.6.1";
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "1lwd2f043hy7gf1ly9zpaq1yg947bqw2af8vhwssf48zpisfgc81";
18 };
19
20 propagatedBuildInputs = [
21 aiohttp
22 async-timeout
23 pytz
24 ];
25
26 # Project has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "pydelijn" ];
30
31 meta = with lib; {
32 description = "Python package to retrieve realtime data of passages at stops of De Lijn";
33 homepage = "https://github.com/bollewolle/pydelijn";
34 license = licenses.mit;
35 maintainers = with maintainers; [ fab ];
36 };
37}