2019-04-29 22:56:53 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
, azure-common
|
2021-06-09 21:05:43 +00:00
|
|
|
, azure-mgmt-core
|
2022-05-07 14:01:43 +00:00
|
|
|
, pythonOlder
|
2019-04-29 22:56:53 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-recoveryservicesbackup";
|
2023-01-31 09:11:44 +00:00
|
|
|
version = "5.1.0";
|
2022-05-07 14:01:43 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2019-04-29 22:56:53 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2023-01-31 09:11:44 +00:00
|
|
|
hash = "sha256-xl+KbNGceJWFvJKH8Aw02Ho+wMAxvxPZ4T09Qimn7OU=";
|
2019-04-29 22:56:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
azure-common
|
2021-06-09 21:05:43 +00:00
|
|
|
azure-mgmt-core
|
2019-04-29 22:56:53 +00:00
|
|
|
];
|
|
|
|
|
2022-05-07 14:01:43 +00:00
|
|
|
# Module has no tests
|
2019-04-29 22:56:53 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2022-05-07 14:01:43 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.mgmt.recoveryservicesbackup"
|
|
|
|
];
|
2021-08-27 01:11:45 +00:00
|
|
|
|
2019-04-29 22:56:53 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Recovery Services Backup Management Client Library";
|
2019-10-19 16:47:11 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 22:56:53 +00:00
|
|
|
license = licenses.mit;
|
2020-11-15 14:35:46 +00:00
|
|
|
maintainers = with maintainers; [ maxwilson ];
|
2019-04-29 22:56:53 +00:00
|
|
|
};
|
|
|
|
}
|