python3Packages.google-cloud-artifact-registry: init at 1.8.2

This commit is contained in:
Samuel Ainsworth 2023-07-16 20:38:19 -04:00
parent f804cc939d
commit af4b2deeb4
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ buildPythonPackage
, fetchPypi
, google-api-core
, grpc-google-iam-v1
, lib
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-artifact-registry";
version = "1.8.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-FuuxwOMV7IB1drn5hzX7p4BwJYQCUsgnZNVR+E6XKhM=";
};
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"google.cloud.artifactregistry"
"google.cloud.artifactregistry_v1"
"google.cloud.artifactregistry_v1beta2"
];
meta = with lib; {
description = "Google Cloud Artifact Registry API client library";
homepage = "https://github.com/googleapis/google-cloud-python";
license = licenses.asl20;
maintainers = with maintainers; [ samuela ];
};
}

View File

@ -4265,6 +4265,8 @@ self: super: with self; {
google-cloud-appengine-logging = callPackage ../development/python-modules/google-cloud-appengine-logging { };
google-cloud-artifact-registry = callPackage ../development/python-modules/google-cloud-artifact-registry { };
google-cloud-asset = callPackage ../development/python-modules/google-cloud-asset { };
google-cloud-audit-log = callPackage ../development/python-modules/google-cloud-audit-log { };