02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
43 lines
871 B
Nix
43 lines
871 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, msrest
|
|
, azure-common
|
|
, azure-mgmt-core
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-mgmt-msi";
|
|
version = "6.1.0";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
sha256 = "sha256-lS8da3Al1z1pMLDBf6ZtWc1UFUVgkN1qpKTxt4VXdlQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
msrest
|
|
azure-common
|
|
azure-mgmt-core
|
|
];
|
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.msi" ];
|
|
|
|
meta = with lib; {
|
|
description = "This is the Microsoft Azure MSI Management Client Library";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/resources/azure-mgmt-msi";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ maxwilson ];
|
|
};
|
|
}
|