Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / wazeroutecalculator / default.nix
blob34c2430632bd932889d7e7bcab3f92373ca4686c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , requests
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "wazeroutecalculator";
10   version = "0.15";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     pname = "WazeRouteCalculator";
17     inherit version;
18     hash = "sha256-DB5oWthWNwamFG3kNxA/kmUBOVogoSg5LI2KrI39s4M=";
19   };
21   propagatedBuildInputs = [
22     requests
23   ];
25   # there are no tests
26   doCheck = false;
28   pythonImportsCheck = [
29     "WazeRouteCalculator"
30   ];
32   meta = with lib; {
33     description = "Calculate actual route time and distance with Waze API";
34     homepage = "https://github.com/kovacsbalu/WazeRouteCalculator";
35     license = licenses.gpl3Only;
36     maintainers = with maintainers; [ peterhoeg ];
37   };