841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
44 lines
976 B
Nix
44 lines
976 B
Nix
{ lib
|
|
, 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.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3683477a5d747451332a38d6c8cea652b5991db1f6e4c39907fa3679708ac218";
|
|
};
|
|
|
|
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 lib; {
|
|
description = "Cloud Trace API client library";
|
|
homepage = "https://github.com/googleapis/python-trace";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|