1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 azure-common,
7 azure-mgmt-core,
8 isodate,
9 setuptools,
10 typing-extensions,
11}:
12
13buildPythonPackage rec {
14 pname = "azure-mgmt-containerregistry";
15 version = "14.0.0";
16 pyproject = true;
17
18 disabled = pythonOlder "3.8";
19
20 src = fetchPypi {
21 pname = "azure_mgmt_containerregistry";
22 inherit version;
23 hash = "sha256-c4PxxVR7z/525BHt2CUNVcNM3fXvaATVh1wWPMpmxLU=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 azure-common
30 azure-mgmt-core
31 isodate
32 typing-extensions
33 ];
34
35 # no tests included
36 doCheck = false;
37
38 pythonImportsCheck = [
39 "azure.common"
40 "azure.mgmt.containerregistry"
41 ];
42
43 meta = with lib; {
44 description = "Microsoft Azure Container Registry Client Library for Python";
45 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerregistry/azure-mgmt-containerregistry";
46 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerregistry_${version}/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md";
47 license = licenses.mit;
48 maintainers = [ ];
49 };
50}