2018-04-27 12:01:20 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "WazeRouteCalculator";
|
2019-04-10 06:10:36 +01:00
|
|
|
version = "0.9";
|
2018-04-27 12:01:20 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-10 06:10:36 +01:00
|
|
|
sha256 = "1kwr7r1cn9xxvf9asxqhsy4swx4v6hsgw5cr5wmn71qg11k1i5cx";
|
2018-04-27 12:01:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# there are no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Calculate actual route time and distance with Waze API";
|
|
|
|
homepage = https://github.com/kovacsbalu/WazeRouteCalculator;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|