12 buildPythonPackage rec {
13 pname = "msal-extensions";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
21 repo = "microsoft-authentication-extensions-for-python";
23 hash = "sha256-javYE1XDW1yrMZ/BLqIu/pUXChlBZlACctbD2RfWuis=";
26 build-system = [ setuptools ];
28 pythonRelaxDeps = [ "portalocker" ];
35 nativeCheckInputs = [ pytestCheckHook ];
38 # `from gi.repository import Secret` fails to find libsecret
39 "test_token_cache_roundtrip_with_persistence_builder"
40 "test_libsecret_persistence"
41 "test_nonexistent_libsecret_persistence"
44 pythonImportsCheck = [ "msal_extensions" ];
47 description = "Microsoft Authentication Library Extensions (MSAL-Extensions) for Python";
48 homepage = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python";
49 changelog = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python/releases/tag/${version}";
50 license = licenses.mit;
51 maintainers = with maintainers; [ kamadorueda ];