1{ lib, buildPythonPackage, fetchPypi, pythonOlder 2, azure-core 3, msrest 4, msrestazure 5}: 6 7buildPythonPackage rec { 8 pname = "azure-containerregistry"; 9 version = "1.0.0"; 10 disabled = pythonOlder "3.6"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-DIZCHZM5aeKtmJrgwAk5J26ltaxNxKUn3rR+FbmuyZc="; 15 extension = "zip"; 16 }; 17 18 propagatedBuildInputs = [ azure-core msrest msrestazure ]; 19 20 # tests require azure-devtools which are not published (since 2020) 21 # https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/dev_requirements.txt 22 doCheck = false; 23 24 pythonImportsCheck = [ "azure.core" "azure.containerregistry" ]; 25 26 meta = with lib; { 27 description = "Microsoft Azure Container Registry client library for Python"; 28 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerregistry/azure-containerregistry"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ peterromfeldhk ]; 31 }; 32}