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-redhatopenshift";
14 version = "2.0.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 pname = "azure_mgmt_redhatopenshift";
21 inherit version;
22 hash = "sha256-nTBKy7p8n0JWEmn3ByEKranHteoJkPJyLfYFmaCOOq4=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [
28 isodate
29 azure-common
30 azure-mgmt-core
31 ];
32
33 pythonNamespaces = "azure.mgmt";
34
35 # Module has no tests
36 doCheck = false;
37
38 pythonImportsCheck = [ "azure.mgmt.redhatopenshift" ];
39
40 meta = with lib; {
41 description = "Microsoft Azure Red Hat Openshift Management Client Library for Python";
42 homepage = "https://github.com/Azure/azure-sdk-for-python";
43 license = licenses.mit;
44 maintainers = [ ];
45 };
46}