43 lines
902 B
Nix
43 lines
902 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, msrest
|
|
, msrestazure
|
|
, azure-common
|
|
, azure-mgmt-core
|
|
, isPy27
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.2.0";
|
|
pname = "azure-mgmt-redhatopenshift";
|
|
disabled = isPy27; # don't feel like fixing namespace issues on python2
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
hash = "sha256-ZU4mKTzny9tsKDrFSU+lll5v6oDivYJlXDriWJLAYec=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
msrest
|
|
msrestazure
|
|
azure-common
|
|
azure-mgmt-core
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|