2023-08-04 22:07:22 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, google-api-core
|
2024-02-29 20:09:43 +00:00
|
|
|
, google-auth
|
2023-08-04 22:07:22 +00:00
|
|
|
, grpc-google-iam-v1
|
|
|
|
, lib
|
2024-02-29 20:09:43 +00:00
|
|
|
, proto-plus
|
|
|
|
, protobuf
|
2023-08-04 22:07:22 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
2024-02-29 20:09:43 +00:00
|
|
|
, setuptools
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-artifact-registry";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.11.3";
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-wsSeFbtZHWXeoiyC2lUUjFE09xkZuu+OtNNb4dHLIM0=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
google-api-core
|
2024-02-29 20:09:43 +00:00
|
|
|
google-auth
|
2023-08-04 22:07:22 +00:00
|
|
|
grpc-google-iam-v1
|
2024-02-29 20:09:43 +00:00
|
|
|
proto-plus
|
|
|
|
protobuf
|
2023-08-04 22:07:22 +00:00
|
|
|
] ++ google-api-core.optional-dependencies.grpc;
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.artifactregistry"
|
|
|
|
"google.cloud.artifactregistry_v1"
|
|
|
|
"google.cloud.artifactregistry_v1beta2"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Google Cloud Artifact Registry API client library";
|
2023-11-16 04:20:00 +00:00
|
|
|
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-artifact-registry";
|
|
|
|
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-artifact-registry-v${version}/packages/google-cloud-artifact-registry/CHANGELOG.md";
|
2023-08-04 22:07:22 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ samuela ];
|
|
|
|
};
|
|
|
|
}
|