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