lol
at 23.05-pre 57 lines 1.1 kB view raw
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 12, pythonOlder 13}: 14 15buildPythonPackage rec { 16 pname = "google-cloud-monitoring"; 17 version = "2.11.3"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-Nm27yxdf6woQoP37CeNrHggM2Wobv9W9JrmTlx5A4uY="; 25 }; 26 27 propagatedBuildInputs = [ 28 libcst 29 google-api-core 30 proto-plus 31 ]; 32 33 checkInputs = [ 34 google-cloud-testutils 35 mock 36 pandas 37 pytestCheckHook 38 pytest-asyncio 39 ]; 40 41 disabledTests = [ 42 # requires credentials 43 "test_list_monitored_resource_descriptors" 44 ]; 45 46 pythonImportsCheck = [ 47 "google.cloud.monitoring" 48 "google.cloud.monitoring_v3" 49 ]; 50 51 meta = with lib; { 52 description = "Stackdriver Monitoring API client library"; 53 homepage = "https://github.com/googleapis/python-monitoring"; 54 license = licenses.asl20; 55 maintainers = with maintainers; [ SuperSandro2000 ]; 56 }; 57}