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