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