forked from mirrors/nixpkgs
39 lines
816 B
Nix
39 lines
816 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, msrest
|
||
|
, msrestazure
|
||
|
, azure-common
|
||
|
, azure-mgmt-nspkg
|
||
|
, isPy3k
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "azure-mgmt-hanaonazure";
|
||
|
version = "0.6.0";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
extension = "zip";
|
||
|
sha256 = "1spsy6g5z4nb1y1gfz0p1ykybi76qbig8j22zvmws59329b3br5h";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
msrest
|
||
|
msrestazure
|
||
|
azure-common
|
||
|
] ++ 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://docs.microsoft.com/en-us/python/api/overview/azure/hanaonazure?view=azure-python;
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ mwilsoninsight ];
|
||
|
};
|
||
|
}
|