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