Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.11 32 lines 680 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "wazeroutecalculator"; 9 version = "0.13"; 10 11 src = fetchPypi { 12 pname = "WazeRouteCalculator"; 13 inherit version; 14 sha256 = "sha256-Ex9yglaJkk0+Uo3Y+xpimb5boXz+4QdbJS2O75U6dUg="; 15 }; 16 17 propagatedBuildInputs = [ 18 requests 19 ]; 20 21 # there are no tests 22 doCheck = false; 23 24 pythonImportsCheck = [ "WazeRouteCalculator" ]; 25 26 meta = with lib; { 27 description = "Calculate actual route time and distance with Waze API"; 28 homepage = "https://github.com/kovacsbalu/WazeRouteCalculator"; 29 license = licenses.gpl3Only; 30 maintainers = with maintainers; [ peterhoeg ]; 31 }; 32}