nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 34 lines 729 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 requests, 6 setuptools, 7}: 8 9buildPythonPackage (finalAttrs: { 10 pname = "wazeroutecalculator"; 11 version = "0.16"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit (finalAttrs) pname version; 16 hash = "sha256-tJip0tSlwr7a5UVH77dAPNHag4v1JShU1vHA9xKhbwg="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 dependencies = [ requests ]; 22 23 # there are no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "WazeRouteCalculator" ]; 27 28 meta = { 29 description = "Calculate actual route time and distance with Waze API"; 30 homepage = "https://github.com/kovacsbalu/WazeRouteCalculator"; 31 license = lib.licenses.gpl3Only; 32 maintainers = with lib.maintainers; [ peterhoeg ]; 33 }; 34})