Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ 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 = "0.6.16"; pyproject = true;
src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; tag = "google-maps-routing-v${version}"; hash = "sha256-VYkgkVrUgBiUEFF2J8ZFrh2Sw7h653stYxNcpYfRAj4="; };
sourceRoot = "${src.name}/packages/google-maps-routing";
build-system = [ setuptools ];
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 ]; };}