diff --git a/pkgs/development/python-modules/WazeRouteCalculator/default.nix b/pkgs/development/python-modules/wazeroutecalculator/default.nix similarity index 60% rename from pkgs/development/python-modules/WazeRouteCalculator/default.nix rename to pkgs/development/python-modules/wazeroutecalculator/default.nix index 3f31bb1648d8..dd8409624648 100644 --- a/pkgs/development/python-modules/WazeRouteCalculator/default.nix +++ b/pkgs/development/python-modules/wazeroutecalculator/default.nix @@ -1,24 +1,32 @@ -{ lib, buildPythonPackage, fetchPypi -, requests }: +{ lib +, buildPythonPackage +, fetchPypi +, requests +}: buildPythonPackage rec { - pname = "WazeRouteCalculator"; + pname = "wazeroutecalculator"; version = "0.13"; src = fetchPypi { - inherit pname version; + pname = "WazeRouteCalculator"; + inherit version; sha256 = "sha256-Ex9yglaJkk0+Uo3Y+xpimb5boXz+4QdbJS2O75U6dUg="; }; - propagatedBuildInputs = [ requests ]; + 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.gpl3; + license = licenses.gpl3Only; maintainers = with maintainers; [ peterhoeg ]; }; } diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 0c375a664999..039b921ee982 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -79,6 +79,7 @@ mapAliases ({ sphinxcontrib_plantuml = sphinxcontrib-plantuml; topydo = throw "python3Packages.topydo was moved to topydo"; # 2017-09-22 tvnamer = throw "python3Packages.tvnamer was moved to tvnamer"; # 2021-07-05 + WazeRouteCalculator = wazeroutecalculator; # 2021-09-29 websocket_client = websocket-client; zc_buildout221 = zc_buildout; # added 2021-07-21 }) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 686dd8c0f363..a2394b188735 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9527,7 +9527,7 @@ in { wavedrom = callPackage ../development/python-modules/wavedrom { }; - WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { }; + wazeroutecalculator = callPackage ../development/python-modules/wazeroutecalculator { }; wcmatch = callPackage ../development/python-modules/wcmatch { };