1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-imagebuilder";
14 version = "1.4.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.9";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-5sLVc6vvJiIvwUSRgD1MsB+G/GEpLUz3xHKetLrkiRw=";
22 };
23
24 nativeBuildInputs = [ setuptools ];
25
26 propagatedBuildInputs = [
27 azure-common
28 azure-mgmt-core
29 isodate
30 ];
31
32 # No tests included
33 doCheck = false;
34
35 pythonImportsCheck = [
36 "azure.common"
37 "azure.mgmt.core"
38 "azure.mgmt.imagebuilder"
39 ];
40
41 meta = with lib; {
42 description = "Microsoft Azure Image Builder Client Library for Python";
43 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/compute/azure-mgmt-imagebuilder";
44 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-imagebuilder_${version}/sdk/compute/azure-mgmt-imagebuilder/CHANGELOG.md";
45 license = licenses.mit;
46 maintainers = [ ];
47 };
48}