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";
|
2022-12-30 19:12:57 +00:00
|
|
|
version = "29.0.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";
|
2022-12-30 19:12:57 +00:00
|
|
|
hash = "sha256-wkRmH/3MMxeTZr7KQMZQbjPHs2GSxAjJFZlSp75pUPI=";
|
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
|
|
|
};
|
|
|
|
}
|