Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, cryptography, buildPythonPackage, fetchPypi, pyjwt, requests, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "msal"; version = "1.38.0"; pyproject = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-TxD/Ele6z9F4HyLoW9K41DrRtJDztqr9eQZnHK3t1GQ="; };
build-system = [ setuptools ];
dependencies = [ cryptography pyjwt requests ] ++ pyjwt.optional-dependencies.crypto;
# Tests assume Network Connectivity: # https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/e2958961e8ec16d0af4199f60c36c3f913497e48/tests/test_authority.py#L73 doCheck = false;
pythonImportsCheck = [ "msal" ];
meta = { description = "Library to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts (AAD) and Microsoft Accounts (MSA) using industry standard OAuth2 and OpenID Connect"; homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python"; changelog = "https://github.com/AzureAD/microsoft-authentication-library-for-python/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ ]; };})