7 , google-cloud-appengine-logging
8 , google-cloud-audit-log
10 , google-cloud-testutils
22 buildPythonPackage rec {
23 pname = "google-cloud-logging";
25 format = "setuptools";
27 disabled = pythonOlder "3.7";
30 inherit pname version;
31 hash = "sha256-/dkW5ZqEqowC6BSNf907O2I8V7DB/3H0MpfOjlD8Hqs=";
34 propagatedBuildInputs = [
36 google-cloud-appengine-logging
37 google-cloud-audit-log
42 ] ++ google-api-core.optional-dependencies.grpc;
47 google-cloud-testutils
56 # requires credentials
57 "test_write_log_entries"
61 # prevent google directory from shadowing google imports
66 # Tests require credentials
67 "tests/system/test_system.py"
68 "tests/unit/test__gapic.py"
69 # Exclude performance tests
70 "tests/performance/test_performance.py"
73 pythonImportsCheck = [
74 "google.cloud.logging"
75 "google.cloud.logging_v2"
79 description = "Stackdriver Logging API client library";
80 homepage = "https://github.com/googleapis/python-logging";
81 changelog = "https://github.com/googleapis/python-logging/blob/v${version}/CHANGELOG.md";
82 license = licenses.asl20;
83 maintainers = with maintainers; [ ];