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 04:01:45 +01:00
|
|
|
, pandas
|
2021-01-05 14:57:40 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
2018-11-02 19:48:41 +00:00
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-monitoring";
|
2021-06-18 22:47:19 +01:00
|
|
|
version = "2.3.0";
|
2018-11-02 19:48:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:19 +01:00
|
|
|
sha256 = "fcbf644622709277d47b0dd8884efd1d62703bffda3c1030e06404709690c06c";
|
2018-11-02 19:48:41 +00:00
|
|
|
};
|
|
|
|
|
2021-01-06 09:46:48 +00:00
|
|
|
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
|
2018-11-02 19:48:41 +00:00
|
|
|
|
2021-04-05 04:01:45 +01: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
|
|
|
};
|
|
|
|
}
|