diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/wazeroutecalculator/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/wazeroutecalculator/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/wazeroutecalculator/default.nix b/nixpkgs/pkgs/development/python-modules/wazeroutecalculator/default.nix new file mode 100644 index 000000000000..dd8409624648 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/wazeroutecalculator/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchPypi +, requests +}: + +buildPythonPackage rec { + pname = "wazeroutecalculator"; + version = "0.13"; + + src = fetchPypi { + pname = "WazeRouteCalculator"; + inherit version; + sha256 = "sha256-Ex9yglaJkk0+Uo3Y+xpimb5boXz+4QdbJS2O75U6dUg="; + }; + + 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.gpl3Only; + maintainers = with maintainers; [ peterhoeg ]; + }; +} |