Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 39 lines 747 B view raw
1{ buildPythonPackage 2, fetchPypi 3, lib 4, isPy27 5 6# pythonPackages 7, msal 8, pathlib2 9, portalocker 10}: 11 12buildPythonPackage rec { 13 pname = "msal-extensions"; 14 version = "0.3.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "0qbq5qn46053aclpwyzac5zs2xgqirn4hwrf1plrg0m8bnhxy8sm"; 19 }; 20 21 propagatedBuildInputs = [ 22 msal 23 portalocker 24 ] ++ lib.optionals isPy27 [ 25 pathlib2 26 ]; 27 28 # No tests found 29 doCheck = false; 30 31 meta = with lib; { 32 description = "The Microsoft Authentication Library Extensions (MSAL-Extensions) for Python"; 33 homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ 36 kamadorueda 37 ]; 38 }; 39}