about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pydelijn/default.nix
blob: 08a3bf823611735005f35cea1510acaa94ecced6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytz
}:

buildPythonPackage rec {
  pname = "pydelijn";
  version = "0.6.1";
  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1lwd2f043hy7gf1ly9zpaq1yg947bqw2af8vhwssf48zpisfgc81";
  };

  propagatedBuildInputs = [
    aiohttp
    async-timeout
    pytz
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "pydelijn" ];

  meta = with lib; {
    description = "Python package to retrieve realtime data of passages at stops of De Lijn";
    homepage = "https://github.com/bollewolle/pydelijn";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}