depot/third_party/nixpkgs/pkgs/development/python-modules/wazeroutecalculator/default.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

32 lines
680 B
Nix

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