about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/jaeger-client/default.nix
blob: a601fd9ce799e2a838940e9acadf6dc7ec2cdf74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ buildPythonPackage
, fetchPypi
, lib
, opentracing
, threadloop
, thrift
, tornado
}:

buildPythonPackage rec {
  pname = "jaeger-client";
  version = "4.8.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3157836edab8e2c209bd2d6ae61113db36f7ee399e66b1dcbb715d87ab49bfe0";
  };

  propagatedBuildInputs = [
    threadloop
    thrift
    tornado
    opentracing
  ];

  # FIXME: Missing dependencies: tchannel, opentracing_instrumentation
  # opentracing_instrumentation: Requires "tornado" lower than 6. Current is 6.1.
  # https://github.com/uber-common/opentracing-python-instrumentation/pull/115
  doCheck = false;

  pythonImportsCheck = [ "jaeger_client" ];

  meta = with lib; {
    description = "Jaeger bindings for Python OpenTracing API";
    downloadPage = "https://pypi.org/project/jaeger-client/";
    homepage = "https://github.com/jaegertracing/jaeger-client-python";
    license = licenses.asl20;
    maintainers = with maintainers; [ ];
  };
}