2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2021-01-05 10:05:08 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, grpc_google_iam_v1
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-api-core
|
|
|
|
, google-cloud-access-context-manager
|
|
|
|
, google-cloud-org-policy
|
|
|
|
, google-cloud-os-config
|
|
|
|
, google-cloud-testutils
|
2021-01-05 10:05:08 +00:00
|
|
|
, libcst
|
|
|
|
, proto-plus
|
|
|
|
, pytest
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, mock
|
|
|
|
}:
|
2018-11-02 18:57:06 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-asset";
|
2020-11-29 14:04:29 +00:00
|
|
|
version = "2.2.0";
|
2018-11-02 18:57:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-05 10:05:08 +00:00
|
|
|
sha256 = "05q0yaw6b553qmzylr45zin17h8mvi8yyyxhbv3cxa7f0ahviw8w";
|
2018-11-02 18:57:06 +00:00
|
|
|
};
|
|
|
|
|
2020-10-13 05:02:29 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
grpc_google_iam_v1
|
2021-01-06 09:46:48 +00:00
|
|
|
google-api-core
|
|
|
|
google-cloud-access-context-manager
|
|
|
|
google-cloud-org-policy
|
|
|
|
google-cloud-os-config
|
2020-10-13 05:02:29 +01:00
|
|
|
libcst
|
|
|
|
proto-plus
|
|
|
|
];
|
|
|
|
|
2021-01-06 09:46:48 +00:00
|
|
|
checkInputs = [ google-cloud-testutils mock pytest-asyncio pytestCheckHook ];
|
2021-01-05 10:05:08 +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-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-13 05:02:29 +01:00
|
|
|
description = "Python Client for Google Cloud Asset API";
|
|
|
|
homepage = "https://github.com/googleapis/python-asset";
|
2018-11-02 18:57:06 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-05 15:36:30 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-11-02 18:57:06 +00:00
|
|
|
};
|
|
|
|
}
|