2019-04-30 00:51:56 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2022-05-03 04:04:29 +02:00
|
|
|
, pythonOlder
|
2019-04-30 00:51:56 +02:00
|
|
|
, fetchPypi
|
|
|
|
, msrest
|
|
|
|
, azure-common
|
2022-05-03 04:04:29 +02:00
|
|
|
, azure-mgmt-core
|
2019-04-30 00:51:56 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-msi";
|
2022-05-06 05:21:04 +02:00
|
|
|
version = "6.0.1";
|
2019-04-30 00:51:56 +02:00
|
|
|
|
2022-05-03 04:04:29 +02:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
format = "setuptools";
|
|
|
|
|
2019-04-30 00:51:56 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2022-05-06 05:21:04 +02:00
|
|
|
sha256 = "sha256-PPkQmUoBkJ8Su7h9G2/t8dVy/PT3uCYZjlf70fnY2vU=";
|
2019-04-30 00:51:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
msrest
|
|
|
|
azure-common
|
2022-05-03 04:04:29 +02:00
|
|
|
azure-mgmt-core
|
2019-04-30 00:51:56 +02:00
|
|
|
];
|
|
|
|
|
2020-03-17 23:43:56 +01:00
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
2019-10-24 18:06:26 +02:00
|
|
|
|
2019-04-30 00:51:56 +02:00
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-05-03 04:04:29 +02:00
|
|
|
pythonImportsCheck = [ "azure.mgmt.msi" ];
|
|
|
|
|
2019-04-30 00:51:56 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure MSI Management Client Library";
|
2022-05-03 04:04:29 +02:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/resources/azure-mgmt-msi";
|
2019-04-30 00:51:56 +02:00
|
|
|
license = licenses.mit;
|
2020-11-15 15:35:46 +01:00
|
|
|
maintainers = with maintainers; [ maxwilson ];
|
2019-04-30 00:51:56 +02:00
|
|
|
};
|
|
|
|
}
|