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