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