depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-hanaonazure/default.nix

40 lines
850 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
msrest,
msrestazure,
azure-common,
azure-mgmt-core,
azure-mgmt-nspkg,
isPy3k,
}:
buildPythonPackage rec {
pname = "azure-mgmt-hanaonazure";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "f2f8342fbfded8be4165fb0d6f010b68df074886811db3e2c9a50b360ee2dd3a";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
azure-mgmt-core
] ++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ];
# has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure SAP Hana on Azure Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}