2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
google-api-core,
|
|
|
|
google-cloud-access-context-manager,
|
|
|
|
google-cloud-org-policy,
|
|
|
|
google-cloud-os-config,
|
|
|
|
google-cloud-testutils,
|
|
|
|
grpc-google-iam-v1,
|
|
|
|
libcst,
|
|
|
|
mock,
|
|
|
|
proto-plus,
|
|
|
|
protobuf,
|
|
|
|
pytest-asyncio,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2021-01-09 10:05:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-asset";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.26.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-5O3ge5/ot0zQoLKKPP6E7M2RVtDxnYfe2J0iYJISWX4=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [
|
2021-08-18 13:19:15 +00:00
|
|
|
grpc-google-iam-v1
|
2021-01-09 10:05:03 +00:00
|
|
|
google-api-core
|
|
|
|
google-cloud-access-context-manager
|
|
|
|
google-cloud-org-policy
|
|
|
|
google-cloud-os-config
|
|
|
|
libcst
|
|
|
|
proto-plus
|
2023-01-11 07:51:40 +00:00
|
|
|
protobuf
|
|
|
|
] ++ google-api-core.optional-dependencies.grpc;
|
|
|
|
|
|
|
|
passthru.optional-dependencies = {
|
2024-05-15 15:35:15 +00:00
|
|
|
libcst = [ libcst ];
|
2023-01-11 07:51:40 +00:00
|
|
|
};
|
2021-01-09 10:05:03 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-06-16 17:23:12 +00:00
|
|
|
google-cloud-testutils
|
|
|
|
mock
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.asset"
|
|
|
|
"google.cloud.asset_v1"
|
|
|
|
"google.cloud.asset_v1p1beta1"
|
|
|
|
"google.cloud.asset_v1p2beta1"
|
|
|
|
"google.cloud.asset_v1p4beta1"
|
|
|
|
"google.cloud.asset_v1p5beta1"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-09 10:05:03 +00:00
|
|
|
description = "Python Client for Google Cloud Asset API";
|
2024-01-02 11:29:13 +00:00
|
|
|
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-asset";
|
|
|
|
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-asset-v${version}/packages/google-cloud-asset/CHANGELOG.md";
|
2021-01-09 10:05:03 +00:00
|
|
|
license = licenses.asl20;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
}
|