Something went wrong. Try again.
lol
Something went wrong. Try again.
1.9 kB · 96 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697{ lib, buildPythonPackage, django, fetchPypi, flask, google-api-core, google-cloud-appengine-logging, google-cloud-audit-log, google-cloud-core, google-cloud-testutils, grpc-google-iam-v1, mock, opentelemetry-api, pandas, proto-plus, protobuf, pytest-asyncio, pytestCheckHook, rich, setuptools,}:
buildPythonPackage rec { pname = "google-cloud-logging"; version = "3.13.0"; pyproject = true;
src = fetchPypi { pname = "google_cloud_logging"; inherit version; hash = "sha256-Oq4Fc7GhpPWezfRXH054gbWCO9Ep/kaVYcHEmn+opME="; };
build-system = [ setuptools ];
pythonRelaxDeps = [ "protobuf" ];
dependencies = [ google-api-core google-cloud-appengine-logging google-cloud-audit-log google-cloud-core grpc-google-iam-v1 opentelemetry-api proto-plus protobuf ] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [ django flask google-cloud-testutils mock pandas pytestCheckHook pytest-asyncio rich ];
preCheck = '' # Prevent google directory from shadowing google imports rm -r google '';
disabledTests = [ # Test requires credentials "test_write_log_entries" # No need for a second import check "test_namespace_package_compat" ];
disabledTestPaths = [ # Tests require credentials "tests/system/test_system.py" "tests/unit/test__gapic.py" # Exclude performance tests "tests/performance/test_performance.py" ];
pythonImportsCheck = [ "google.cloud.logging" "google.cloud.logging_v2" ];
meta = { description = "Stackdriver Logging API client library"; homepage = "https://github.com/googleapis/python-logging"; changelog = "https://github.com/googleapis/python-logging/blob/v${version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; };}