2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-11-02 19:48:41 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-api-core
|
|
|
|
, google-cloud-testutils
|
2021-01-05 14:57:40 +00:00
|
|
|
, libcst
|
|
|
|
, proto-plus
|
2021-04-05 03:01:45 +00:00
|
|
|
, pandas
|
2021-01-05 14:57:40 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
2018-11-02 19:48:41 +00:00
|
|
|
, mock
|
2022-03-01 07:36:29 +00:00
|
|
|
, pythonOlder
|
2018-11-02 19:48:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-monitoring";
|
2022-10-11 09:10:09 +00:00
|
|
|
version = "2.11.3";
|
2022-03-01 07:36:29 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2022-08-12 08:20:17 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2018-11-02 19:48:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-10-11 09:10:09 +00:00
|
|
|
hash = "sha256-Nm27yxdf6woQoP37CeNrHggM2Wobv9W9JrmTlx5A4uY=";
|
2018-11-02 19:48:41 +00:00
|
|
|
};
|
|
|
|
|
2022-03-01 07:36:29 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
libcst
|
|
|
|
google-api-core
|
|
|
|
proto-plus
|
|
|
|
];
|
2018-11-02 19:48:41 +00:00
|
|
|
|
2022-03-01 07:36:29 +00:00
|
|
|
checkInputs = [
|
|
|
|
google-cloud-testutils
|
|
|
|
mock
|
|
|
|
pandas
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-asyncio
|
|
|
|
];
|
2021-01-05 14:57:40 +00:00
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# requires credentials
|
|
|
|
"test_list_monitored_resource_descriptors"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.monitoring"
|
|
|
|
"google.cloud.monitoring_v3"
|
|
|
|
];
|
2018-11-02 19:48:41 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-02 19:48:41 +00:00
|
|
|
description = "Stackdriver Monitoring API client library";
|
2021-03-06 23:37:05 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-monitoring";
|
2018-11-02 19:48:41 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-05 14:57:40 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-11-02 19:48:41 +00:00
|
|
|
};
|
|
|
|
}
|