summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/msal/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/msal/default.nix')
-rw-r--r--pkgs/development/python-modules/msal/default.nix28
1 files changed, 12 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/msal/default.nix b/pkgs/development/python-modules/msal/default.nix
index a736cffb9b30..40e2abe609e5 100644
--- a/pkgs/development/python-modules/msal/default.nix
+++ b/pkgs/development/python-modules/msal/default.nix
@@ -1,11 +1,12 @@
-{ lib
-, cryptography
-, buildPythonPackage
-, fetchPypi
-, pyjwt
-, pythonOlder
-, requests
-, setuptools
+{
+ lib,
+ cryptography,
+ buildPythonPackage,
+ fetchPypi,
+ pyjwt,
+ pythonOlder,
+ requests,
+ setuptools,
}:
buildPythonPackage rec {
@@ -20,24 +21,19 @@ buildPythonPackage rec {
hash = "sha256-gLur40Vny3NO/S7BhpstmBlcknRVNp2Ad7PFQgiMXJ0=";
};
- nativeBuildInputs = [
- setuptools
- ];
+ nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
cryptography
pyjwt
requests
- ]
- ++ pyjwt.optional-dependencies.crypto;
+ ] ++ 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"
- ];
+ pythonImportsCheck = [ "msal" ];
meta = with lib; {
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";