2019-04-29 23:04:08 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
msrest,
|
|
|
|
msrestazure,
|
|
|
|
azure-common,
|
2021-01-12 00:19:24 +00:00
|
|
|
azure-mgmt-core,
|
2019-04-29 23:04:08 +00:00
|
|
|
azure-mgmt-nspkg,
|
|
|
|
isPy3k,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-subscription";
|
2022-09-14 21:36:03 +00:00
|
|
|
version = "3.1.1";
|
2023-12-07 03:53:02 +00:00
|
|
|
format = "setuptools";
|
2019-04-29 23:04:08 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-TiVbTOm5JDV7uMUAmzyIogFNMgOySV4iVvoCe/hOgA4=";
|
2019-04-29 23:04:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-01-12 00:19:24 +00:00
|
|
|
azure-common
|
|
|
|
azure-mgmt-core
|
2019-04-29 23:04:08 +00:00
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
] ++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ];
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
2021-01-12 00:19:24 +00:00
|
|
|
pythonImportsCheck = [ "azure.mgmt.subscription" ];
|
2019-04-29 23:04:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Subscription Management Client Library";
|
2019-10-19 16:47:11 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 23:04:08 +00:00
|
|
|
license = licenses.mit;
|
2020-11-15 14:35:46 +00:00
|
|
|
maintainers = with maintainers; [ maxwilson ];
|
2019-04-29 23:04:08 +00:00
|
|
|
};
|
|
|
|
}
|