about summary refs log tree commit diff
path: root/pkgs/development/python-modules/wazeroutecalculator/default.nix
blob: dd84096246487027fcb5df3c818aa6179ec3e476 (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
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:

buildPythonPackage rec {
  pname = "wazeroutecalculator";
  version = "0.13";

  src = fetchPypi {
    pname = "WazeRouteCalculator";
    inherit version;
    sha256 = "sha256-Ex9yglaJkk0+Uo3Y+xpimb5boXz+4QdbJS2O75U6dUg=";
  };

  propagatedBuildInputs = [
    requests
  ];

  # there are no tests
  doCheck = false;

  pythonImportsCheck = [ "WazeRouteCalculator" ];

  meta = with lib; {
    description = "Calculate actual route time and distance with Waze API";
    homepage = "https://github.com/kovacsbalu/WazeRouteCalculator";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ peterhoeg ];
  };
}