1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 azure-core, 7 cryptography, 8 msal, 9 msal-extensions, 10}: 11 12buildPythonPackage rec { 13 pname = "azure-identity"; 14 version = "1.16.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-b/HWZ83Ngdoc6rQvgKC+Y8qEZin1GKki9zF6fjyEThs="; 22 }; 23 24 propagatedBuildInputs = [ 25 azure-core 26 cryptography 27 msal 28 msal-extensions 29 ]; 30 31 pythonImportsCheck = [ "azure.identity" ]; 32 33 # Requires checkout from mono-repo and a mock account: 34 # https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/tests.yml 35 doCheck = false; 36 37 meta = with lib; { 38 description = "Microsoft Azure Identity Library for Python"; 39 homepage = "https://github.com/Azure/azure-sdk-for-python"; 40 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-identity_${version}/sdk/identity/azure-identity/CHANGELOG.md"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ kamadorueda ]; 43 }; 44}