1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 google-api-core, 6 google-auth, 7 mock, 8 proto-plus, 9 protobuf, 10 pytest-asyncio, 11 pytestCheckHook, 12 pythonOlder, 13 setuptools, 14}: 15 16buildPythonPackage rec { 17 pname = "google-cloud-vpc-access"; 18 version = "1.13.1"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.8"; 22 23 src = fetchPypi { 24 pname = "google_cloud_vpc_access"; 25 inherit version; 26 hash = "sha256-tgSvaJvXhEt6isC6C+w0APq2ULUYkKdva9vb6yZ4MYM="; 27 }; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ 32 google-api-core 33 google-auth 34 proto-plus 35 protobuf 36 ] ++ google-api-core.optional-dependencies.grpc; 37 38 nativeCheckInputs = [ 39 mock 40 pytest-asyncio 41 pytestCheckHook 42 ]; 43 44 pythonImportsCheck = [ 45 "google.cloud.vpcaccess" 46 "google.cloud.vpcaccess_v1" 47 ]; 48 49 meta = with lib; { 50 description = "Python Client for Virtual Private Cloud"; 51 homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-vpc-access"; 52 changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-vpc-access-v${version}/packages/google-cloud-vpc-access/CHANGELOG.md"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ fab ]; 55 }; 56}