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