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