Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 44 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 msal, 6 portalocker, 7 setuptools, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "msal-extensions"; 13 version = "1.2.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "AzureAD"; 20 repo = "microsoft-authentication-extensions-for-python"; 21 rev = "refs/tags/${version}"; 22 hash = "sha256-javYE1XDW1yrMZ/BLqIu/pUXChlBZlACctbD2RfWuis="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 msal 29 portalocker 30 ]; 31 32 # No tests found 33 doCheck = false; 34 35 pythonImportsCheck = [ "msal_extensions" ]; 36 37 meta = with lib; { 38 description = "Microsoft Authentication Library Extensions (MSAL-Extensions) for Python"; 39 homepage = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python"; 40 changelog = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python/releases/tag/${version}"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ kamadorueda ]; 43 }; 44}