mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
44 lines
969 B
Nix
44 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 ];
|
|
};
|
|
}
|