1{ 2 buildPythonPackage, 3 fetchPypi, 4 lib, 5 google-api-core, 6 opencensus-context, 7}: 8 9buildPythonPackage rec { 10 pname = "opencensus"; 11 version = "0.11.4"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-y++H2Lh3MGSrYOXCoc7Vi7qjim0FLEGuwiSVjOVE7/I="; 17 }; 18 19 propagatedBuildInputs = [ 20 google-api-core 21 opencensus-context 22 ]; 23 24 pythonNamespaces = [ "opencensus.common" ]; 25 26 doCheck = false; # No tests in sdist 27 28 pythonImportsCheck = [ "opencensus.common" ]; 29 30 meta = with lib; { 31 description = "Stats collection and distributed tracing framework"; 32 homepage = "https://github.com/census-instrumentation/opencensus-python"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ billhuang ]; 35 }; 36}