Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 62 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchPypi, google-api-core, google-cloud-testutils, mock, proto-plus, protobuf, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "google-cloud-trace"; version = "1.13.4"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-wCO8ySoD2iAsA0ydtQki65yw1qteAHn1EUFLFhV0qdQ="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ google-api-core proto-plus protobuf ] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
disabledTests = [ # require credentials "test_batch_write_spans" "test_list_traces" ];
pythonImportsCheck = [ "google.cloud.trace" "google.cloud.trace_v1" "google.cloud.trace_v2" ];
meta = with lib; { description = "Cloud Trace API client library"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-trace"; changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-trace-v${version}/packages/google-cloud-trace/CHANGELOG.md"; license = licenses.asl20; maintainers = [ ]; };}