1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 azure-common,
7 azure-mgmt-core,
8 isodate,
9}:
10
11buildPythonPackage rec {
12 pname = "azure-mgmt-containerregistry";
13 version = "10.3.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-riFlGFXfsZxC2R1rOpZcbGEeI/i8S/cTiDXmUtL5GOM=";
21 };
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.containerregistry"
35 ];
36
37 meta = with lib; {
38 description = "Microsoft Azure Container Registry Client Library for Python";
39 homepage = "https://github.com/Azure/azure-sdk-for-python";
40 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerregistry_${version}/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md";
41 license = licenses.mit;
42 maintainers = with maintainers; [ jonringer ];
43 };
44}