39 lines
791 B
Nix
39 lines
791 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, msrest
|
||
|
, msrestazure
|
||
|
, azure-common
|
||
|
, isPy3k
|
||
|
, azure-mgmt-nspkg
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "azure-mgmt-advisor";
|
||
|
version = "2.0.1";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
extension = "zip";
|
||
|
sha256 = "1929d6d5ba49d055fdc806e981b93cf75ea42ba35f78222aaf42d8dcf29d4ef3";
|
||
|
};
|
||
|
|
||
|
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 Advisor Client Library";
|
||
|
homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-advisor;
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ mwilsoninsight ];
|
||
|
};
|
||
|
}
|