Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, fetchPypi 3, lib 4, opentracing 5, threadloop 6, thrift 7, tornado 8}: 9 10buildPythonPackage rec { 11 pname = "jaeger-client"; 12 version = "4.8.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "3157836edab8e2c209bd2d6ae61113db36f7ee399e66b1dcbb715d87ab49bfe0"; 17 }; 18 19 propagatedBuildInputs = [ 20 threadloop 21 thrift 22 tornado 23 opentracing 24 ]; 25 26 # FIXME: Missing dependencies: tchannel, opentracing_instrumentation 27 # opentracing_instrumentation: Requires "tornado" lower than 6. Current is 6.1. 28 # https://github.com/uber-common/opentracing-python-instrumentation/pull/115 29 doCheck = false; 30 31 pythonImportsCheck = [ "jaeger_client" ]; 32 33 meta = with lib; { 34 description = "Jaeger bindings for Python OpenTracing API"; 35 downloadPage = "https://pypi.org/project/jaeger-client/"; 36 homepage = "https://github.com/jaegertracing/jaeger-client-python"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ ]; 39 }; 40}