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