1{ lib
2, buildPythonPackage
3, fetchPypi
4, python
5, msrest
6, msrestazure
7, azure-common
8, isPy27
9}:
10
11buildPythonPackage rec {
12 version = "0.1.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 = "1g65lbia1i1jw6qkyjz2ldyl3p90rbr78l8kfryg70sj7z3gnnjn";
20 };
21
22 propagatedBuildInputs = [
23 msrest
24 msrestazure
25 azure-common
26 ];
27
28 pythonNamespaces = "azure.mgmt";
29
30 # no included
31 doCheck = false;
32
33 pythonImportsCheck = [ "azure.mgmt.redhatopenshift" ];
34
35 meta = with lib; {
36 description = "Microsoft Azure Red Hat Openshift Management Client Library for Python";
37 homepage = "https://github.com/Azure/azure-sdk-for-python";
38 license = licenses.mit;
39 maintainers = with maintainers; [ jonringer ];
40 };
41}