summary refs log tree commit diff
path: root/pkgs/development/python-modules/opentracing/default.nix
blob: bf7ec6a938ff4d766a07e742662ac77fa2da0d1e (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
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, futures ? null
, gevent
, mock
, pytestCheckHook
, tornado
, six
}:

buildPythonPackage rec {
  pname = "opentracing";
  version = "2.4.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "a173117e6ef580d55874734d1fa7ecb6f3655160b8b8974a2a1e98e5ec9c840d";
  };

  propagatedBuildInputs = lib.optional isPy27 futures;

  checkInputs = [
    gevent
    mock
    pytestCheckHook
    six
    tornado
  ];

  meta = with lib; {
    homepage = "https://github.com/opentracing/opentracing-python";
    description = "Platform API for OpenTracing";
    license = licenses.asl20;
    maintainers = with maintainers; [ rakesh4g ];
  };
}