Commit 51883930 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.microsoft-kiota-authentication-azure: init at 1.0.0

parent 67390d0b
Loading
Loading
Loading
Loading
+59 −0
Original line number Diff line number Diff line
{ lib
, aiohttp
, azure-core
, buildPythonPackage
, fetchFromGitHub
, flit-core
, microsoft-kiota-abstractions
, opentelemetry-api
, opentelemetry-sdk
, pytest-asyncio
, pytest-mock
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "microsoft-kiota-authentication-azure";
  version = "1.0.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "microsoft";
    repo = "kiota-authentication-azure-python";
    rev = "refs/tags/v${version}";
    hash = "sha256-RA0BbIwDs3cXiH4tQsvCGUO1OAg+DWjEeWd7MEVIC8E=";
  };

  nativeBuildInputs = [
    flit-core
  ];

  propagatedBuildInputs = [
    aiohttp
    azure-core
    microsoft-kiota-abstractions
    opentelemetry-api
    opentelemetry-sdk
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytest-mock
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "kiota_authentication_azure"
  ];

  meta = with lib; {
    description = "Kiota Azure authentication provider";
    homepage = "https://github.com/microsoft/kiota-authentication-azure-python";
    changelog = "https://github.com/microsoft/kiota-authentication-azure-python/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -7182,6 +7182,8 @@ self: super: with self; {
  microsoft-kiota-abstractions = callPackage ../development/python-modules/microsoft-kiota-abstractions { };
  microsoft-kiota-authentication-azure = callPackage ../development/python-modules/microsoft-kiota-authentication-azure { };
  midiutil = callPackage ../development/python-modules/midiutil { };
  mido = callPackage ../development/python-modules/mido { };