python3Packages.opencensus-ext-azure: init at 1.1.9

This commit is contained in:
Ilya Elenskiy 2023-05-13 00:30:40 +02:00 committed by Ilya Elenskiy
parent f56547c565
commit 2ed439e02b
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, azure-core
, azure-identity
, opencensus
, psutil
, requests
}:
buildPythonPackage rec {
pname = "opencensus-ext-azure";
version = "1.1.9";
format = "setuptools";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
hash = "sha256-UHYIt36djqq2/9X/EbfOuH9U5KapQMS4FDMbTRsDQVE=";
};
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 ];
};
}

View File

@ -7036,6 +7036,8 @@ self: super: with self; {
opencensus-context = callPackage ../development/python-modules/opencensus-context { };
opencensus-ext-azure = callPackage ../development/python-modules/opencensus-ext-azure { };
opencontainers = callPackage ../development/python-modules/opencontainers { };
opencv3 = toPythonModule (pkgs.opencv3.override {