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