2969ca571a
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
44 lines
974 B
Nix
44 lines
974 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-api-core
|
|
, google-cloud-core
|
|
, google-cloud-testutils
|
|
, mock
|
|
, proto-plus
|
|
, pytestCheckHook
|
|
, pytest-asyncio
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-trace";
|
|
version = "1.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1lvcm4w1l7hiqg64kdscch3f3bq19q9ii49xj4lljn2a4xffxl8v";
|
|
};
|
|
|
|
propagatedBuildInputs = [ google-api-core google-cloud-core proto-plus ];
|
|
|
|
checkInputs = [ 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 stdenv.lib; {
|
|
description = "Cloud Trace API client library";
|
|
homepage = "https://github.com/googleapis/python-trace";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|