2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
google-api-core,
|
|
|
|
google-auth,
|
|
|
|
grpc-google-iam-v1,
|
|
|
|
lib,
|
|
|
|
proto-plus,
|
|
|
|
protobuf,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-artifact-registry";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "1.11.5";
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-09-19 14:19:46 +00:00
|
|
|
pname = "google_cloud_artifact_registry";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-lNWDbgu9DDNRSh7cC1TfiYvy237bH16QduskPzQt9Mg=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
dependencies = [
|
2023-08-04 22:07:22 +00:00
|
|
|
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;
|
|
|
|
|
2024-06-05 15:53:02 +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 ];
|
|
|
|
};
|
|
|
|
}
|