depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-monitoring/default.nix
Default email 9543354213 Project import generated by Copybara.
GitOrigin-RevId: c21ba4f7bb4a3d621eb1d187e6b5e816bb85380c
2021-09-28 10:13:01 +02:00

43 lines
969 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-cloud-testutils
, libcst
, proto-plus
, pandas
, pytestCheckHook
, pytest-asyncio
, mock
}:
buildPythonPackage rec {
pname = "google-cloud-monitoring";
version = "2.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "f8b3842fd11965a3872622988359a21bff62bd1b7b9be3ccf095b7ae2f4c796f";
};
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
checkInputs = [ google-cloud-testutils mock pandas pytestCheckHook pytest-asyncio ];
disabledTests = [
# requires credentials
"test_list_monitored_resource_descriptors"
];
pythonImportsCheck = [
"google.cloud.monitoring"
"google.cloud.monitoring_v3"
];
meta = with lib; {
description = "Stackdriver Monitoring API client library";
homepage = "https://github.com/googleapis/python-monitoring";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}