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