Commit 994b2abd authored by Robert Schütz's avatar Robert Schütz
Browse files

python311Packages.azure-monitor-ingestion: init at 1.0.2

parent bc36950f
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, azure-core
, isodate
, typing-extensions
}:

buildPythonPackage rec {
  pname = "azure-monitor-ingestion";
  version = "1.0.2";

  disabled = pythonOlder "3.7";

  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    hash = "sha256-xNpYsD1bMIM0Bxy8KtR4rYy4tzfddtoPnEzHfO44At8=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    azure-core
    isodate
    typing-extensions
  ];

  pythonImportsCheck = [
    "azure.monitor.ingestion"
    "azure.monitor.ingestion.aio"
  ];

  # requires checkout from mono-repo and a mock account
  doCheck = false;

  meta = {
    changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-monitor-ingestion_${version}/sdk/monitor/azure-monitor-ingestion/CHANGELOG.md";
    description = "Send custom logs to Azure Monitor using the Logs Ingestion API";
    homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-ingestion";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1203,6 +1203,8 @@ self: super: with self; {
  azure-mgmt-web = callPackage ../development/python-modules/azure-mgmt-web { };
  azure-monitor-ingestion = callPackage ../development/python-modules/azure-monitor-ingestion { };
  azure-multiapi-storage = callPackage ../development/python-modules/azure-multiapi-storage { };
  azure-nspkg = callPackage ../development/python-modules/azure-nspkg { };