fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
43 lines
873 B
Nix
43 lines
873 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
azure-core,
|
|
azure-identity,
|
|
opencensus,
|
|
psutil,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "opencensus-ext-azure";
|
|
version = "1.1.13";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-rsMEchdwBTebpWpwKgl9YYxfV1WOG7ZnbsdflIEwaSo=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-core
|
|
azure-identity
|
|
opencensus
|
|
psutil
|
|
requests
|
|
];
|
|
|
|
pythonImportsCheck = [ "opencensus.ext.azure" ];
|
|
|
|
doCheck = false; # tests are not included in the PyPi tarball
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-azure";
|
|
description = "OpenCensus Azure Monitor Exporter";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [
|
|
billhuang
|
|
evilmav
|
|
];
|
|
};
|
|
}
|