1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-recoveryservicesbackup";
14 version = "9.1.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-Hp/UBsDJ7iYn9aNx8BL4dzQvf8bzOyVk/NFNbwZjzQ8=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 azure-common
28 azure-mgmt-core
29 isodate
30 ];
31
32 # Module has no tests
33 doCheck = false;
34
35 pythonImportsCheck = [ "azure.mgmt.recoveryservicesbackup" ];
36
37 meta = with lib; {
38 description = "This is the Microsoft Azure Recovery Services Backup Management Client Library";
39 homepage = "https://github.com/Azure/azure-sdk-for-python";
40 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-recoveryservicesbackup_${version}/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/CHANGELOG.md";
41 license = licenses.mit;
42 maintainers = with maintainers; [ maxwilson ];
43 };
44}