1{ lib 2, azure-common 3, azure-mgmt-core 4, buildPythonPackage 5, fetchPypi 6, isodate 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "azure-mgmt-cosmosdb"; 12 version = "9.3.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-02DisUN2/auBDhPgE9aUvEvYwoQUQC4NYGD/PQZOl/Y="; 20 }; 21 22 propagatedBuildInputs = [ 23 isodate 24 azure-common 25 azure-mgmt-core 26 ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "azure.mgmt.cosmosdb" 33 ]; 34 35 meta = with lib; { 36 description = "Module to work with the Microsoft Azure Cosmos DB Management"; 37 homepage = "https://github.com/Azure/azure-sdk-for-python"; 38 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cosmosdb_${version}/sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ maxwilson ]; 41 }; 42}