python3Packages.wazeroutecalculator: rename

This commit is contained in:
Fabian Affolter 2021-09-29 16:20:27 +02:00
parent 9ac537d08b
commit fcceea469f
3 changed files with 16 additions and 7 deletions

View File

@ -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 ];
};
}

View File

@ -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
})

View File

@ -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 { };