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.2.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 hash = "sha256-ZU4mKTzny9tsKDrFSU+lll5v6oDivYJlXDriWJLAYec=";
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}