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