1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 azure-core, 6 azure-identity, 7 opencensus, 8 psutil, 9 requests, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "opencensus-ext-azure"; 15 version = "1.1.14"; 16 pyproject = true; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-ycbrrVQq62GBMyLmJ9WImlY+e4xOAkv1hGnQbbc6sUg="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 azure-core 27 azure-identity 28 opencensus 29 psutil 30 requests 31 ]; 32 33 pythonImportsCheck = [ "opencensus.ext.azure" ]; 34 35 doCheck = false; # tests are not included in the PyPi tarball 36 37 meta = with lib; { 38 homepage = "https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-azure"; 39 description = "OpenCensus Azure Monitor Exporter"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ 42 billhuang 43 evilmav 44 ]; 45 }; 46}