1{ 2 buildPythonPackage, 3 fetchPypi, 4 google-api-core, 5 google-auth, 6 grpc-google-iam-v1, 7 lib, 8 proto-plus, 9 protobuf, 10 pytestCheckHook, 11 pythonOlder, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "google-cloud-artifact-registry"; 17 version = "1.11.3"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-wsSeFbtZHWXeoiyC2lUUjFE09xkZuu+OtNNb4dHLIM0="; 25 }; 26 27 nativeBuildInputs = [ setuptools ]; 28 29 propagatedBuildInputs = [ 30 google-api-core 31 google-auth 32 grpc-google-iam-v1 33 proto-plus 34 protobuf 35 ] ++ google-api-core.optional-dependencies.grpc; 36 37 nativeCheckInputs = [ pytestCheckHook ]; 38 39 pythonImportsCheck = [ 40 "google.cloud.artifactregistry" 41 "google.cloud.artifactregistry_v1" 42 "google.cloud.artifactregistry_v1beta2" 43 ]; 44 45 meta = with lib; { 46 description = "Google Cloud Artifact Registry API client library"; 47 homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-artifact-registry"; 48 changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-artifact-registry-v${version}/packages/google-cloud-artifact-registry/CHANGELOG.md"; 49 license = licenses.asl20; 50 maintainers = with maintainers; [ samuela ]; 51 }; 52}