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 = "33.0.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-o8wP5PCcjh01I8G/uSYg3+JjoKiTsKwToz1wV+nd3dI=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 azure-mgmt-common
28 azure-mgmt-core
29 isodate
30 ];
31
32 pythonNamespaces = [ "azure.mgmt" ];
33
34 # Module has no tests
35 doCheck = false;
36
37 pythonImportsCheck = [ "azure.mgmt.compute" ];
38
39 meta = with lib; {
40 description = "This is the Microsoft Azure Compute Management Client Library";
41 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/compute/azure-mgmt-compute";
42 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-compute_${version}/sdk/compute/azure-mgmt-compute/CHANGELOG.md";
43 license = licenses.mit;
44 maintainers = with maintainers; [
45 olcai
46 maxwilson
47 ];
48 };
49}