Something went wrong. Try again.
lol
Something went wrong. Try again.
1.6 kB · 69 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, buildPythonPackage, fetchPypi, google-api-core, google-cloud-testutils, mock, pandas, proto-plus, protobuf, pytest-asyncio, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "google-cloud-monitoring"; version = "2.30.0"; pyproject = true;
src = fetchPypi { pname = "google_cloud_monitoring"; inherit (finalAttrs) version; hash = "sha256-qVMKqaokbEkIEN+nvjLWfoNA0ZEIrMmcvALR7UlPunY="; };
build-system = [ setuptools ];
dependencies = [ google-api-core proto-plus protobuf ] ++ google-api-core.optional-dependencies.grpc;
pythonRelaxDeps = [ "protobuf" ];
optional-dependencies = { pandas = [ pandas ]; };
nativeCheckInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ] ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);
disabledTests = [ # Test requires credentials "test_list_monitored_resource_descriptors" # Test requires PRROJECT_ID "test_list_alert_policies" ];
pythonImportsCheck = [ "google.cloud.monitoring" "google.cloud.monitoring_v3" ];
meta = { description = "Stackdriver Monitoring API client library"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-monitoring"; changelog = "https://github.com/googleapis/google-cloud-python/tree/google-cloud-monitoring-v${finalAttrs.version}/packages/google-cloud-monitoring"; license = lib.licenses.asl20; maintainers = [ ]; };})