depot/third_party/nixpkgs/pkgs/development/python-modules/wazeroutecalculator/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

32 lines
693 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "wazeroutecalculator";
version = "0.14";
src = fetchPypi {
pname = "WazeRouteCalculator";
inherit version;
sha256 = "01a6e8d7d896279fd342fd7fcb86c2b9bf97503d95e8b1a926867d504c4836ab";
};
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 ];
};
}