1{ buildPythonPackage
2, fetchPypi
3, lib
4
5# pythonPackages
6, pyjwt
7, requests
8}:
9
10buildPythonPackage rec {
11 pname = "msal";
12 version = "1.4.3";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "51b8e8e0d918d9b4813f006324e7c4e21eb76268dd4c1a06d811a3475ad4ac57";
17 };
18
19 propagatedBuildInputs = [
20 pyjwt
21 requests
22 ];
23
24 # Tests assume Network Connectivity:
25 # https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/e2958961e8ec16d0af4199f60c36c3f913497e48/tests/test_authority.py#L73
26 doCheck = false;
27
28 meta = with lib; {
29 description = "The Microsoft Authentication Library (MSAL) for Python library enables your app 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";
30 homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python";
31 license = licenses.mit;
32 maintainers = with maintainers; [
33 kamadorueda
34 ];
35 };
36}