2019-10-23 07:09:53 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, azure-common
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-02 23:23:24 +01:00
|
|
|
version = "0.4.0";
|
2019-10-23 07:09:53 +01:00
|
|
|
pname = "azure-mgmt-imagebuilder";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-02 23:23:24 +01:00
|
|
|
sha256 = "4c9291bf16b40b043637e5e4f15650f71418ac237393e62219cab478a7951733";
|
2019-10-23 07:09:53 +01:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
|
|
|
|
|
|
|
# no tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.common" "azure.mgmt.imagebuilder" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure Image Builder Client Library for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|