1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 msrest,
7 azure-common,
8 azure-mgmt-core,
9}:
10
11buildPythonPackage rec {
12 pname = "azure-mgmt-msi";
13 version = "7.0.0";
14
15 disabled = pythonOlder "3.6";
16
17 format = "setuptools";
18
19 src = fetchPypi {
20 inherit pname version;
21 extension = "zip";
22 hash = "sha256-ctRsmmJ4PsTqthm+nRt4/+u9qhZNQG/TA/FjA/NyVrI=";
23 };
24
25 propagatedBuildInputs = [
26 msrest
27 azure-common
28 azure-mgmt-core
29 ];
30
31 pythonNamespaces = [ "azure.mgmt" ];
32
33 # has no tests
34 doCheck = false;
35
36 pythonImportsCheck = [ "azure.mgmt.msi" ];
37
38 meta = with lib; {
39 description = "This is the Microsoft Azure MSI Management Client Library";
40 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/resources/azure-mgmt-msi";
41 license = licenses.mit;
42 maintainers = with maintainers; [ maxwilson ];
43 };
44}