Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 61 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ buildPythonPackage, fetchFromGitHub, gitUpdater, google-api-core, google-auth, google-geo-type, lib, proto-plus, protobuf, pytest-asyncio, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "google-maps-routing"; version = "3.31.3"; pyproject = true;
src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; tag = "google-cloud-build-v${version}"; hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; };
sourceRoot = "${src.name}/packages/google-maps-routing";
build-system = [ setuptools ];
pythonRelaxDeps = [ "protobuf" ];
dependencies = [ google-api-core google-auth proto-plus protobuf google-geo-type ] ++ google-api-core.optional-dependencies.grpc;
pythonImportsCheck = [ "google.maps.routing_v2" ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
passthru.updateScript = gitUpdater { rev-prefix = "google-maps-routing-v"; };
meta = { changelog = "https://github.com/googleapis/google-cloud-python/blob/${src.tag}/packages/google-maps-routing/CHANGELOG.md"; description = "Google Maps Routing API client library"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-maps-routing"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; };}