1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, azure-common
6, azure-mgmt-core
7, isodate
8}:
9
10buildPythonPackage rec {
11 pname = "azure-mgmt-containerregistry";
12 version = "10.2.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-i7i/5ofGxiF9/wTAPnUOaZ6FAgK3EaBqoHeSC8HuXCo=";
20 };
21
22 propagatedBuildInputs = [
23 azure-common
24 azure-mgmt-core
25 isodate
26 ];
27
28 # no tests included
29 doCheck = false;
30
31 pythonImportsCheck = [
32 "azure.common"
33 "azure.mgmt.containerregistry"
34 ];
35
36 meta = with lib; {
37 description = "Microsoft Azure Container Registry Client Library for Python";
38 homepage = "https://github.com/Azure/azure-sdk-for-python";
39 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerregistry_${version}/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md";
40 license = licenses.mit;
41 maintainers = with maintainers; [ jonringer ];
42 };
43}