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