1{ lib, buildPythonPackage, fetchPypi, isPy27
2, azure-common
3, azure-mgmt-core
4, msrest
5, msrestazure
6}:
7
8buildPythonPackage rec {
9 version = "1.2.0";
10 pname = "azure-mgmt-imagebuilder";
11 disabled = isPy27;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-XmGIzw+yGYgdaNGZJClFRl531BGsQUH+HESUXGVK6TI=";
16 extension = "zip";
17 };
18
19 propagatedBuildInputs = [
20 azure-common
21 azure-mgmt-core
22 msrest
23 msrestazure
24 ];
25
26 # no tests included
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "azure.common"
31 "azure.mgmt.core"
32 "azure.mgmt.imagebuilder"
33 ];
34
35 meta = with lib; {
36 description = "Microsoft Azure Image Builder Client Library for Python";
37 homepage = "https://github.com/Azure/azure-sdk-for-python";
38 license = licenses.mit;
39 maintainers = with maintainers; [ jonringer ];
40 };
41}