1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 azure-core, 7 msrest, 8 msrestazure, 9 isodate, 10}: 11 12buildPythonPackage rec { 13 pname = "azure-containerregistry"; 14 version = "1.2.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-Ss0ygh0IZVPqvV3f7Lsh+5FbXRPvg3XRWvyyyAvclqM="; 22 extension = "zip"; 23 }; 24 25 propagatedBuildInputs = [ 26 azure-core 27 msrest 28 msrestazure 29 isodate 30 ]; 31 32 # tests require azure-devtools which are not published (since 2020) 33 # https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/dev_requirements.txt 34 doCheck = false; 35 36 pythonImportsCheck = [ 37 "azure.core" 38 "azure.containerregistry" 39 ]; 40 41 meta = with lib; { 42 description = "Microsoft Azure Container Registry client library for Python"; 43 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerregistry/azure-containerregistry"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ peterromfeldhk ]; 46 }; 47}