My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/google-cloud-trace/default.nix

44 lines
963 B

{ 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.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-JkKW9vJAAkw3sHYDapRvu5jjunV8oWSg/ykDmd1wpyA=";
};
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 ];
};
}