10 opencensus-context = buildPythonPackage rec {
11 pname = "opencensus-context";
14 checkInputs = [ unittestCheckHook ];
17 inherit pname version;
18 sha256 = "sha256-oDEIw8ENjIC7Xd9cih8DMWH6YZcqmRf5ubOhhRfwCIw=";
22 buildPythonPackage rec {
27 inherit pname version;
28 sha256 = "sha256-AmIWq6uJ2U2FBJLz3GWVAFXsT4QRX6bHvq/7pEo0bkI=";
32 # opencensus-context is embedded in opencensus
36 propagatedBuildInputs = [
41 ln -sf ${opencensus-context}/${python.sitePackages}/opencensus/common/runtime_context \
42 $out/${python.sitePackages}/opencensus/common/
45 checkInputs = [ unittestCheckHook ];
47 pythonImportsCheck = [ "opencensus" ];
50 description = "A stats collection and distributed tracing framework";
51 homepage = "https://github.com/census-instrumentation/opencensus-python";
52 license = licenses.asl20;
53 maintainers = with maintainers; [ billhuang ];