Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-monitoring / default.nix
blob4c63df9f1746b037179f1277a89b11ea600e1ed9
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , google-cloud-testutils
6 , libcst
7 , proto-plus
8 , pandas
9 , pytestCheckHook
10 , pytest-asyncio
11 , mock
14 buildPythonPackage rec {
15   pname = "google-cloud-monitoring";
16   version = "2.2.1";
18   src = fetchPypi {
19     inherit pname version;
20     sha256 = "sha256-QeMJBJKjW3Zu0p0mSmo5dVOJNwRmmA5FKXRXjCd+zN4=";
21   };
23   propagatedBuildInputs = [ libcst google-api-core proto-plus ];
25   checkInputs = [ google-cloud-testutils mock pandas pytestCheckHook pytest-asyncio ];
27   disabledTests = [
28     # requires credentials
29     "test_list_monitored_resource_descriptors"
30   ];
32   pythonImportsCheck = [
33     "google.cloud.monitoring"
34     "google.cloud.monitoring_v3"
35   ];
37   meta = with lib; {
38     description = "Stackdriver Monitoring API client library";
39     homepage = "https://github.com/googleapis/python-monitoring";
40     license = licenses.asl20;
41     maintainers = with maintainers; [ SuperSandro2000 ];
42   };