2020-05-03 17:38:23 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
, azure-common
|
2021-05-28 09:39:13 +00:00
|
|
|
, azure-mgmt-core
|
2020-05-03 17:38:23 +00:00
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-05-28 09:39:13 +00:00
|
|
|
version = "1.0.0";
|
2020-05-03 17:38:23 +00:00
|
|
|
pname = "azure-mgmt-redhatopenshift";
|
|
|
|
disabled = isPy27; # don't feel like fixing namespace issues on python2
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2021-05-28 09:39:13 +00:00
|
|
|
sha256 = "94cd41f1ebd82e40620fd3e6d88f666b5c19ac7cf8b4e8edadb9721bd7c80980";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
azure-common
|
2021-05-28 09:39:13 +00:00
|
|
|
azure-mgmt-core
|
2020-05-03 17:38:23 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonNamespaces = "azure.mgmt";
|
|
|
|
|
|
|
|
# no included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.redhatopenshift" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure Red Hat Openshift Management Client Library for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|