diff --git a/pkgs/development/python-modules/WazeRouteCalculator/default.nix b/pkgs/development/python-modules/WazeRouteCalculator/default.nix new file mode 100644 index 000000000000..e67d81eccf7e --- /dev/null +++ b/pkgs/development/python-modules/WazeRouteCalculator/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildPythonPackage, fetchPypi +, requests }: + +buildPythonPackage rec { + pname = "WazeRouteCalculator"; + version = "0.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "0zmnw4198a2kvqvsz1i4a3aa20r4afp2lai6fxbpq1ppv120h857"; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bb338bcc5a24..28baa2dfbe45 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -696,6 +696,8 @@ in { pyunbound = callPackage ../tools/networking/unbound/python.nix { }; + WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { }; + # packages defined here aafigure = callPackage ../development/python-modules/aafigure { };