c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
41 lines
842 B
Nix
41 lines
842 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, azure-common
|
|
, azure-mgmt-core
|
|
, msrest
|
|
, msrestazure
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.2.0";
|
|
pname = "azure-mgmt-imagebuilder";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-XmGIzw+yGYgdaNGZJClFRl531BGsQUH+HESUXGVK6TI=";
|
|
extension = "zip";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-common
|
|
azure-mgmt-core
|
|
msrest
|
|
msrestazure
|
|
];
|
|
|
|
# no tests included
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"azure.common"
|
|
"azure.mgmt.core"
|
|
"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 ];
|
|
};
|
|
}
|