1{ lib
2, buildPythonPackage
3, fetchPypi
4, msrest
5, msrestazure
6, azure-common
7, azure-mgmt-core
8, isPy27
9}:
10
11buildPythonPackage rec {
12 version = "1.0.0";
13 pname = "azure-mgmt-redhatopenshift";
14 disabled = isPy27; # don't feel like fixing namespace issues on python2
15
16 src = fetchPypi {
17 inherit pname version;
18 extension = "zip";
19 sha256 = "94cd41f1ebd82e40620fd3e6d88f666b5c19ac7cf8b4e8edadb9721bd7c80980";
20 };
21
22 propagatedBuildInputs = [
23 msrest
24 msrestazure
25 azure-common
26 azure-mgmt-core
27 ];
28
29 pythonNamespaces = "azure.mgmt";
30
31 # no included
32 doCheck = false;
33
34 pythonImportsCheck = [ "azure.mgmt.redhatopenshift" ];
35
36 meta = with lib; {
37 description = "Microsoft Azure Red Hat Openshift Management Client Library for Python";
38 homepage = "https://github.com/Azure/azure-sdk-for-python";
39 license = licenses.mit;
40 maintainers = with maintainers; [ jonringer ];
41 };
42}