Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, azure-common 5, azure-core 6, cryptography 7, mock 8, msal 9, msal-extensions 10, msrest 11, msrestazure 12, pythonOlder 13, six 14}: 15 16buildPythonPackage rec { 17 pname = "azure-identity"; 18 version = "1.13.0"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.6"; 22 23 src = fetchPypi { 24 inherit pname version; 25 extension = "zip"; 26 hash = "sha256-yTHCcwH/qGsHtNz1dOKdpz4966mrXR/k9EW7ajEX4mA="; 27 }; 28 29 propagatedBuildInputs = [ 30 azure-common 31 azure-core 32 cryptography 33 mock 34 msal 35 msal-extensions 36 msrest 37 msrestazure 38 six 39 ]; 40 41 pythonImportsCheck = [ 42 "azure.identity" 43 ]; 44 45 # Requires checkout from mono-repo and a mock account: 46 # https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/tests.yml 47 doCheck = false; 48 49 meta = with lib; { 50 description = "Microsoft Azure Identity Library for Python"; 51 homepage = "https://github.com/Azure/azure-sdk-for-python"; 52 license = licenses.mit; 53 maintainers = with maintainers; [ kamadorueda ]; 54 }; 55}