1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 azure-common, 6 azure-mgmt-core, 7 isodate, 8 pythonOlder, 9 typing-extensions, 10}: 11 12buildPythonPackage rec { 13 pname = "azure-mgmt-batchai"; 14 version = "7.0.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit version; 21 pname = "azure_mgmt_batchai"; 22 hash = "sha256-XfAE/QyST8ZVlJR6nP9Pdgh97hfIhFM6G7sLINsn06M="; 23 }; 24 25 propagatedBuildInputs = [ 26 isodate 27 azure-common 28 azure-mgmt-core 29 ] 30 ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; 31 32 pythonNamespaces = [ "azure.mgmt" ]; 33 34 # has no tests 35 doCheck = false; 36 37 meta = with lib; { 38 description = "This is the Microsoft Azure Batch AI Management Client Library"; 39 homepage = "https://github.com/Azure/azure-sdk-for-python"; 40 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-batchai_${version}/sdk/batchai/azure-mgmt-batchai/CHANGELOG.md"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ maxwilson ]; 43 }; 44}