1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, futures ? null 6, gevent 7, mock 8, pytestCheckHook 9, tornado 10, six 11}: 12 13buildPythonPackage rec { 14 pname = "opentracing"; 15 version = "2.4.0"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "a173117e6ef580d55874734d1fa7ecb6f3655160b8b8974a2a1e98e5ec9c840d"; 21 }; 22 23 propagatedBuildInputs = lib.optional isPy27 futures; 24 25 checkInputs = [ 26 gevent 27 mock 28 pytestCheckHook 29 six 30 tornado 31 ]; 32 33 meta = with lib; { 34 homepage = "https://github.com/opentracing/opentracing-python"; 35 description = "Platform API for OpenTracing"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ rakesh4g ]; 38 }; 39}