2021-09-29 15:20:27 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
}:
|
2018-04-27 12:01:20 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-09-29 15:20:27 +01:00
|
|
|
pname = "wazeroutecalculator";
|
2022-01-14 00:59:08 +00:00
|
|
|
version = "0.14";
|
2018-04-27 12:01:20 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-09-29 15:20:27 +01:00
|
|
|
pname = "WazeRouteCalculator";
|
|
|
|
inherit version;
|
2022-01-14 00:59:08 +00:00
|
|
|
sha256 = "01a6e8d7d896279fd342fd7fcb86c2b9bf97503d95e8b1a926867d504c4836ab";
|
2018-04-27 12:01:20 +01:00
|
|
|
};
|
|
|
|
|
2021-09-29 15:20:27 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
];
|
2018-04-27 12:01:20 +01:00
|
|
|
|
|
|
|
# there are no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-09-29 15:20:27 +01:00
|
|
|
pythonImportsCheck = [ "WazeRouteCalculator" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-27 12:01:20 +01:00
|
|
|
description = "Calculate actual route time and distance with Waze API";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/kovacsbalu/WazeRouteCalculator";
|
2021-09-29 15:20:27 +01:00
|
|
|
license = licenses.gpl3Only;
|
2018-04-27 12:01:20 +01:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|