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-appcontainers"; 15 version = "3.2.0"; 16 format = "setuptools"; 17 pyroject = true; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 pname = "azure_mgmt_appcontainers"; 23 inherit version; 24 hash = "sha256-bp7WPCwssPZD+tZ52BMIxKomFWztQfwDPl9MBJghjz4="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 azure-common 31 azure-mgmt-core 32 isodate 33 ] 34 ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; 35 36 # no tests included 37 doCheck = false; 38 39 pythonImportsCheck = [ "azure.mgmt.appcontainers" ]; 40 41 meta = with lib; { 42 description = "Microsoft Azure Appcontainers Management Client Library for Python"; 43 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appcontainers/azure-mgmt-appcontainers"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ jfroche ]; 46 }; 47}