2019-04-29 21:22:42 +00:00
|
|
|
{ lib
|
2018-10-10 16:26:06 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, azure-mgmt-common
|
2020-09-28 17:14:37 +00:00
|
|
|
, azure-mgmt-core
|
2022-06-10 17:43:25 +00:00
|
|
|
, pythonOlder
|
2018-10-10 16:26:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-compute";
|
2023-01-19 09:04:01 +00:00
|
|
|
version = "29.1.0";
|
2022-06-10 17:43:25 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2018-10-10 16:26:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2023-01-19 09:04:01 +00:00
|
|
|
hash = "sha256-LVobrn9dMHyh6FDX6D/tnIOdT2NbEKS40/i8YJisKIg=";
|
2018-10-10 16:26:06 +00:00
|
|
|
};
|
|
|
|
|
2019-04-29 21:22:42 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-mgmt-common
|
2020-09-28 17:14:37 +00:00
|
|
|
azure-mgmt-core
|
2019-04-29 21:22:42 +00:00
|
|
|
];
|
2018-10-10 16:26:06 +00:00
|
|
|
|
2022-06-10 17:43:25 +00:00
|
|
|
pythonNamespaces = [
|
|
|
|
"azure.mgmt"
|
|
|
|
];
|
2020-03-17 22:43:56 +00:00
|
|
|
|
2019-04-29 21:22:42 +00:00
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-06-10 17:43:25 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.mgmt.compute"
|
|
|
|
];
|
2021-08-27 03:30:04 +00:00
|
|
|
|
2019-04-29 21:22:42 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Compute Management Client Library";
|
2019-10-19 16:47:11 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 21:22:42 +00:00
|
|
|
license = licenses.mit;
|
2020-11-15 14:35:46 +00:00
|
|
|
maintainers = with maintainers; [ olcai maxwilson ];
|
2018-10-10 16:26:06 +00:00
|
|
|
};
|
|
|
|
}
|