Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-trace / default.nix
blob486a71c7a97e10267945b14310896e9d13f3080f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , google-cloud-core
6 , google-cloud-testutils
7 , mock
8 , proto-plus
9 , pytestCheckHook
10 , pytest-asyncio
13 buildPythonPackage rec {
14   pname = "google-cloud-trace";
15   version = "1.1.0";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "1lvcm4w1l7hiqg64kdscch3f3bq19q9ii49xj4lljn2a4xffxl8v";
20   };
22   propagatedBuildInputs = [ google-api-core google-cloud-core proto-plus ];
24   checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
26   disabledTests = [
27     # require credentials
28     "test_batch_write_spans"
29     "test_list_traces"
30   ];
32   pythonImportsCheck = [
33     "google.cloud.trace"
34     "google.cloud.trace_v1"
35     "google.cloud.trace_v2"
36   ];
38   meta = with lib; {
39     description = "Cloud Trace API client library";
40     homepage = "https://github.com/googleapis/python-trace";
41     license = licenses.asl20;
42     maintainers = with maintainers; [ SuperSandro2000 ];
43   };